How to set the path to SDK relatively in Eclipse

33 views
Skip to first unread message

Joel

unread,
Nov 2, 2011, 10:18:19 AM11/2/11
to Google Web Toolkit
Is it possible to set this path relative to the install path or the
workspace path ?

Instead of :

C:\eclipse\plugins\com.google.gwt.eclipse.sdkbundke_2.4.0...\gwt-2.4.0

I would like seeing something like :

${install}\plugins\com.google.gwt.eclipse.sdkbundke_2.4.0...\gwt-2.4.0

or

${workspace}\..\plugins
\com.google.gwt.eclipse.sdkbundke_2.4.0...\gwt-2.4.0


Thanks in advance.
Joel.

Rikard Hultén

unread,
Nov 3, 2011, 2:46:08 AM11/3/11
to google-we...@googlegroups.com

Joel

unread,
Nov 3, 2011, 12:03:55 PM11/3/11
to Google Web Toolkit
Indeed, it was that (didn't know where to look for them anymore).

But now the problem is how to use them.

In the Add dialog, whether I put ${ECLIPSE_HOME}/plugins
$ECLIPSE_HOME/plugins $ECLIPSE_HOME$/plugins or %ECLIPSE_HOME%/
plugins I can't confirm because the OK button is disabled.
There is also an additional message saying "The installation directory
does not exist" (and NOT "C:\eclipse\plugins\gwt-user.jar is missing"
which tells me it cannot dereference the given variable)

Am I right ?


On Nov 3, 2:46 am, Rikard Hultén <rikardhul...@gmail.com> wrote:
> Is it classpath variables you're looking for?
>
> in eclipsehttp://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic...

Rikard Hultén

unread,
Nov 4, 2011, 3:25:12 AM11/4/11
to google-we...@googlegroups.com
Select the variable and then press extend and browse to the file you wish to add. There should be no $ or % to the variable name.
Reply all
Reply to author
Forward
0 new messages