qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Embed assets can't be at resources folder #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Embed assets can't be at resources folder like this:
http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/test-harness/src/test/resource
s/embed-resource/

This is a flex-compiler limitation, and we will try to workaround it using
flex-mojos

Original issue reported on code.google.com by velo...@gmail.com on 29 Aug 2008 at 6:29

GoogleCodeExporter commented 9 years ago
This issue was fixed at revision 713

But, ASDOC-MOJO WILL NOT WORK!!!

I don't know why, but adobe asdoc tool compile the sources.  And so far I 
didn't find
a way to patch asdoc too.
Please vote on this: http://bugs.adobe.com/jira/browse/SDK-16670

Original comment by velo...@gmail.com on 29 Aug 2008 at 7:39

GoogleCodeExporter commented 9 years ago
So is ASdoc broken? what did you change to get this to work in the other 
compiler, why can't you make those 
same changes to the asdoc compiler?

Original comment by RedB...@gmail.com on 30 Aug 2008 at 2:01

GoogleCodeExporter commented 9 years ago
Flex-oem-compiler is a high level API.  From it is easy to do a lot of things.  
In
this case, I just add a custom PathResolver.

But on Asdoc tool there is no API.  I just send parameters using a String[].

BTW, if someone needs/wanna disable my custom PathResolver look at:
http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-mojo.html#enableMaven
ResourcesResolver

VELO

Original comment by velo...@gmail.com on 30 Aug 2008 at 4:38

GoogleCodeExporter commented 9 years ago
can't make this work with 2.0M6, I stiil get "unable to resolve 'xyz' for 
transcoding" for any xyz resource under 
src/main/resources

Original comment by marcello.teodori on 6 Oct 2008 at 11:21

GoogleCodeExporter commented 9 years ago
Take a look at sample...
http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/test-harness/projects/concept/
embed-resource/

Should work.

VELO

Original comment by velo...@gmail.com on 7 Oct 2008 at 12:21

GoogleCodeExporter commented 9 years ago
Thanks, I've tried the following:
 1. svn checkout of embed-resource example
 2. replaced the flex-mojos version in the pom.xml with 2.0M6
 3. mvn clean install
but I stiil get the same error :(
I'm on JDK 1.6.0_07, Mac OS X 10.5.5, tried with both maven 2.0.9 and 2.1.0-M1 

Original comment by marcello.teodori on 7 Oct 2008 at 1:23

GoogleCodeExporter commented 9 years ago
You are right.

I comment one line of code and forget to uncomment it.

Original comment by velo...@gmail.com on 7 Oct 2008 at 2:32

GoogleCodeExporter commented 9 years ago
Fixed at revision 783

Original comment by velo...@gmail.com on 8 Oct 2008 at 2:08