Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Build

Sridhar,

We build swt here using Eclipse's ant-related facilities.  Assuming that
you have the swt project in your Eclipse workspace, you can build the swt
component at the command line by doing the following:

1. go to the main Eclipse directory (ie.- the one containing the Eclipse
executable)
2. execute: java -cp ./startup.jar org.eclipse.core.launcher.Main
-application org.eclipse.ant.core.antRunner -file
./workspace/org.eclipse.swt/build.xml
3. the component will be built with jars for all platforms; the final jar
can be found in ./workspace/org.eclipse.swt

If you ever want to do this within Eclipse just select the build.xml file
in the swt project's root, right-click -> Run Ant -> plugin target

Grant




Back to the top