|Making jsf libraries location relative to platform? [message #472955]
||Fri, 15 September 2006 10:36
| kiril mitov
Registered: July 2009
thanks for helping me.
Following the tutorial:
I can set the apache commons, jsf and jstl tag libraries.
I would like to provide the user with a product of mine that includes the
jsf plugins along with my own.
The commons libraries can be found in org.eclipse.tomcat plugin so i
prefer not to make the user download them but to rather specify those
libraries in the JSF Libraries preference page.
What I would like to do is my application to have this settings
preconfigured. I mean that my application is just a zip file. The user
extracts it lets say at /home/kiril, the eclipse directory is created and
when the user starts /home/kiril/eclipse/eclipse the commons libraries
that are located in /home/kiril/eclipse/plugins/org.eclispe.tomcat/ are
automaticaly located and put in the preference page.
Another user lets say can extract the zip file in c:\work\ so the
preference page must show the commons libraries located in
So I would like in some way make the location (that is specified in the
JSF Libraries preference page) relative to the install location of the
I have looked at the
file and it seems that this file specifies the location of the libraries.
I have tried setting the "SourceLocation" as:
SourceLocation=" ./plugins/org.eclipse.tomcat_4.1.130.v20060601/commons-colle ctions.jar "
but this does not seem to work.
I noticed the "RelativeToWorkspace" attribute. Is there an attribute that
can do the same but make the location "RelativeToEclipseHome"? Or is there
another way to achive the desired functionality?
Thanks for the help.
Powered by FUDForum
. Page generated in 0.02666 seconds