compilerarg -Xmaxwarns fails
1 posts in topic
Flat View  Flat View

Posted By:   A_Basu
Posted On:   Friday, September 5, 2008 07:05 PM

To javac task, I have added:

compilerarg value="-Xlint:all,-serial"

compilerarg value="-Xmaxwarns 200"

I get:

[javac] javac: invalid flag: -Xmaxwarns 200

[javac] Usage: javac

[javac] use -help for a list of possible options

am using javac 1.6.0_03, Apache Ant version 1.7.1

Re: compilerarg -Xmaxwarns fails

Posted By:   Anonymous  
Posted On:   Tuesday, November 11, 2008 05:21 AM

You may specify only one value=

to specify more, use line=

About | Sitemap | Contact