[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-230) [PATCH] Spaces in the path to the
From:       "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-06-27 22:48:30
Message-ID: 22687532.1151448510375.JavaMail.jira () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/XMLBEANS-230?page=comments#action_12418140 \
] 

Radu Preotiuc-Pietro commented on XMLBEANS-230:
-----------------------------------------------

Majik,
Check out that SVN release, or the freshly released XMLBeans 2.2.0, that's exactly \
what the new code does.

> [PATCH] Spaces in the path to the JDK installation cause compile to fail
> ------------------------------------------------------------------------
> 
> Key: XMLBEANS-230
> URL: http://issues.apache.org/jira/browse/XMLBEANS-230
> Project: XMLBeans
> Type: Bug

> Components: Compiler
> Versions: Version 2, Version 2.1
> Environment: Windows XP Pro SP2, java 1.5.0_05
> Reporter: Abraham Tehrani
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic