To get this to work (as was suggested above), I changed the Output folder on the Flex Build Path tab of my Flex project to point to the build/bin-debug folder of my Java Web Application project. In the .settings folder of my Java Web Application, I added the following line to the org.eclipse.wst.common.component file:
<wb-resource deploy-path="/" source-path="/build/bin-debug"/> [I couldn't figure out how to change it though Eclipse itself...] This works, but it would be slightly more elegant to reference the bin- debug folder in the Flex module using a dependent module [http:// www.eclipse.org/webtools/development/proposals/FlexibleProjectStructureDesignOverview.html]. However, I wasn't able to get this to work. Thanks Andrew On Feb 20, 2:58 pm, Matteo Lanzi <[email protected]> wrote: > Hi, i don't know if my solution is the best One, but now i'm executin > an ant task from the main pom to' nove all my compiled files. Now i'm > thinking to use output parameter inside the configuration tag, so when > the compile goal is executed i can move my files > > Hope helpful > Teo > > Inviato da iPhone > > Il giorno 20/feb/2010, alle ore 03.01, andrew <[email protected]> > ha scritto: > > > > > I love the flex-mojo plugin, but I'm having trouble getting it to set > > up the relationship between the WTP Java war project and the Flex > > Builder swf projects in a multi module project. I want it to work the > > way a combined Flex/Java Flex Builder project works: when I make a > > change to the Flex, I want this to be automatically and immediately > > available/deployed through the web application. I don't think this is > > a problem specific to flex-mojo; I just can't figure out how to get > > the Flex project to compile/send its swf artifacts to the Java web > > application transparently. Is this even possible? I don't need the > > plugin to necessarily do it; I'm perfectly happy to set it up manually > > if somebody can give me some pointers (e.g, when a change is made to > > Flex portion of things, can the plugin push the change into the war > > project?) > > > Thanks again for a great project! > > Andrew > > > -- > > 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/ -- 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/
