Did you was able to run reference project?

VELO


PS:
I'm  sorry about doc, but, if everyone that complains once about book have
wrote one line, I believe there was a book done :D
One thing everybody should know I'm not English native.  And is really
painful and slow process to me to write docs.  So, anyone can edit/create
pages at wiki.  Feel free to improve docs there.


On Mon, Mar 30, 2009 at 10:34 PM, Jean-Philippe Steinmetz <
[email protected]> wrote:

> Hi again,
>
> I've gone through the incredibly painful process of converting about 15
> libraries to use the latest version of flex-mojos (this kind of mixup could
> be avoided if the flex-mojos project website had real documentation).
> Unfortunately my RSLs are still not working. I have flex-mojos generating
> the swf as usual. I manually copy everything into a target directory and
> upon execution I get missing class errors. I have also tried running the app
> through a web server (just in case of some security sandbox problem) and I
> still get the same errors. I'm obviously missing something but i'm at a
> complete loss. What else do I need to do?
>
> Jean-Philippe
>
>
> On Sat, Mar 28, 2009 at 3:47 AM, Carsten Schlipf <
> [email protected]> wrote:
>
>>
>> Hi Jean,
>>
>> as Marvin suggested you should really consider upgrading. I wrote a
>> guide on that:
>> http://www.yeap.de/blog2.0/archives/183-Upgrading-flex-mojos-2.0.0-to-flexmojos-maven-plugin-3.x.html
>>
>> Best regards,
>> Carsten
>>
>> On Mar 27, 11:59 pm, Jean-Philippe Steinmetz <[email protected]>
>> wrote:
>> > Well i've checked out the reference project source but I can't get it to
>> > compile. It's complaining:
>> >
>> > The plugin 'org.sonatype.flexmojos:flexmojos-maven-plugin' does not
>> exist or
>> > no valid version could be found
>> >
>> > I've also looked over all the pom's and could only see one difference
>> > between it and mine. That being the use of unpack-dependencies vs my
>> > copy-dependencies. In trying this method however I am not getting any
>> swfs
>> > in my target directory. Overall the reference project isn't all that
>> helpful
>> > as I am not creating a war project.
>> >
>> > Despite everything I don't understand why manually copying the RSL swf's
>> > into my app's target directory and then executing the app fails. Whats
>> the
>> > explanation for that?
>> >
>> > Also, am I not using the correct flex-mojos plugin? I have all of my
>> > projects including the following parent:
>> >
>> > <parent>
>> >     <groupId>info.rvin.mojo</groupId>
>> >     <artifactId>flex-super-pom</artifactId>
>> >     <version>1.0</version>
>> > </parent>
>> >
>> > On Fri, Mar 27, 2009 at 2:53 PM, Marvin Froeder <[email protected]>
>> wrote:
>> > > Well, when the component is build on flexmojos that is easy.
>> > > Take a look at reference app:
>> > >https://docs.sonatype.org/display/FLEXMOJOS/Reference+application
>> >
>> > > Now, optimize 3rd party stuff should be done manually ( if not by the
>> > > owner).
>> >
>> > > VELO
>> >
>> > > On Fri, Mar 27, 2009 at 5:33 PM, Jean-Philippe Steinmetz <
>> > > [email protected]> wrote:
>> >
>> > >> I want an RSL for as3corelib but also about ten of our proprietary
>> > >> libraries. I'm just looking for a way to make it all work. We have a
>> rather
>> > >> large system that is broken up into many components and they all
>> should be
>> > >> loaded as RSLs to minimize download time across our system.
>> >
>> > >> On Fri, Mar 27, 2009 at 12:25 PM, Marvin Froeder <[email protected]
>> >wrote:
>> >
>> > >>> You wanna RSL for as3corelib?
>> > >>> VELO
>> >
>> > >>> On Fri, Mar 27, 2009 at 4:19 PM, [email protected] <
>> > >>> [email protected]> wrote:
>> >
>> > >>>> Hello all,
>> >
>> > >>>> First off, i've been using flex-mojos for a while now and love it.
>> > >>>> Thank you for all the hard work! Documentation is seriously lacking
>> > >>>> though. It's wasted hours trying to find answers to all my
>> questions
>> > >>>> which has given me great frustration.
>> >
>> > >>>> Now for my problem. I've got some libraries that are building as
>> swc's
>> > >>>> and I have turned on the optimizer so I am generating the swf RSL
>> > >>>> along with them. I have these libraries all marked as dependencies
>> in
>> > >>>> my main swf project. The problem is when I use maven's maven-
>> > >>>> dependency-plugin to copy the dependencies I only get the swc
>> files.
>> > >>>> How do I get maven to actually copy the correct swf's over so I can
>> > >>>> properly bundle them with my application?
>> >
>> > >>>> Here is an example of my main application pom.xml
>> >
>> > >>>> <build>
>> > >>>>  <plugins>
>> > >>>>    <plugin>
>> > >>>>                <groupId>info.rvin.mojo</groupId>
>> > >>>>                <artifactId>flex-compiler-mojo</artifactId>
>> > >>>>                <configuration>
>> > >>>>                    <rslUrls>
>> > >>>>
>>  <rsl>{artifactId}-{version}.{extension}</rsl>
>> > >>>>                    </rslUrls>
>> > >>>>                    <targetPlayer>9.0.115</targetPlayer>
>> > >>>>                </configuration>
>> > >>>>            </plugin>
>> > >>>>            <plugin>
>> > >>>>                <groupId>org.apache.maven.plugins</groupId>
>> > >>>>                <artifactId>maven-dependency-plugin</artifactId>
>> > >>>>                <executions>
>> > >>>>                    <execution>
>> > >>>>                        <id>copy-dependencies</id>
>> > >>>>                        <phase>package</phase>
>> > >>>>                        <goals>
>> > >>>>                            <goal>copy-dependencies</goal>
>> > >>>>                        </goals>
>> > >>>>                        <configuration>
>> > >>>>
>>  <outputDirectory>${project.build.directory}
>> > >>>> </outputDirectory>
>> > >>>>                            <overWriteReleases>false</
>> > >>>> overWriteReleases>
>> > >>>>                            <overWriteSnapshots>false</
>> > >>>> overWriteSnapshots>
>> > >>>>
>>  <overWriteIfNewer>true</overWriteIfNewer>
>> > >>>>                        </configuration>
>> > >>>>                    </execution>
>> > >>>>                </executions>
>> > >>>>            </plugin>
>> > >>>>  </plugins>
>> > >>>> </build>
>> > >>>> <dependencies>
>> > >>>>    <dependency>
>> > >>>>        <groupId>com.adobe</groupId>
>> > >>>>        <artifactId>as3corelib</artifactId>
>> > >>>>        <version>0.92.1</version>
>> > >>>>        <scope>rsl</scope>
>> > >>>>        <type>swc</type>
>> > >>>>    </dependency>
>> > >>>> </dependencies>
>> >
>> > >>>> Regards,
>> >
>> > >>>> Jean-Philippe Steinmetz
>> >
>> >
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to