You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/14 10:54:28 UTC
[jira] Created: (MAVEN-1548) excludes in are ignored if there are defined in the properties
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1548
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1548
Summary: excludes in <fileset> are ignored if there are defined in the properties
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
jelly/ant integration
Versions:
1.0.2
Assignee:
Reporter: Alexander Rupsch
Created: Fri, 14 Jan 2005 4:53 AM
Updated: Fri, 14 Jan 2005 4:53 AM
Description:
See the following example:
project.properties:
exclude=**/exclude/**
maven.xml:
<goal name="bug:excludes">
<echo>${exclude}</echo>
<copy todir="${basedir}/failes">
<fileset dir="${basedir}/test" excludes="${exclude}"/>
</copy>
<copy todir="${basedir}/works">
<fileset dir="${basedir}/test" excludes="**/exclude/**"/>
</copy>
</goal>
The dir "exclude" under "test" will be copied in the first copy
statment (=> filter is ignored). The second statment, which uses
the same filter expression, will work as expexted. if ${exclude}
would be a varaible set somewere in the maven.xml it would work
except the variable is initialized whith the content of the an
property.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1548) excludes in are ignored if there are defined in the properties
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1548?page=all ]
Brett Porter closed MAVEN-1548:
-------------------------------
Resolution: Cannot Reproduce
exact example works for me in 1.0.2
> excludes in <fileset> are ignored if there are defined in the properties
> ------------------------------------------------------------------------
>
> Key: MAVEN-1548
> URL: http://jira.codehaus.org/browse/MAVEN-1548
> Project: maven
> Type: Bug
> Components: jelly/ant integration
> Versions: 1.0.2
> Reporter: Alexander Rupsch
>
>
> See the following example:
> project.properties:
> exclude=**/exclude/**
> maven.xml:
> <goal name="bug:excludes">
> <echo>${exclude}</echo>
> <copy todir="${basedir}/failes">
> <fileset dir="${basedir}/test" excludes="${exclude}"/>
> </copy>
> <copy todir="${basedir}/works">
> <fileset dir="${basedir}/test" excludes="**/exclude/**"/>
> </copy>
> </goal>
> The dir "exclude" under "test" will be copied in the first copy
> statment (=> filter is ignored). The second statment, which uses
> the same filter expression, will work as expexted. if ${exclude}
> would be a varaible set somewere in the maven.xml it would work
> except the variable is initialized whith the content of the an
> property.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org