hg: openjfx/2.1/master: Added build scripts that are needed for building UI controls.

Mario Torre neugens.limasoftware at gmail.com
Tue Dec 6 12:42:58 PST 2011


Il giorno 06/dic/2011, alle ore 20:52, Roman Kennke ha scritto:
> 
>> I think modifying the build scripts so that they also produce maven-compatible artifacts is fine, I know this has been asked for frequently. We don't know how to do it though (I don't know any of our team that has any significant time in Maven).
> 
> I could take a look at this. Problem is that this would be very
> difficult (and a bit pointless) as long as the other pieces are not open
> sourced. Those would need to get provided in a publicly accessible Maven
> repository to be of any use for building the open source part.
> 
> Regards, Roman
> 
> 


Oracle could still produce a downloadable artifact, since is quite easy, even if the build is not
mavenized (which is good unless you want JavaFX to become a google mirror!!! - no pun intended ;)

In any case, installing one locally is trivial, this is what we do to build ThingsFX:

mvn install:install-file
  -Dfile=/path/to/javafx-sdk2.0.2-beta/rt/lib/jfxrt.jar
  -DgroupId=com.oracle.javafx -DartifactId=javafx -Dversion=2.0
  -Dpackaging=jar

This can even go in the build.xml of the binary package so that you don't need to mavenize,
just install the library.

The only gotcha is that the jar file doesn't include the native library, and only doing this fails
to produce a runnable binary, at least on OSX (this can be easily fixed though).

Cheers,
Mario
---
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

http://www.ladybug-studio.com

IcedRobot: www.icedrobot.org
Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/





More information about the openjfx-dev mailing list