[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.jdt] Use of variables on org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY"
|
- From: Clebert Suconic <clebert.suconic@xxxxxxxxx>
- Date: Thu, 20 Aug 2009 18:40:19 -0500
- Newsgroups: eclipse.tools.jdt
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3
I'm using org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY at
my project, to bind the JNI directory used on the testsuite.
It happens that (as documented) the JNI path defined here is relative to
the worksapce.
However, I have no control of how my project will be downloaded on the
workspace. A developer may call it trunk, others may call it messaging,
jbm, or bananas.. whatever.. I have no control.
You can download my project and check how it is set if you want:
svn co http://anonsvn.jboss.org/repos/messaging/trunk/
if you look at the .classpath:
http://anonsvn.jboss.org/repos/messaging/trunk/.classpath
If the user checks out the trunk as messaging, or jbm, or
jbossmessaging. The binding to JNI won' t work.
It would be better if the JNI path here was related to the project. but
as that' s not possible. is there a way to use a variable that would
return the project name?
I couldn't find anywhere. I couldn't find an easy documented list of
pre-defined variables. Or maybe there isn' t such thing?
Thanks, and I appreciate for any help.
Clebert