cancel
Showing results for 
Search instead for 
Did you mean: 

eclipse - adding jar permanently ???

Former Member
0 Kudos

hi ,

I am using EP5.0

If I add the jar files in the project , they work but if I restart my project , they are gone , I need to again add the jar files ....

How do i add jar file to eclipse permanently????

reply me back as possible ...

Thank you ,

Avi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi ,

how do u add the jar files references in the default.properties files(EP5.0) . the default.properties file is something like this :

ServicesReference=htmlb

ClassName=pack.Temp

tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld

tagLib.inheritance=final

I know I should add in the ServiceReference , but How do i add it ????

Please reply as soon as possible...

Thank you,

AVi

Former Member
0 Kudos

hi ,

thanks for the reply,

but yes , the jar file are not there in the JAVA BUILD PATH ... and about the .classpath file , I mean , it should not be that , I copy the file everytime I open my project.

In EP5.0 , Do I need to set some eclipse settings for the project(s), when we create them.?

please reply me fast...

thank you ,

avinash

SidBhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

What do you mean?

You need to add the jars to the JAVA BUILD PATH and make sure the reference is valid ( ex you used a mapped drive, which could not be available all the time ).

You need to add the references in your portalapp.xml too since the JAVA BUILD PATH jars are only for the build time; for runtime these jars have to be available on the portal server.

Former Member
0 Kudos

Just one correction:

In EP5 there are *.properties files instead of the portalapp.xml file, so you need to set the ServiceReference there for using those jars in runtime on the portal server.

SidBhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Do you mean the jar files are not there in the JAVA BUILD PATH when you restart eclipse??

A workaround for this is

Copy the .classpath file (switch to resource perspective to see this file ) after you add the jars and store it elsewhere. Next time on, just replace the .classpath file.