Q7

SWT project created by WindowBuilder contains location-specific information

Details

Description

Project .classpath:

<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.osgi.source_3.7.1.R37x_v20110808-1106.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.core.commands_3.6.0.I20110111-0800.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.core.commands.source_3.6.0.I20110111-0800.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.equinox.common_3.6.0.v20110523.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.equinox.common.source_3.6.0.v20110523.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.equinox.registry.source_3.5.101.R37x_v20110810-1611.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.core.runtime.source_3.7.0.v20110110.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.text_3.5.101.r371_v20110810-0800.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.text.source_3.5.101.r371_v20110810-0800.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.7.1.v3738a.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.swt.cocoa.macosx.x86_64.source_3.7.1.v3738a.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.jface.source_3.7.0.I20110522-1430.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.jface.text_3.7.1.r371_v20110825-0800.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.jface.text.source_3.7.1.r371_v20110825-0800.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.workbench_3.7.0.I20110519-0100.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.workbench.source_3.7.0.I20110519-0100.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/com.ibm.icu_4.4.2.v20110208.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/com.ibm.icu.source_4.4.2.v20110208.jar"/>
<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms_3.5.100.v20110425.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms.source_3.5.100.v20110425.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

Activity

Hide
komaz added a comment - 02/Dec/11 3:44 PM

And how we gonna fix this? send patch to them?

Show
komaz added a comment - 02/Dec/11 3:44 PM And how we gonna fix this? send patch to them?
Hide
ystrot added a comment - 12/Dec/11 12:01 PM

We can use Eclipse variables. There is built-in ECLIPSE_HOME variable which we can use to replace:

<classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms_3.5.100.v20110425.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms.source_3.5.100.v20110425.jar"/>

to
<classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui.forms_3.5.100.v20110425.jar"/>

However there are few issues:

  • It will not work in case of different qualifiers
  • Still not clear what to do with platform specific plugins (*.swt.cocoa.macosx.x86_64). I've tried to remove it, but there are too many dependencies from our contexts.
Show
ystrot added a comment - 12/Dec/11 12:01 PM We can use Eclipse variables. There is built-in ECLIPSE_HOME variable which we can use to replace: <classpathentry kind="lib" path="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms_3.5.100.v20110425.jar" sourcepath="/Users/ystrot/dev/gwt/plugins/org.eclipse.ui.forms.source_3.5.100.v20110425.jar"/> to <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui.forms_3.5.100.v20110425.jar"/> However there are few issues:
  • It will not work in case of different qualifiers
  • Still not clear what to do with platform specific plugins (*.swt.cocoa.macosx.x86_64). I've tried to remove it, but there are too many dependencies from our contexts.

People

  • Assignee:
    komaz
    Reporter:
    ystrot
Vote (0)
Watch (0)

Dates

  • Created:
    02/Dec/11 3:27 PM
    Updated:
    17/Jan/13 12:44 PM