ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33192] - java task doesn't pass debug options properly.
Date Sat, 22 Jan 2005 03:09:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33192>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33192





------- Additional Comments From surfer97301@yahoo.com  2005-01-22 04:09 -------
It does however work if i directly insert the value into the ant target like so:

<target name="run-server">
		<echo message="hello ${jvm.options}"/>
		<java dir="${project.release.tempdir}" jar="${project.release.jar}"  fork="true">
			<arg line="server" />
			<jvmarg line="-Xdebug
-Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=20501"/>
		</java>
	</target>

and then the verbose output looks like it properly splits the string into
arguments.  

     [java] Executing 'F:\program files\j2sdk14204\jre\bin\java.exe' with arguments:
     [java] '-Xdebug'
     [java] '-Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=20501'
     [java] '-jar'
     [java] 'C:\projects\scjd\release-temp\runme.jar'
     [java] 'server'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
     [java] Attempting to save fields
     [java] setting (port, 1099)
     [java] setting (database.location, db-1x1.db)
     [java] Start Server


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message