Making jsf libraries location relative to platform? [message #607613] |
Fri, 15 September 2006 10:36 |
kiril mitov Messages: 128 Registered: July 2009 |
Senior Member |
|
|
Hi all,
thanks for helping me.
Following the tutorial:
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -RC3/JSFTools_tutorial.html
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
c:\work\eclipse\plugins\org.eclipse.tomcat\
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
platform
I have looked at the
workspace/.metadata/.plugins/org.eclipse.jst.jsf.core/JSFLib raryRegistry.xml
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.
kiril mitov
|
|
|
Powered by
FUDForum. Page generated in 0.03350 seconds