DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 [EMAIL PROTECTED] 2006-01-23 10:26 --- (In reply to comment #3) (In reply to comment #2) the compilerarg element in a javac task has no effect. see below. I cannot run the command line because arg list is too long. Thanks. What exactly makes you say the arg list is too long? if I run javac */*/*.java, it says arg list is too long, but this is a system problem, not an ant problem. In fact, it hasn't no effect, but it sends the help stack (as if javac doesn't understand the option) - see the next message - Thks -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2006-01-23 10:56 --- marking as invalid arg value params are single arguments. Ant does not build up a command line string to send to the shell, it builds up an array of arguments to hand off to exec. Even if there is spaces or quotes in a value, it is still one argument. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 [EMAIL PROTECTED] 2006-01-20 15:04 --- (In reply to comment #2) the compilerarg element in a javac task has no effect. see below. I cannot run the command line because arg list is too long. Thanks. What exactly makes you say the arg list is too long? -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 [EMAIL PROTECTED] 2006-01-20 18:30 --- 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. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler
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 No attribute for -X option with javac compiler [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2004-04-01 21:38 --- Due to the ever-changing nature of compiler arguments, in addition to the dubious use of non-standard -X options, there is a ready workaround. See the nested compilerarg element of the javac task. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]