Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » problem running ant from starup.jar thorugh commandline
problem running ant from starup.jar thorugh commandline [message #870490] Tue, 08 May 2012 12:15
roopesh kumar is currently offline roopesh kumarFriend
Messages: 1
Registered: May 2012
Junior Member
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 ?
Previous Topic:Need to execute code while installing software
Next Topic:RCP development tutorials and PDF books
Goto Forum:
  


Current Time: Mon Oct 14 15:01:24 GMT 2024

Powered by FUDForum. Page generated in 0.03287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top