Sagar,

I'm a bit confused about exactly what you're trying to do here (a copy of
your pom(s) would be helpful to clarify), but I'll give it a shot anyways...

It sounds like you're trying to build a swf project and deploy it to a
separate war project during the packaging phase of the swf build since
otherwise outputDirectory should be ignored in 3.3.  If true, that's not
such a safe tactic considering the way that maven/flexmojos is trying to
work.  You can inject the swf from its artifact (i.e. result of running mvn
install on the swf project) and wrap everything necessary from within the
war project itself (see:
http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/wrapper-mojo.html#wrapperArtifact).
There shouldn't be any reason to copy any html, javascript, or whatever from
the swf project to the war project anymore.  Anything that needs to have
parameters injected should just live in the war project.

If any of my assumptions above are not true, correct me and we'll try
something else.

Also, see
https://issues.sonatype.org/secure/attachment/12163/war-wrapper-test-newconfig.zipfor
an example project of how the war injection should work.

Come to think of it, I should really add the examples to the wiki as jira
isn't really acceptable for general consumption.  Unless some industrious
individual beats me to it, I'll aim to have something up over the weekend.

--David

On Thu, Aug 27, 2009 at 1:26 PM, Sagar Jadhav <
[email protected]> wrote:

>
> I am using the wrapper goal of the maven flexmojo plugin and I have
> set the path of the output director to :  <outputDirectory>../dellgpu-
> server/src/main/webapp</outputDirectory>
> so that it generates the directory and the rest of the resources such
> as the .js, .html, the history folder in that directory.
> But when I specifically mention the output directory outside its build
> directory it does not generate the directory but generates the
> resources directly under my webapp.
> But I want it as webapp/<clientfolder>/....
>
> Please help.
>
> regards
> Sagar
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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