xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Danner (JIRA)" <xmlbeans-...@xml.apache.org>
Subject [jira] Resolved: (XMLBEANS-230) [PATCH] Spaces in the path to the JDK installation cause compile to fail
Date Wed, 14 Mar 2007 04:42:11 GMT

     [ https://issues.apache.org/jira/browse/XMLBEANS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacob Danner resolved XMLBEANS-230.
-----------------------------------

    Resolution: Fixed
      Assignee: Radu Preotiuc-Pietro

It looks like this has been fixed and there are notes on the FAQ for this.
Is anyone still have troubles with this, otherwise I suggest we close

> [PATCH] Spaces in the path to the JDK installation cause compile to fail
> ------------------------------------------------------------------------
>
>                 Key: XMLBEANS-230
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-230
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: Version 2, Version 2.1
>         Environment: Windows XP Pro SP2, java 1.5.0_05
>            Reporter: Abraham Tehrani
>         Assigned To: Radu Preotiuc-Pietro
>            Priority: Trivial
>             Fix For: Version 2, Version 2.1
>
>         Attachments: XMLBEANS-230.patch
>
>
> By default the new JDK installs into C:\Program Files\Java\jdk...
> If the location of your JDK has spaces in the path (default), compilation will fail.
The fix is the following to the file scomp.cmd file:
> Line 29: set cp=%cp%;"%JAVA_HOME%\lib\tools.jar" add the double quotes
> Line 32: "%JAVA_HOME%\bin\java" -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCompiler
%* added the double quotes and referenced the environment variable %JAVA_HOME%.
> Without those above fixes I could not get XMLBeans to compile, it would fail. It is also
possible that spaces in the XMLBEANS_LIB path might also cause it to fail. This only applies
to spaces in the JDK installation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


Mime
View raw message