You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jiangyongyuan (JIRA)" <ji...@codehaus.org> on 2010/03/02 10:32:56 UTC

[jira] Created: (MANTRUN-130) ant task apply is wrong by PlexusConfiguration

ant task apply is wrong by PlexusConfiguration
----------------------------------------------

                 Key: MANTRUN-130
                 URL: http://jira.codehaus.org/browse/MANTRUN-130
             Project: Maven 2.x Antrun Plugin
          Issue Type: Bug
         Environment: maven 2.0.7
            Reporter: jiangyongyuan


run this ant task plugin , the pom file is :
<executions>
	<execution>
		<phase>test</phase>
		<goals>
			<goal>run</goal>
		</goals>
		<configuration>
			<tasks>
				<apply executable="echo" >
					<fileset dir=".">
					</fileset>
					<srcfile />
					<arg value="-o" />
					<targetfile />
					<mapper type="glob" from="*" to="*" />
				</apply>
			</tasks>
		</configuration>
	</execution>
</executions>

than the PlexusConfiguration parse :
<apply executable="echo" >
	<fileset dir=".">
	</fileset>
	<arg value="-o" />
	<srcfile />
	<targetfile />
	<mapper type="glob" from="*" to="*" />
</apply>

the goal result : file1.txt -o file1.txt
the error result : -o file1.txt file1.txt


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

        

[jira] Closed: (MANTRUN-130) ant task apply is wrong by PlexusConfiguration

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MANTRUN-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies closed MANTRUN-130.
------------------------------------

    Resolution: Incomplete
      Assignee: Benson Margulies

I don't see what is being complained about here. Ant and plexus might well disagree. So what?

> ant task apply is wrong by PlexusConfiguration
> ----------------------------------------------
>
>                 Key: MANTRUN-130
>                 URL: https://jira.codehaus.org/browse/MANTRUN-130
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>         Environment: maven 2.0.7
>            Reporter: jiangyongyuan
>            Assignee: Benson Margulies
>
> run this ant task plugin , the pom file is :
> <executions>
> 	<execution>
> 		<phase>test</phase>
> 		<goals>
> 			<goal>run</goal>
> 		</goals>
> 		<configuration>
> 			<tasks>
> 				<apply executable="echo" >
> 					<fileset dir=".">
> 					</fileset>
> 					<srcfile />
> 					<arg value="-o" />
> 					<targetfile />
> 					<mapper type="glob" from="*" to="*" />
> 				</apply>
> 			</tasks>
> 		</configuration>
> 	</execution>
> </executions>
> than the PlexusConfiguration parse :
> <apply executable="echo" >
> 	<fileset dir=".">
> 	</fileset>
> 	<arg value="-o" />
> 	<srcfile />
> 	<targetfile />
> 	<mapper type="glob" from="*" to="*" />
> </apply>
> the goal result : file1.txt -o file1.txt
> the error result : -o file1.txt file1.txt

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira