Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsproblem running ant from starup.jar thorugh commandline
https://www.eclipse.org/forums/index.php/mv/msg/351220/870490/#msg_870490
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
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 ?
]]>roopesh kumar2012-05-08T12:15:47-00:00