[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Running SWT Outside Eclipse Instructions

Robert B wrote:


"John Huss" <jhuss@xxxxxxxxxx> wrote in message news:frrnmh$jqa$1@xxxxxxxxxxxxxxxxxxxx
I think you're quite wrong. Have you ever installed Eclipse before? Where does it put the swt jars? Answer: not into the JRE installation area; it keeps them under the Eclipse installation folder.

We don't install AWT or Swing packages in application area!
They all OS and version dependent! You cannot prepare installer
for every OS versions.  It's users responsibility to maintain
their JRE basis up to date. SWT should be part of JRE
distribution. Only the politics of Java keeps it away.

If you're inputing an executable jar or directory of jars into JSmooth you can use ANT to pick the correct SWT jar for your target platform. Use an Ant task to copy or compile the appropriate SWT version by creating a build type of task for each version. This way you can prepare a version of your program that uses any number of different SWT jars.