Well, this is a maven thing.... You can't (ok you can, but you shouldn't) reference things that are external to your project, like includeFile c:\velo's PC\onlyvelofolder\crashEverybodyelse.jpg.... hopefully I don't need to say a word to prove my point here.
So it must be a resource. Or it is on project src/main/resources (or whatever location you define) or it must come from the maven repo. You can use maven dependency plugin to unpack a zip onto you target folder and set this folder as another resource folder.... You can a even add a resource that points to a folder on your PC, maven allow that, but if you don't wanna do maven by conventions, do ant.. it works much better in this kind of scenarios that you wanna all flexibility in the world. I used to be an ANT guy.... on my last ANT project people did take at least a day to be capable of building our project. 90% of the time reviewing if they did install whatever was needed on the same path that ANT configuration files required... a real BIG BIG pain. One day I took the "ANT no more" flag and worked my ass of to get it working with maven. So the includeFiles it is not your issue. but if you prefer a more flexible approach, try this: https://docs.sonatype.org/display/FLEXMOJOS/Building+an+AIR+Application BTW, isn't there anyone willing to rewrite this? To use signAir, it would be way simpler. VELO On Thu, Feb 4, 2010 at 10:38 PM, TizzyTool <[email protected]> wrote: > HAHAH No worries. > > The files I want to add are not stored in my "resources" file, so I > have to use the <includeFiles /> configuration option. But, as Eric > noted, the code only allows SWFs and SWCs to be included in an .air > file this way. > > Thanks > - Scott > > > On Feb 4, 3:03 pm, Marvin Froeder <[email protected]> wrote: > > Honestly, it is so hot today (41ÂșC) that I barely understood what you > > said... but seem from what I understand that you are trying to do > something > > on a wrong why. > > > > Tell me, what do you wanna do? > > > > VELO > > > > On Thu, Feb 4, 2010 at 9:00 PM, TizzyTool <[email protected]> wrote: > > > It is a bug. Users may be able to add files that are in the > > > "resources" folder, but any project dependencies that aren't SWFs or > > > SWCs cannot be added. > > > > > Thanks. > > > - Scott > > > > > On Dec 30 2009, 1:17 pm, velo <[email protected]> wrote: > > > > Well, if not a bug lemme know to close the ticket.... > > > > > > VELO > > > > > > On 30 dez, 14:08, Marcello Teodori <[email protected]> > wrote: > > > > > > > Hi, > > > > > I don't think it's a bug as I use SignAirMojo with success with the > > > > > same use case. > > > > > With flexmojos 3.5.0 the resources should be included in the > package > > > > > and you shouldn't > > > > > experience that error, verify that: > > > > > * the file my128.png is in src/main/resources > > > > > * the flexmojos version is 3.5.0 > > > > > > > Running with -X you should see in the log if the file has been > > > > > included, otherwise you can > > > > > always specify what to put into the package, if you don't want all > the > > > > > resources, with the > > > > > includeFiles configuration parameter: > > > > > <includeFiles> > > > > > <includeFile>my128.png<includeFile> > > > > > <includeFiles> > > > > > > > --m > > > > > > > On 28 Dic, 22:47, Eric <[email protected]> wrote: > > > > > > > > There is a bug in the sign-air mojo when you have an AIR > application > > > > > > descriptor file that includes a reference to an icon PNG. > > > > > > > > If your descriptor file contains a block like: > > > > > > > > <icon> > > > > > > <image128x128>my128.png</image128x128> > > > > > > </icon> > > > > > > > > and you build the project with maven you will get this error even > > > > > > though the icon is present: > > > > > > > > error 303: Icon adchemy128.png is missing from package > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > > [ERROR] BUILD FAILURE > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > > [INFO] Error generating AIR package 12 > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Flex Mojos" group. > > > To post to this group, send email to [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<flex-mojos%[email protected]> > <flex-mojos%[email protected]<flex-mojos%[email protected]> > > > > > For more options, visit this group at > > >http://groups.google.com/group/flex-mojos?hl=en?hl=en > > > > >http://flexmojos.sonatype.org/ > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos?hl=en?hl=en > > http://flexmojos.sonatype.org/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://flexmojos.sonatype.org/
