hi ,
i am using Eclipse to build the java iView and i am getting a problem with the jar files for xml.
i have added the xerces.jar and xmlParserAPIs.jar , and i am able to use the API ... but , that is only added to the current workspace but not to the project ...
The next time open the same project , I do not find the jar files added , i have to goto java build and add jar files again....
Is there a way that , these 2 jar files can be added permanently to the project?
Please reply soon ...
Thank you,
Avinash
Hi Avinash,
you should give some more information:
- how did you "add" the jar's? If you have added them into the project (also on the file system), they cannot be aways afterwards.
- how did you set up the build path? Eclipse uses a ".classpath" file, where the build path is described in XML, as absolute path, or variable, or variable extension, or... Anyhow, also this file will always stay the same, if you don't do weird things.
- to permanently add the JARs to the project, add them into dist/PORTAL-INF/exlib or dist/PORTAL-INF/private/exlib dir.
- this holds for EP6 SP2 / Eclipse 2.1.X. Is this your environment?
Hope it helps
Detlev
Hi ,
I am actually using the EP5.0 . I cannot add an entry to the .classpath file. here is there is no PORTAL-INF ...
I am adding jar files to the project but it goes off when i restart the project... I want to do it permanently....
what should i do?
please reply as soon as possible...
Thank you ,
Avinash
Add a comment