You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org> on 2005/07/08 02:26:14 UTC

[jira] Updated: (XMLBEANS-147) CLASSPATH set incorrectly in scripts

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

Wing Yew Poon updated XMLBEANS-147:
-----------------------------------

    Attachment: jira-xmlbeans-147-diff.txt

Patch for the cmd files.

Note: I did not change jaxbc.cmd and random.cmd. 
I think these two should be removed from the binary distribution.
On the first, there is no external\lib\jaxb-1.0\jaxb-api.jar.
On the second, this is for testing only, and not applicable for the binary distribution.


> 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
>  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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org