Hi, thanks for your reply. You are correct, I am trying to use FB to
debug so the first case. I can see the merit in second case and would
appreciate if you kindly share the sample config you mentioned.
On a slightly different note
I have multiple mxml file and this is taken care by <moduleFiles>.
However flexmojos is generating n+1 files. So for example I have
Main.mxml and Main2.mxml, flexmojos is generating ${artifactId}-$
{version}.swf, ${artifactId}-${version}-Main1.swf and ${artifactId}-$
{version}-Main2.swf along with the wrapper (<goal>wrapper</goal>).
And on WAR module I am using <goal>copy-flex-resources</goal> to copy
the compiled files and the wrappers. But its only coping ${artifactId}-
${version}.swf. Is this expected ? Shouldn't it copy all the swfs ? Is
there way to copy the wrappers as well ? Or generate the wrappers in
the WAR module after copying the SWF.
Would appreciate your comments.
Cheers
CB
On Jun 22, 9:53 pm, Dtornkaew <[email protected]> wrote:
> So you are only trying to use FB to debug and not compile?
>
> If this is the case then...
> The FB debugger will wait for a connection. Just configure a new run
> target for Eclipse and run the debugger. It will just sit there
> waiting for a connection from the Flash Player. Then if you add
> <debug>true</debug> to the Flex Mojos config, compile with Maven and
> launch the compiled app it should connect.
>
> For me I reuse the *html wrapper* files for both Flex Mojos and FB but
> I do all my development in FB so I expect it to recompile. If this
> sounds more like what you want I can show you a sample config that
> will achieve this.
>
> Lance
>
> On Jun 22, 3:29 am, codebrain <[email protected]> wrote:
>
>
>
> > Hi, I have been using the FB (a5) debugger on linux without any
> > issues. The problem after using flexmojos:flexbuilder is that FB now
> > need to build the project again with *html wrapper* for me to debug. I
> > wanted to check if someone was able to tell FB some how to pick up the
> > compiled files and wrappers generated by flexmojos.
>
> > Cheers
> > CB
>
> > On Jun 22, 8:36 am, Dtornkaew <[email protected]> wrote:
>
> > > I have used Flex Builder on Linux with the debugger but it was buggy!
> > > For instance the thing would disconnect constantly while in the
> > > debugger which made it nearly useless unless.
>
> > > More than likely the flexmojos:flexbuilder goal will not work
> > > correctly though since Flex Builder on Linux seems to use different
> > > configuration files (.actionScriptProperties etc) than the official
> > > Flex Builder 3.0 on Windows and Mac.
>
> > > Lance
>
> > > On Jun 21, 6:04 am, codebrain <[email protected]> wrote:
>
> > > > Hello,
>
> > > > Please let me know if it is possible to debug a flexmojos application
> > > > project using Flex Builder on linux. I have tried to search the FAQ,
> > > > WIKI and this forum. If it is possible i would appreciate your
> > > > pointer.
>
> > > > I have created a Flex Builder project using flexmojos:flexbuilder
> > > > import using eclipse import
>
> > > > When right click on the mxml and try to run or debug I get
> > > > "Flex builder cannot locate correct version of flash player"
>
> > > > This is not true as when i build using Flex Builder everything works.
>
> > > > here is the pom portion for the build
> > > > ******************************************
> > > > <build>
> > > > <sourceDirectory>src/main/flex</sourceDirectory>
> > > > <testSourceDirectory>src/test/flex</testSourceDirectory>
> > > > <plugins>
>
> > > > <plugin>
> > > >
> > > > <groupId>org.sonatype.flexmojos</groupId>
> > > >
> > > > <artifactId>flexmojos-maven-plugin</artifactId>
> > > > <version>3.7.1</version>
> > > > <extensions>true</extensions>
>
> > > > <dependencies>
> > > > <dependency>
> > > >
> > > > <groupId>com.adobe.flex</groupId>
> > > >
> > > > <artifactId>compiler</artifactId>
> > > >
> > > > <version>3.2.0.3958</version>
> > > > <type>pom</type>
> > > > </dependency>
> > > > </dependencies>
>
> > > > <executions>
> > > > <execution>
> > > > <goals>
> > > >
> > > > <goal>wrapper</goal>
> > > > </goals>
> > > > </execution>
> > > > </executions>
>
> > > > <configuration>
> > > > <testRunner>
> > > > <launcher>
> > > >
> > > > <flashplayerCommand>
> > > >
> > > > ${flashPlayer.command}
> > > >
> > > > </flashplayerCommand>
> > > > </launcher>
> > > > </testRunner>
> > > >
> > > > <targetPlayer>9.0.0</targetPlayer>
> > > > <incremental>false</incremental>
> > > > <debug>true</debug>
> > > > <locale>en_US</locale>
> > > > <optimize>true</optimize>
> > > >
> > > > <showWarnings>true</showWarnings>
> > > > <strict>true</strict>
> > > > <useNetwork>true</useNetwork>
> > > >
> > > > <allowSourcePathOverlap>true</allowSourcePathOverlap>
> > > >
> > > > <configurationReport>true</configurationReport>
> > > >
> > > > <enableFlexBuilderBuildCommand>false</
> > > > enableFlexBuilderBuildCommand>
> > > >
> > > > <flexBuilderOutputFolderPath>target</flexBuilderOutputFolderPath>
> > > > </configuration>
> > > > </plugin>
>
> > > > </plugins>
> > > > </build>
>
> > > > Regards
> > > > CB
--
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/