Hi Logan, thanks for the info.  This was a huge help.  

On May 11, 2010, at 7:32 PM, Logan Allred wrote:

> You can always fallback to dependency:copy-dependencies to copy the
> swfs into your php project if none of the other ways work.
> 
> Logan
> 
> On Tue, May 11, 2010 at 3:40 PM, Brian Topping <[email protected]> 
> wrote:
>> As I looked back on how I was doing this in other projects, it's
>> with flexmojos:copy-flex-resources.
>> When I try to use this with the maven-php-plugin, I get a warning that
>> "'copy-flex-resources' was intended to run on war project".  Makes sense,
>> but there's no way to get .swf dependencies into a PHP (or other type of
>> project).
>> I did look into the archiver, it has an archiver for swc but not swf.  That
>> makes sense, we don't want to flatten the swf as the archive is composed.
>>  Flattening a swc as a swf is composed does make sense though.  That tells
>> me I'm using the assembly plugin improperly.
>> I'm not any closer to solving the problem of including swf artifacts in
>> anything that's not created by the war plugin, just thought I would pass
>> along more information.
>> Brian
>> On May 7, 2010, at 3:04 PM, Brian Topping wrote:
>> 
>> I was just asking here because I thought someone here might have used the
>> assembly plugin with swf.
>> I'll post over there next week, hoping someone here has dealt with this
>> problem.  It seems like something that would be valuable for some folks on
>> this list to know.
>> On May 7, 2010, at 2:58 PM, Marvin Froeder wrote:
>> 
>> Try maven user list, is more linkedly someone there will know what is going
>> on....  I would get to test the latest assembly plugin version
>> 
>> On Fri, May 7, 2010 at 3:55 PM, Brian Topping <[email protected]>
>> wrote:
>>> 
>>> Hi gang,
>>> 
>>> We've been successfully using Flex-mojos with our projects under Maven.
>>>  Nice work on that, especially the effort that went into integrating with
>>> IntelliJ.  Thanks!
>>> 
>>> In order to emulate the old build, we need to overlay the swf's in a zip
>>> archive that is full of PHP.  Assembly plugin is happy to oblige here, but
>>> when I try to add the swf artifacts, I get the following error:
>>> 
>>> Caused by: org.codehaus.plexus.archiver.manager.NoSuchArchiverException:
>>> No such archiver: 'swf'.
>>>        at
>>> org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getResourceCollection(DefaultArchiverManager.java:90)
>>>        at
>>> org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getResourceCollection(DefaultArchiverManager.java:128)
>>>        at
>>> org.codehaus.plexus.archiver.AbstractArchiver.asResourceCollection(AbstractArchiver.java:506)
>>> 
>>> My assembly descriptor, for reference, is pretty simple:
>>> 
>>> <assembly
>>> xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0";
>>>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>> 
>>>  
>>> xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
>>> http://maven.apache.org/xsd/assembly-1.1.0.xsd";>
>>>    <id>php-webapp</id>
>>>    <formats>
>>>        <format>zip</format>
>>>    </formats>
>>>    <dependencySets>
>>>        <dependencySet>
>>>            <includes>
>>>              <include>*:swf:*</include>
>>>            </includes>
>>>            <outputDirectory>/</outputDirectory>
>>>            <unpack>false</unpack>
>>>        </dependencySet>
>>>        </dependencySets>
>>>        <fileSets>
>>>                <fileSet>
>>>                        <directory>src/main/php</directory>
>>>                        <outputDirectory>/</outputDirectory>
>>>                </fileSet>
>>>        </fileSets>
>>> </assembly>
>>> 
>>> I know this isn't a Flexmojos issue, but I thought someone in this
>>> community might have some insight.  Would be grateful for any thoughts.
>>> 
>>> Cheers, Brian
>>> 
>>> --
>>> 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
>>> 
>>> 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
>> 
>> 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
>> 
>> 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
> 
> 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

http://flexmojos.sonatype.org/

Reply via email to