Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Making jsf libraries location relative to platform?
Making jsf libraries location relative to platform? [message #607613] Fri, 15 September 2006 10:36
kiril mitov is currently offline kiril mitovFriend
Messages: 128
Registered: July 2009
Senior Member
Hi all,
thanks for helping me.

Following the tutorial: -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
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
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
Previous Topic:WTP 2.0 - JSF Tools Project: Support for Unified Expression Language..
Next Topic:Making jsf libraries location relative to platform?
Goto Forum:

Current Time: Tue May 24 19:53:06 GMT 2016

Powered by FUDForum. Page generated in 0.03573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software