on 02-02-2005 7:40 PM
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 teecheu ,
I have tried all that(using "add external jars"....) . My server here is my TOMCAT PDk . How do i set in the details ...and how do i then deply my application ?
waiting for reply...
avi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have not worked on EP5.0 for a while, but if I am not mistaken, if you include the two JAR files in Java Build Path's "Add External JARs...", the path that refers to the JAR files should not go away unless you change the location of the JAR.
If you run into a problem during runtime, it could be that your server does not have the two JAR files that you mentioned.
Hope it helps,
- Teecheu
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.