ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject still problem with org.apache.tools.ant.taskdefs.RmicAdvancedTest / wlrmic
Date Tue, 24 Aug 2004 22:31:02 GMT
I am still trying to get the testcases in ant HEAD right. I have a tiny 
problem with Weblogic RMIC :

I still get an error message, not the same as before with the wlrmic test :
RemoteTimestampImpl must be a remote interface implementation and should 
exist in the classpath

The output contains two suspicious lines mentionning "dropping xyz from 
classpath as it does not exist".

Cheers,

Antoine

$ ant -verbose -f src/etc/testcases/taskdefs/rmic/rmic.xml init testWlrmic
Apache Ant version 1.7alpha compiled on August 23 2004
Buildfile: src\etc\testcases\taskdefs\rmic\rmic.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.1_02\jre
Detected OS: Windows 2000
parsing buildfile 
C:\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\rmic.xml with URI = 
file:///C:/dev/asf/ant.head/src/etc/testcases/taskdefs/rmic/rmic.xml
Project base dir set to: C:\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic
Build sequence for target(s) `init' is [probe-rmic, init]
Complete build sequence is [probe-rmic, init, teardown, 
testFailingAdapter, testDefault, testWrongClass, testEmpty, testRmic, 
testBaseIsntDir, testKaffe, compileAntTimestamp, 
testForkingAntClasspath, testMagicProperty, testWlrmic, 
testMagicPropertyIsEmptyString, testBaseDoesntExist, 
testDefaultBadClass, testAntClasspath, testBadName, 
testMagicPropertyOverridesEmptyString, testNoBase, testForking, ]

probe-rmic:
[available] Unable to load class jkaffe.rmi.rmic.RMIC to set property 
kaffe.present

init:
    [javac] RemoteTimestamp.java omitted as RemoteTimestamp.class is up 
to date.
    [javac] RemoteTimestampImpl.java omitted as 
RemoteTimestampImpl.class is up to date.
Build sequence for target(s) `testWlrmic' is [probe-rmic, init, testWlrmic]
Complete build sequence is [probe-rmic, init, testWlrmic, teardown, 
testFailingAdapter, testDefault, testWrongClass, testEmpty, testRmic, 
testBaseIsntDir, testKaffe, compileAntTimestamp, 
testForkingAntClasspath, testMagicProperty, 
testMagicPropertyIsEmptyString, testBaseDoesntExist, 
testDefaultBadClass, testAntClasspath, testBadName, 
testMagicPropertyOverridesEmptyString, testNoBase, testForking, ]

probe-rmic:
[available] Unable to load class jkaffe.rmi.rmic.RMIC to set property 
kaffe.present
Overriding previous definition of property rmic.present
Overriding previous definition of property wlrmic.present

init:
    [javac] RemoteTimestamp.java omitted as RemoteTimestamp.class is up 
to date.
    [javac] RemoteTimestampImpl.java omitted as 
RemoteTimestampImpl.class is up to date.

testWlrmic:
[base-rmic] Verify has been turned on.
dropping c:\dev\asf\ant.head\c:\dev\asf\ant.head\c from path as it 
doesn't exist
dropping 
c:\dev\asf\ant.head\C:\Programme\cygwin\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\build

from path as it doesn't exist
[base-rmic] RemoteTimestamp.class skipped - don't know how to handle it
[base-rmic] RemoteTimestampImpl.class added as 
RemoteTimestampImpl_WLStub.class doesn't exist.
[base-rmic] RMI Compiling 1 class to 
C:\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\build
[base-rmic] Using WebLogic rmic
dropping c:\dev\asf\ant.head\c:\dev\asf\ant.head\c from path as it 
doesn't exist
dropping 
c:\dev\asf\ant.head\C:\Programme\cygwin\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\build

from path as it doesn't exist
[base-rmic] Compilation arguments:
[base-rmic] '-noexit'
[base-rmic] '-d'
[base-rmic] 'C:\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\build'
[base-rmic] '-classpath'
[base-rmic] 
'C:\dev\asf\ant.head\src\etc\testcases\taskdefs\rmic\build;C:\ant\lib\ant-launcher.jar;C:\ant\lib\NetRexxC.jar;C:\ant\lib\NetRexxR.jar;C:\ant\lib\activation.jar;C:\ant\lib\ant-javamail.jar;C:\ant\lib\ant-xslp.jar;C:\ant\lib\ant-apache-oro.jar;C:\ant\lib\ant-nodeps.jar;C:\ant\lib\ant-antlr.jar;C:\ant\lib\ant-icontract.jar;C:\ant\lib\ant-commons-net.jar;C:\ant\lib\ant-apache-regexp.jar;C:\ant\lib\ant-xalan1.jar;C:\ant\lib\ant-apache-bcel.jar;C:\ant\lib\ant-jai.jar;C:\ant\lib\ant-jsch.jar;C:\ant\lib\ant.jar;C:\ant\lib\ant-apache-log4j.jar;C:\ant\lib\ant-starteam.jar;C:\ant\lib\ant-swing.jar;C:\ant\lib\ant-netrexx.jar;C:\ant\lib\ant-jdepend.jar;C:\ant\lib\ant-weblogic.jar;C:\ant\lib\ant-stylebook.jar;C:\ant\lib\ant-vaj.jar;C:\ant\lib\ant-trax.jar;C:\ant\lib\xml-apis.jar;C:\ant\lib\ant-apache-resolver.jar;C:\ant\lib\ant-junit.jar;C:\ant\lib\ant-commons-logging.jar;C:\ant\lib\ant-jmf.jar;C:\ant\lib\bcel.jar;C:\ant\lib\bsf.jar;C:\ant\lib\bsh-1.2b6.jar;C:\ant\lib\commons-logging-api.jar;C:\ant\lib\commons-logging.jar;C:\ant\lib\jakarta-oro-2.0.8.jar;C:\ant\lib\jai_codec.jar;C:\ant\lib\jai_core.jar;C:\ant\lib\commons-net-1.2.2.jar;C:\ant\lib\jakarta-regexp-1.2.jar;C:\ant\lib\jdepend.jar;C:\ant\lib\js.jar;C:\ant\lib\weblogic.jar;C:\ant\lib\junit.jar;C:\ant\lib\jython.jar;C:\ant\lib\log4j.jar;C:\ant\lib\mail.jar;C:\ant\lib\mockvaj.jar;C:\ant\lib\resolver.jar;C:\ant\lib\simian.jar;C:\ant\lib\starteam-sdk.jar;C:\ant\lib\stylebook-1.0-b2.jar;C:\ant\lib\iContract-jdk1_2.jar;C:\ant\lib\weblogicclasses.jar;C:\ant\lib\xalan.jar;C:\ant\lib\xercesImpl.jar;C:\ant\lib\xercesSamples.jar;C:\ant\lib\xmlParserAPIs.jar;C:\ant\lib\xsltc.jar;C:\ant\lib\jsch-20030910.jar;C:\ant\lib\ant-apache-bsf.jar;C:\j2sdk1.4.1_02\lib\tools.jar'
[base-rmic] '-verbose'
[base-rmic]
[base-rmic] The ' characters around the executable and arguments are
[base-rmic] not part of the command.
[base-rmic] File to be compiled:    RemoteTimestampImpl
[base-rmic] java.lang.ClassNotFoundException: RemoteTimestampImpl
[base-rmic]     at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
[base-rmic]     at java.security.AccessController.doPrivileged(Native 
Method)
[base-rmic]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
[base-rmic]     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[base-rmic]     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
[base-rmic]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
[base-rmic]     at java.lang.Class.forName0(Native Method)
[base-rmic]     at java.lang.Class.forName(Class.java:140)
[base-rmic]     at 
weblogic.rmi.rmic.Remote2Java.checkIsNotInterface(Remote2Java.java:732)
[base-rmic]     at 
weblogic.rmi.rmic.Remote2Java.outputs(Remote2Java.java:509)
[base-rmic]     at 
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
[base-rmic]     at weblogic.rmic.runBody(rmic.java:77)
[base-rmic]     at weblogic.utils.compiler.Tool.run(Tool.java:146)
[base-rmic]     at weblogic.utils.compiler.Tool.run(Tool.java:103)
[base-rmic]     at weblogic.rmic.main(rmic.java:142)
[base-rmic]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
[base-rmic]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[base-rmic]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[base-rmic]     at java.lang.reflect.Method.invoke(Method.java:324)
[base-rmic]     at 
org.apache.tools.ant.taskdefs.rmic.WLRmic.execute(WLRmic.java:61)
[base-rmic]     at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:484)
[base-rmic]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[base-rmic]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown 
Source)
[base-rmic]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[base-rmic]     at java.lang.reflect.Method.invoke(Method.java:324)
[base-rmic]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:95)
[base-rmic]     at org.apache.tools.ant.Task.perform(Task.java:366)
[base-rmic]     at org.apache.tools.ant.Target.execute(Target.java:341)
[base-rmic]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[base-rmic]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1218)
[base-rmic]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1188)
[base-rmic]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1060)
[base-rmic]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
[base-rmic]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
[base-rmic]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[base-rmic]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)



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


Mime
View raw message