You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Hughes <ah...@gmail.com> on 2009/02/17 13:38:19 UTC
Re: Compile JavaFx and Java source file
http://m2-javafxc.sourceforge.net/
On Thu, Oct 30, 2008 at 7:16 PM, Effetto <gh...@insiberia.net> wrote:
> Hi,
> actually I'm using this configuration to compile javafx file[0]. My
> problem is
> that in this way in hybrid projects with standard java source file and
> javafx
> source file the compiler ignore completely the .java files.
>
> How could make the Maven compiler to compile both .java and .fx files?
>
> Thanks
>
> [0]
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.0.2</version>
> <configuration>
> <source>1.6</source>
> <target>1.6</target>
> <compilerId>javafxc</compilerId>
> <include>**/*.fx</include>
> <compilerArguments>
> <jfxHome>false</jfxHome>
> </compilerArguments>
> </configuration>
> <dependencies>
> <dependency>
> <groupId>net.sf.m2javafxc</groupId>
> <artifactId>plexus-compiler-javafxc</artifactId>
> <version>0.1-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>javafx</groupId>
> <artifactId>javafxc</artifactId>
> <version>0.1-SNAPSHOT</version>
> <scope>system</scope>
>
> <systemPath>${javafx.home}/lib/javafxc.jar</systemPath>
> </dependency>
> </dependencies>
> </plugin>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>