[ http://issues.apache.org/jira/browse/XMLBEANS-147?page=all ]
     
Wing Yew Poon closed XMLBEANS-147:
----------------------------------


> CLASSPATH set incorrectly in scripts
> ------------------------------------
>
>          Key: XMLBEANS-147
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-147
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.4 (jdk1.3 port)
>  Environment: win2k
>     Reporter: korebantic
>     Assignee: Wing Yew Poon
>      Fix For: Version 1.0.4 (jdk1.3 port)
>  Attachments: jira-xmlbeans-147-diff.txt
>
> Scripts (scomp,xpretty,etc) incorrectly set the CLASSPATH. See the diff below:
> @@ -12,7 +12,7 @@
>  if EXIST %XMLBEANS_HOME%\build\ar\xbean.jar. (
>      set 
> cp=%XMLBEANS_HOME%\build\ar\xbean.jar;%XMLBEANS_HOME%\build\lib\xml-apis.jar;%XMLBEANS_HOME%\build\lib\xercesImpl.jar.
>  ) else if EXIST %XMLBEANS_HOME%\lib\xbean.jar. (
> -    set 
> cp=%XMLBEANS_HOME%\build\lib\xbean.jar;%XMLBEANS_HOME%\lib\xml-apis.jar;%XMLBEANS_HOME%\lib\xercesImpl.jar.
> +    set 
> cp=%XMLBEANS_HOME%\lib\xbean.jar;%XMLBEANS_HOME%\lib\xml-apis.jar;%XMLBEANS_HOME%\lib\xercesImpl.jar.
>  )
> In short, the classpath SHOULD be set to %XMLBEANS_HOME%\lib\xbean.jar NOT 
> %XMLBEANS_HOME%\build\lib\xbean.jar
> This is a very irritating bug given that the directions on 
> http://xmlbeans.apache.org/documentation/conInstallGuide.html instruct you to 
> add xmlbeans.jar to the classpath (shouldn't you really add the entire lib 
> directory to the classpath), as if that makes any difference. The fact is the 
> scripts completely override the classpath with their own settings.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to