You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "korebantic (JIRA)" <xm...@xml.apache.org> on 2005/04/21 15:16:33 UTC

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

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


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


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

Posted by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org>.
     [ 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


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

Posted by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org>.
     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


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

Posted by "Cezar Andrei (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-147?page=all ]

Cezar Andrei reassigned XMLBEANS-147:
-------------------------------------

    Assign To: Wing Yew Poon  (was: Radu Preotiuc-Pietro)

> 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

>
> 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


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

Posted by "Lawrence Jones (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-147?page=all ]

Lawrence Jones reassigned XMLBEANS-147:
---------------------------------------

    Assign To: Radu Preotiuc-Pietro

> 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: Radu Preotiuc-Pietro

>
> 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


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

Posted by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-147?page=all ]
     
Wing Yew Poon resolved XMLBEANS-147:
------------------------------------

    Fix Version: Version 1.0.4 (jdk1.3 port)
     Resolution: Fixed

Should have updated this a while back.
The patch was accepted and checked in to /xmlbeans/branches/1.x-jdk1.3/bin by a developer on July 8 2005.




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