You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by OyoKooN <na...@capgemini.com> on 2015/08/24 17:04:53 UTC

Compile FXG files with Flexmojos

Hello, 

I'd like to be able to compile my FXG files with Flexmojos. 
They're currectly store under the /resources/fxg folder and Flexmojos
doesn't seem to find them. 

Should I move them into the /src folder or is there a way to have them
compiled from the /resources folder? 

Thanks.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Compile-FXG-files-with-Flexmojos-tp11030.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Compile FXG files with Flexmojos

Posted by OyoKooN <na...@capgemini.com>.
Hi Christofer,

Thank you very much for your answer.
I'll move them to the src directory.

Best regards,

Nathan



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Compile-FXG-files-with-Flexmojos-tp11030p11033.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: Compile FXG files with Flexmojos

Posted by Christofer Dutz <ch...@c-ware.de>.
The compiler doesn't compile resources, they are simply copied to the output (eventually filtered, if enabled). If you want to compile them (and with FXGs you need to), they have to go to the src directory. 

One option would be to add a second source directory using the build-helper-maven-plugin:
http://www.mojohaus.org/build-helper-maven-plugin/usage.html
But I would strongly suggest not to.

Chris

-----Ursprüngliche Nachricht-----
Von: OyoKooN [mailto:nathan.le-ray@capgemini.com] 
Gesendet: Montag, 24. August 2015 17:05
An: users@flex.apache.org
Betreff: Compile FXG files with Flexmojos

Hello, 

I'd like to be able to compile my FXG files with Flexmojos. 
They're currectly store under the /resources/fxg folder and Flexmojos doesn't seem to find them. 

Should I move them into the /src folder or is there a way to have them compiled from the /resources folder? 

Thanks.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Compile-FXG-files-with-Flexmojos-tp11030.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.