|problem running ant from starup.jar thorugh commandline [message #870490]
||Tue, 08 May 2012 08:15
| roopesh kumar
Registered: May 2012
Hi , |
we have an application that will build some artifacts using ant by launching the eclipse run time from startup.jar . I am using the below command
JAVA -cp .;./startup.jar -verbose:class org.eclipse.core.launcher.Main -data c:\bam\workspaces\newganesh1g1124 -application org.eclipse.ant.core.antRunner -buildfile cobuild.xml create-taskspace-project build-project package-project
in the application we write an object of some type A to xml using xmlencoder coming from java.beans.xmlEncoder,that is packaged in rt.jar .i see both the classes getting loaded when i run the command in verbose mode.
still i am getting classnotFoundException from xmlencoder.java . i feel this is because the classes are getting loaded from different class loaders, but if i print the classloader for both encoder and my class A i see the both returning null which means both are loaded from bootstrap.loader . can some one help to figure what may be going wrong here ?
Powered by FUDForum
. Page generated in 0.04360 seconds