You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konstantin Solomatov (JIRA)" <ji...@codehaus.org> on 2012/08/19 15:59:21 UTC
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Konstantin Solomatov created MNG-5331:
-----------------------------------------
Summary: JavaFX should be added to compilation classpath
Key: MNG-5331
URL: https://jira.codehaus.org/browse/MNG-5331
Project: Maven 2 & 3
Issue Type: Bug
Reporter: Konstantin Solomatov
Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306573#comment-306573 ]
Paul Benedict commented on MNG-5331:
------------------------------------
It's my understanding JavaFX is bundled in Oracle's distribution out of convenience/marketing. However, JavaFX is not part of the JDK. If you need JavaFX at compile time, you can easily add that dependency to your project.
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-5331:
-------------------------------
Issue Type: Wish (was: Bug)
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Wish
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306588#comment-306588 ]
Paul Benedict commented on MNG-5331:
------------------------------------
If you have many development and CI machines, I recommend you get a corporate repository. Tools like Nexus will allow you to publish the JavaFX dependency one time for everyone. Otherwise, yes, it's the responsibility of each builder to have the dependency. JavaFX is not unique in this regard. There are many license-restricted JARs that have this issue (like JavaBeans Activation Framework); you just need to learn the process for handling these cases.
I hope this link can help ease the pain a bit:
http://java.dzone.com/articles/install-javafx-runtime-local
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306573#comment-306573 ]
Paul Benedict edited comment on MNG-5331 at 8/20/12 11:00 AM:
--------------------------------------------------------------
It's my understanding JavaFX is bundled in Oracle's distribution out of convenience/marketing. However, JavaFX is not officially part of Java SE. If you need JavaFX at compile time, you can easily add that dependency to your project.
was (Author: paul4christ79):
It's my understanding JavaFX is bundled in Oracle's distribution out of convenience/marketing. However, JavaFX is not part of the JDK. If you need JavaFX at compile time, you can easily add that dependency to your project.
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306584#comment-306584 ]
Paul Benedict commented on MNG-5331:
------------------------------------
System scope is not your only option. You can also install the JAR into your local repository.
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Konstantin Solomatov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306585#comment-306585 ]
Konstantin Solomatov commented on MNG-5331:
-------------------------------------------
2Paul
Actually, instsalling jar is not enough. I should also install native libraries which are different on different OSes. And I have to do the same on every development and continuous integration machine which actually sucks a lot.
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5331) JavaFX should be added to compilation classpath
Posted by "Konstantin Solomatov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306582#comment-306582 ]
Konstantin Solomatov commented on MNG-5331:
-------------------------------------------
Actually I can't. It can't be moved to maven repository due to its license restrictions. The only way to do so is with hack similar to this:
<dependency>
<groupId>com.oracle</groupId>
<artifactId>javafx</artifactId>
<version>2.0</version>
<scope>system</scope>
<systemPath>C:/apps/jfx2.0/rt/lib/jfxrt.jar</systemPath>
</dependency>
which is very machine specific configuration.
> JavaFX should be added to compilation classpath
> -----------------------------------------------
>
> Key: MNG-5331
> URL: https://jira.codehaus.org/browse/MNG-5331
> Project: Maven 2 & 3
> Issue Type: Bug
> Reporter: Konstantin Solomatov
>
> Since JDK 1.7, JavaFX is part of JRE and JDK. However, Maven doesn't include them into classpath automatically.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira