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 Tue, 25 Jan 2005 07:44:35 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-25 08:44 -------
You were correct, the problem was the quotes in the properties file.  First
thank you to everyone who read through my bug report and helped me to solve my
issue!!  Also thanks for all the development on Ant, it is a great tool!    

In an effort to make it better/easier to use I can think of a couple things.

The first thing that would have helped me out would be if the verbose output for
ant had been a little more helpful and showed the command how it would have been
run.  Then I could have seen that the quotes were causing the problem when I
tried to run the output.

Instead of outputing something like:

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

Could you not output something like:

     [java] F:\program files\j2sdk14204\jre\bin\java.exe" "-Xdebug
-Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=20501" -jar
C:\projects\scjd\release-temp\runme.jar server

or is there really no easy way to output the commandline equivalent of the call
in the verbose output?

The final thing that might be nice is if on the using page
http://ant.apache.org/manual/using.html you had a little excerpt of code like
comment #5 of this bug showing how to use a basic property file to propagate
values to ant and commenting on how using quotes around your values is
unnecessary and can lead to problems.  Even just the little example would likely
be quite helpful as this feature is quite useful.

Thanks again!




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