Skip to main content



      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 14:21 Go to next message
Eclipse UserFriend
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 14:25 Go to previous messageGo to next message
Eclipse UserFriend
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 14:30 Go to previous messageGo to next message
Eclipse UserFriend
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 13:39 Go to previous message
Eclipse UserFriend
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: Wed Apr 23 11:51:46 EDT 2025

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

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

Back to the top