Hi,
The problem is that the ant:copy does not have a overwrite="true" in the
maven-war-plugin-1.5.jar. What is the procedure for requesting change to
this plugin?
The following code in the goal war needs to be changed because of the
problems I am facing:
<j:if test="${webSourcesPresent == 'true'}">
<ant:copy todir="${maven.war.webapp.dir}">
<ant:fileset dir="${maven.war.src}"
includes="${maven.war.src.includes}"
excludes="${maven.war.src.excludes}">
</ant:fileset>
</ant:copy>
</j:if>
We need to add overwrite="true" to the <ant:copy > task above.
Thanks for your time.
--Venkat.
-----Original Message-----
From: Henry S. Isidro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 8:10 PM
To: Maven Users List
Subject: Re: maven:war plugin
Sonnathi, Venkat wrote:
>Hi,
>
>I have common web module (CWM) and a few specialized web modules(SWM). SWM
>over-ride the jsp defines in CWM on a as needed basis.
>
>So, when building SWM web-app, I need to copy the webapp dir of CWM/src and
>then whatever is defined in SWM/src/webapp. I defined a preGoal for
>war:webapp, but by default the overwrite flag of ant:copy used in
war:webapp
>is false. So, the specialized files (jsp's in SWM) are not copied over the
>onces from CWM.
>
>So can someone add a overwrite flag to maven:war plugin? Or are there
>anyother suggesstions?
>
>Thanks,
>--Venkat.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Hi. Just set the flag to true. For example,
<copy overwrite="true".........../>
I've done that and it works.
Regards,
Henry S. Isidro
Software Engineer
Exist Software Labs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]