Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1116 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-1116 Summary: outputproperty, error and resultproperty in ant:java task are not populated Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Assignee: Reporter: Jake Ewerdt Created: Fri, 9 Jan 2004 4:12 PM Updated: Fri, 9 Jan 2004 4:12 PM Environment: java 1.3.1 ant 1.6 maven 1.0-rc1 Description: ==== Java file ==== package com.jake; public class Jake { public static void main(String []args) { System.out.println("Regular Output"); System.err.println("Error Output"); System.exit(1); } } ==== build.xml target ==== <target name="java-output"> <path id="test.classpath"> <fileset dir="target/classes"><include name="com/jake/Jake.class" /></fileset> </path> <java classname="com.jake.Jake" classpath="target/classes" fork="true" failonerror="false" outputproperty="testoutput" errorproperty="testerror" resultproperty="testresult" /> <echo message="testresult = ${testresult}" /> <echo message="testerror = ${testerror}" /> <echo message="testoutput = ${testoutput}" /> </target> ==== maven.xml goal ==== <goal name="java-output"> <path id="test.classpath"> <fileset dir="target/classes"><include name="com/jake/Jake.class" /></fileset> </path> <java classname="com.jake.Jake" classpath="target/classes" fork="true" failonerror="false" outputproperty="testoutput" errorproperty="testerror" resultproperty="testresult" /> <echo message="testresult = ${testresult}" /> <echo message="testerror = ${testerror}" /> <echo message="testoutput = ${testoutput}" /> </goal> ++++ Ant output ++++ java-output: [java] Java Result: 1 [echo] testresult = 1 [echo] testerror = Error Output [echo] testoutput = Regular Output ++++ Maven output ++++ java-output: [java] Regular Output [java] Error Output [java] [ERROR] Java Result: 1 [echo] testresult = [echo] testerror = [echo] testoutput = --------------------------------------------------------------------- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
