[maven 1.0.2] [WAR plugin] war:war-resources goal modification request.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven 1.0.2] [WAR plugin] war:war-resources goal modification request.

Raphaël Piéroni
Hello,

I would like to have the war plugin modified to add filtering
in the war:war-resources goal.

here is the modified goal extracted from the 1.6.1 war plugin
<goal name="war:war-resources" prereqs="war:init"
    description="Copy webapp resources to target directory">

    <ant:mkdir dir="${maven.war.webapp.dir}"/>

    <j:set var="webapp.build.webinf"
value="${maven.war.webapp.dir}/WEB-INF"/>
    <ant:mkdir dir="${webapp.build.webinf}"/>

    <j:if test="${webSourcesPresent == 'true'}">
      <ant:copy todir="${maven.war.webapp.dir}"
                filtering="on"
                preservelastmodified="true">
        <ant:fileset dir="${maven.war.src}"
          includes="${maven.war.src.includes}"
          excludes="${maven.war.src.excludes}">
        </ant:fileset>
      </ant:copy>
    </j:if>
   
    <util:available file="${maven.war.webxml}">
      <ant:copy file="${maven.war.webxml}"
        filtering="on"
        tofile="${webapp.build.webinf}/web.xml"
        overwrite="true" />
    </util:available>

  </goal>

In advance thank you.

Do i have to add this request to the jira ?

Rapha?l.

------------------------------------
| Rapha?l Pi?roni                  |
| 33+ 223 351 354                  |
| mailto:[hidden email]        |
| http://www.dexem.com             |
| mailing:[hidden email] |
------------------------------------


       

       
               
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
T?l?chargez cette version sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [maven 1.0.2] [WAR plugin] war:war-resources goal modification request.

Haryon
yes :). That's what I did and I got answer pretty fast.

On 6/13/05, Raphaël Piéroni <[hidden email]> wrote:

> Hello,
>
> I would like to have the war plugin modified to add filtering
> in the war:war-resources goal.
>
> here is the modified goal extracted from the 1.6.1 war plugin
> <goal name="war:war-resources" prereqs="war:init"
>    description="Copy webapp resources to target directory">
>
>    <ant:mkdir dir="${maven.war.webapp.dir}"/>
>
>    <j:set var="webapp.build.webinf"
> value="${maven.war.webapp.dir}/WEB-INF"/>
>    <ant:mkdir dir="${webapp.build.webinf}"/>
>
>    <j:if test="${webSourcesPresent == 'true'}">
>      <ant:copy todir="${maven.war.webapp.dir}"
>                filtering="on"
>                preservelastmodified="true">
>        <ant:fileset dir="${maven.war.src}"
>          includes="${maven.war.src.includes}"
>          excludes="${maven.war.src.excludes}">
>        </ant:fileset>
>      </ant:copy>
>    </j:if>
>
>    <util:available file="${maven.war.webxml}">
>      <ant:copy file="${maven.war.webxml}"
>        filtering="on"
>        tofile="${webapp.build.webinf}/web.xml"
>        overwrite="true" />
>    </util:available>
>
>  </goal>
>
> In advance thank you.
>
> Do i have to add this request to the jira ?
>
> Raphaël.
>
> ------------------------------------
> | Raphaël Piéroni                  |
> | 33+ 223 351 354                  |
> | mailto:[hidden email]        |
> | http://www.dexem.com             |
> | mailing:[hidden email] |
> ------------------------------------
>
>
>
>
>
>
> ___________________________________________________________________________
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]