[ http://jira.codehaus.org/browse/MANTRUN-43?page=all ]
Vincent Siveton closed MANTRUN-43. ---------------------------------- Assignee: Vincent Siveton Resolution: Fixed Fix Version/s: 1.2 Already fixed in SVN > Standard ant properties are missing > ----------------------------------- > > Key: MANTRUN-43 > URL: http://jira.codehaus.org/browse/MANTRUN-43 > Project: Maven 2.x Antrun Plugin > Issue Type: Improvement > Affects Versions: 1.1 > Environment: Windows XP, Cygwin > Reporter: Mark Hobson > Assigned To: Vincent Siveton > Fix For: 1.2 > > Attachments: test.zip > > > Standard ant properties don't seem to be evaluated within antrun. See > attached example - using ant: > [EMAIL PROTECTED] test]$ ant > Buildfile: build.xml > test: > [echo] user.home = C:\Documents and Settings\mark > BUILD SUCCESSFUL > Total time: 0 seconds > Using maven: > [EMAIL PROTECTED] test]$ mvn package > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Unnamed - test:test:jar:1.0 > [INFO] task-segment: [package] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > test: > [echo] user.home = ${user.home} > [INFO] Executed tasks > [INFO] [compiler:compile] > [INFO] No sources to compile > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [WARNING] JAR will be empty - no content was marked for inclusion! > [INFO] Building jar: c:\Documents and > Settings\mark\Desktop\test\target\test-1.0.jar > [INFO] > ---------------------------------------------------------------------------- > [INFO] BUILD SUCCESSFUL > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 4 seconds > [INFO] Finished at: Mon Feb 20 21:07:31 GMT 2006 > [INFO] Final Memory: 4M/8M > [INFO] > ---------------------------------------------------------------------------- -- 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