You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Konstantin Priblouda <kp...@yahoo.com> on 2003/06/16 11:45:32 UTC
SOLVED : Strange behavior of war plugin #*@!
Well, I fould where problem was.
I said in my project.properties:
--%<------
maven.war.classes.includes=**/*.properties ,
**/*.class
---%<---------
and this just lead to omission of everything from this
directory.
I see from plugin.jelly that this results in:
---%<----------
<j:if test="${sourcesPresent == 'true'}">
<classes dir="${maven.build.dest}">
<include
name="${maven.war.classes.includes}" />
<exclude
name="${maven.war.classes.excludes}" />
</classes>
</j:if>
---%<------------
and from ant documentation this shall be OK.
But digging into sources of ant produced that
<includes> would be more preferable option to setting
several patterns.
After I changed above snippet to be:
---%<----------
<j:if test="${sourcesPresent == 'true'}">
<classes dir="${maven.build.dest}">
<includes
name="${maven.war.classes.includes}" />
<excludes
name="${maven.war.classes.excludes}" />
</classes>
</j:if>
---%<------------
everything works just fine.
Need a patch?
regards,
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: SOLVED : Strange behavior of war plugin #*@!
Posted by Tim Anderson <tm...@netspace.net.au>.
There's already a patch in jira for this:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-474
Regards,
Tim
> -----Original Message-----
> From: Konstantin Priblouda [mailto:kpriblouda@yahoo.com]
> Sent: Monday, 16 June 2003 7:46 PM
> To: Maven Developers List
> Subject: SOLVED : Strange behavior of war plugin #*@!
>
>
> Well, I fould where problem was.
>
> I said in my project.properties:
>
> --%<------
> maven.war.classes.includes=**/*.properties ,
> **/*.class
> ---%<---------
>
> and this just lead to omission of everything from this
> directory.
>
> I see from plugin.jelly that this results in:
> ---%<----------
> <j:if test="${sourcesPresent == 'true'}">
> <classes dir="${maven.build.dest}">
> <include
> name="${maven.war.classes.includes}" />
> <exclude
> name="${maven.war.classes.excludes}" />
> </classes>
> </j:if>
> ---%<------------
>
> and from ant documentation this shall be OK.
> But digging into sources of ant produced that
> <includes> would be more preferable option to setting
> several patterns.
>
> After I changed above snippet to be:
> ---%<----------
> <j:if test="${sourcesPresent == 'true'}">
> <classes dir="${maven.build.dest}">
> <includes
> name="${maven.war.classes.includes}" />
> <excludes
> name="${maven.war.classes.excludes}" />
> </classes>
> </j:if>
> ---%<------------
>
> everything works just fine.
>
> Need a patch?
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verstdrkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] f|r die Festanstellung.
> Arbeitsort: Mainz
> Skills: Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: SOLVED : Strange behavior of war plugin #*@!
Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Vincent Massol <vm...@pivolis.com> wrote:
> Applied. Can you please verify it works?
>
perfectly.
thanks.
regards,
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: SOLVED : Strange behavior of war plugin #*@!
Posted by Vincent Massol <vm...@pivolis.com>.
Applied. Can you please verify it works?
Thanks
-Vincent
> -----Original Message-----
> From: Konstantin Priblouda [mailto:kpriblouda@yahoo.com]
> Sent: 16 June 2003 11:46
> To: Maven Developers List
> Subject: SOLVED : Strange behavior of war plugin #*@!
>
> Well, I fould where problem was.
>
> I said in my project.properties:
>
> --%<------
> maven.war.classes.includes=**/*.properties ,
> **/*.class
> ---%<---------
>
> and this just lead to omission of everything from this
> directory.
>
> I see from plugin.jelly that this results in:
> ---%<----------
> <j:if test="${sourcesPresent == 'true'}">
> <classes dir="${maven.build.dest}">
> <include
> name="${maven.war.classes.includes}" />
> <exclude
> name="${maven.war.classes.excludes}" />
> </classes>
> </j:if>
> ---%<------------
>
> and from ant documentation this shall be OK.
> But digging into sources of ant produced that
> <includes> would be more preferable option to setting
> several patterns.
>
> After I changed above snippet to be:
> ---%<----------
> <j:if test="${sourcesPresent == 'true'}">
> <classes dir="${maven.build.dest}">
> <includes
> name="${maven.war.classes.includes}" />
> <excludes
> name="${maven.war.classes.excludes}" />
> </classes>
> </j:if>
> ---%<------------
>
> everything works just fine.
>
> Need a patch?
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verstärkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] für die Festanstellung.
> Arbeitsort: Mainz
> Skills: Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org