Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] Runtime Classpath addition.

Hi All,
 
I want to modify the classpath at runtime.
The API used by me is
IRuntimeClasspathEntry runtime = JavaRuntime.newArchiveRuntimeClasspathEntry(new Path(l_strPageDPath+"\\"+l_objFilesPresent[l_nLoop]));
runtime.setSourceAttachmentPath(new Path(l_strPageDPath+"\\"+l_objFilesPresent[l_nLoop]));
But this is not working properly.
Since no excption is occuring it is assumed that the JAR file which i am trying to add to the classpath are getting added but class loader is not able to access/load the respective classes.
Please provide any information regarding this at ur earliest.
Thanks in advance.

Regards,
S.Rajasekhar Rao,
Software Engineer,
Patni Computer Systems,
SEEPZ,Andheri(E),
Mumbai-96,
Tel- +91 22 2829 1454 (Extn : 5332)

?__________________________________________________________________


The information transmitted is intended only for the person or entity to

which it is addressed and may contain confidential and/or privileged

material. Any review, retransmission, dissemination or other use of, or

taking of any action in reliance upon, this information by

persons or entities other than the intended recipient is prohibited.If you

received this in error, please contact the sender and delete the material

from any computer.

?__________________________________________________________________
 

 

Back to the top