Confused about status of JFX+JRE cobundling
Tom Schindl
tom.schindl at bestsolution.at
Tue Jun 19 23:40:15 PDT 2012
[...]
> So I have a couple of options:
>
> 1. Add a 'system dependency' (these are generally bad in Maven) to the
> jfxrt.jar in my pom.xml so it gets added to the classpath. I then also have
> to exclude it from my final assembly using extra pom config so it doesn't
> end up in the MSI.
>
> 2. Move the jfxrt.jar in the JRE install into the 'ext' directory so it
> gets included in the classpath
>
I put it on the bootclasspath when configuring the compiler:
> <configuration>
> <encoding>UTF-8</encoding>
> <source>1.6</source>
> <target>1.6</target>
> <compilerArgument>-verbose -bootclasspath /Users/tomschindl/Applications/javafx-sdk2.2.0-beta/rt/lib/jfxrt.jar</compilerArgument>
> </configuration>
I'm not a maven guru and this was the first solution I thought of and it
works. I have not tried yet replacing this hard coded path through
something I can pass from the outside but once I set up my
hudson/jenkins I'll have to figure that our because it runs on linux.
Tom
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list