Hi Ants,

in the Ant Distribution I got from the CVS I think I might have discovered a
bug in the java task. In the nightly build I was using before (24th of
December), the classpath passed to java when forking was the one specified
in the classpathref. The new build additionally prepends the complete Ant
classpath to the specified classpathref. Was this behaviour introduced
intentionally? Please find the vebose messages and buildfile snippets below.

Best Regards,

Daniel

---------

Buildfile Snippets:
        <path id="weblogic.class.path">
                <pathelement path="../../weblogic/lib/weblogic510sp8.jar"/>
                <pathelement path="../../application/fbs/classfiles"/>
                <pathelement path="../../lib/activation.jar"/>
                <pathelement path="../../lib/jakarta-regexp-1.1.jar"/>
                <pathelement path="../../lib/jaxp.jar"/>
                <pathelement path="../../lib/mail.jar"/>
                <pathelement path="../../lib/pop3.jar"/>
                <pathelement path="../../lib/xerces.jar"/>
                <pathelement path="../../lib/classes12.zip"/>
                <pathelement path="../../weblogic/license"/>
                <pathelement path="../../weblogic/classes"/>
                <pathelement path="../../weblogic/lib/weblogicaux.jar"/>
        </path>
        <property name="weblogic.class.path" refid="weblogic.class.path"/>
        <path id="weblogic.system.path">
                <pathelement path="../../weblogic/lib/weblogic510sp8boot.jar"/>
                <pathelement path="../../weblogic/classes/boot"/>
        </path>

        <snip/>

                <java classname="weblogic.Server" classpathref="weblogic.system.path"
fork="true" maxmemory="128m">
                        <jvmarg value="-Dweblogic.class.path=${weblogic.class.path}"/>
                        <jvmarg
value="-Dfutuna.logstream=de.sitewaerts.futuna.util.WLLogStream"/>
                        <jvmarg value="-Dweblogic.home=c:\dev\fbs\weblogic\"/>
                        <jvmarg value="-Dweblogic.system.name=fbs"/>
                        <jvmarg 
value="-Dweblogic.system.home=c:\dev\fbs\application\"/>
                        <jvmarg value="-Djava.security.manager"/>
                        <jvmarg
value="-Djava.security.policy==c:\dev\fbs\application\weblogic.policy"/>
                        <jvmarg
value="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Doc
umentBuilderFactoryImpl"/>
                        <jvmarg value="-Dfutuna.recipient=${user}@sitewaerts.de"/>
                        <jvmarg
value="-Dfutuna.rdbmsrealm.properties=c:/dev/fbs/application/fbs/rdbmsrealm.
properties"/>
                        <jvmarg value="-Dweblogic.cluster.enable=false"/>
                </java>


ant - verbose, build from the CVS sources, 9th of January:

     [java] Forking java
                        -Dweblogic.class.path=
                                C:\dev\fbs\weblogic\lib\weblogic510sp8.jar;
                                C:\dev\fbs\application\fbs\classfiles;
                                C:\dev\fbs\lib\activation.jar;
                                C:\dev\fbs\lib\jakarta-regexp-1.1.jar;
                                C:\dev\fbs\lib\jaxp.jar;
                                C:\dev\fbs\lib\mail.jar;
                                C:\dev\fbs\lib\pop3.jar;
                                C:\dev\fbs\lib\xerces.jar;
                                C:\dev\fbs\lib\classes12.zip;
                                C:\dev\fbs\weblogic\license;
                                C:\dev\fbs\weblogic\classes;
                                C:\dev\fbs\weblogic\lib\weblogicaux.jar
                        -Dfutuna.logstream=de.sitewaerts.futuna.util.WLLogStream
                        -Dweblogic.home=c:\dev\fbs\weblogic\
                        -Dweblogic.system.name=fbs
                        -Dweblogic.system.home=c:\dev\fbs\application\
                        -Djava.security.manager
                        -Djava.security.policy==c:\dev\fbs\application\weblogic.policy
                        
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
tBuilderFactoryImpl
                        [EMAIL PROTECTED]
                        
-Dfutuna.rdbmsrealm.properties=c:/dev/fbs/application/fbs/rdbmsrealm.prop
erties
                        -Dweblogic.cluster.enable=false
                        -Xmx128m
                        -classpath
                                C:\Programme\jdk1.3\lib\tools.jar;
                                C:\dev\fbs\build\jakarta-ant\lib\core\parser.jar;
                                C:\dev\fbs\build\jakarta-ant\lib\core\junit.jar;
                                C:\dev\fbs\build\jakarta-ant\lib\core\jaxp.jar;
                                C:\dev\fbs\build\jakarta-ant\lib\optional.jar;
                                C:\dev\fbs\build\jakarta-ant\lib\ant.jar;
                                C:\dev\fbs\weblogic\lib\weblogic510sp8boot.jar;
                                C:\dev\fbs\weblogic\classes\boot
                        weblogic.Server

ant -verbose, build from 24th of December:

     [java] Forking java
                        -Dweblogic.class.path=
                                C:\dev\fbs\weblogic\lib\weblogic510sp8.jar;
                                C:\dev\fbs\application\fbs\classfiles;
                                C:\dev\fbs\lib\activation.jar;
                                C:\dev\fbs\lib\jakarta-regexp-1.1.jar;
                                C:\dev\fbs\lib\jaxp.jar;
                                C:\dev\fbs\lib\mail.jar;
                                C:\dev\fbs\lib\pop3.jar;
                                C:\dev\fbs\lib\xerces.jar;
                                C:\dev\fbs\lib\classes12.zip;
                                C:\dev\fbs\weblogic\license;
                                C:\dev\fbs\weblogic\classes;
                                C:\dev\fbs\weblogic\lib\weblogicaux.jar
                        -Dfutuna.logstream=de.sitewaerts.futuna.util.WLLogStream
                        -Dweblogic.home=c:\dev\fbs\weblogic\
                        -Dweblogic.system.name=fbs
                        -Dweblogic.system.home=c:\dev\fbs\application\
                        -Djava.security.manager
                        -Djava.security.policy==c:\dev\fbs\application\weblogic.policy
                        
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
tBuilderFactoryImpl
                        [EMAIL PROTECTED]
                        
-Dfutuna.rdbmsrealm.properties=c:/dev/fbs/application/fbs/rdbmsrealm.prop
erties
                        -Dweblogic.cluster.enable=false
                        -Xmx128m
                        -classpath
                                C:\dev\fbs\weblogic\lib\weblogic510sp8boot.jar;
                                C:\dev\fbs\weblogic\classes\boot
                        weblogic.Server


Reply via email to