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 28142] - No attribute for -X option with javac compiler
Date Mon, 23 Jan 2006 09:36:34 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=28142>.
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=28142





------- Additional Comments From jycherbonnier@paradigmgeo.com  2006-01-23 10:36 -------
(In reply to comment #4)
> Should it be <compilerarg line="-Xmaxerrs 1000"/> ? "value" attribute is for a
> single argument, but you are passing two arguments together. Another possibility
> is to put two <compilerarg value="..."/> elements, but it is important only if
> you have spaces in the arguments.

Yep, it seems to be a problem of blanks, because if I put the "-Xswitchcheck" it
runs well.So, I put the args on two lines now :
 <compilerarg value="-Xmaxerrs"/>
 <compilerarg value="1000"/>

And it works !!! (a bit strange however) - Thanks to all.
I let you guys change the status of the bug.



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