Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » How do configure ANT PDE build for plugin which consumes e(fx)clipse runtime
How do configure ANT PDE build for plugin which consumes e(fx)clipse runtime [message #1288609] Tue, 08 April 2014 18:21 Go to next message
Danny Ju is currently offline Danny JuFriend
Messages: 4
Registered: March 2014
Junior Member
Hi,
We are developing a Eclipse plugin using JavaFX (Java7) provided by e(fx)clipse runtime bundles. While the plugin builds fine in Eclipse by e(fx)clipse design time tools. We are not able to figure out a easy way to build it in command line with ANT PDE builder. (All the examples are using Maven/tycho build)

Any suggestion on how to configure ANT PDE build for plugin using JavaFX on Java7?

Thanks,

Danny Ju
Re: How do configure ANT PDE build for plugin which consumes e(fx)clipse runtime [message #1288612 is a reply to message #1288609] Tue, 08 April 2014 18:25 Go to previous messageGo to next message
Danny Ju is currently offline Danny JuFriend
Messages: 4
Registered: March 2014
Junior Member
Forgot to mention we are using e(fx)clipse 0.9.0 on Kepler and Java7.
Re: How do configure ANT PDE build for plugin which consumes e(fx)clipse runtime [message #1288622 is a reply to message #1288609] Tue, 08 April 2014 18:30 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Well the problem is that javafx is not on the classpath so one solution
would be to add a compiletime dependency in your build.properties
pointing to the jfxrt.jar.

The other option is to use a *different* java-install for the
commandline build where jfxrt.jar is in part of jre/lib/ext but make
sure that is not the java-install used by the IDE or you run in strange
problems where e(fx)clipse constructs a wrong classpath!

Is there a reason you can not use maven-tycho? I found it much more
reliable than PDE-Build.

Tom

On 08.04.14 20:21, Danny Ju wrote:
> Hi, We are developing a Eclipse plugin using JavaFX (Java7) provided by
> e(fx)clipse runtime bundles. While the plugin builds fine in Eclipse by
> e(fx)clipse design time tools. We are not able to figure out a easy way
> to build it in command line with ANT PDE builder. (All the examples are
> using Maven/tycho build)
>
> Any suggestion on how to configure ANT PDE build for plugin using JavaFX
> on Java7?
>
> Thanks,
>
> Danny Ju
>
Re: How do configure ANT PDE build for plugin which consumes e(fx)clipse runtime [message #1289836 is a reply to message #1288622] Wed, 09 April 2014 17:39 Go to previous message
Danny Ju is currently offline Danny JuFriend
Messages: 4
Registered: March 2014
Junior Member
Hi Tom,
Adding jars.extra.classpath = lib/jfxrt.jar to build.properties works.
Thanks for the hint.

>> Is there a reason you can not use maven-tycho
We have large number of plugins still built with ANT, will take some time to convert.

Thanks again,

Danny
Previous Topic:Publishing to the Eclipse context using @ContextValue
Next Topic:MPart lifecycle class
Goto Forum:
  


Current Time: Fri Apr 26 22:40:20 GMT 2024

Powered by FUDForum. Page generated in 0.19542 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top