You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eduardo Yáñez Parareda <ed...@gmail.com> on 2005/09/08 12:43:06 UTC

javac debug option

Hi all, Which is the value I have to assign to 'debug' option of javac task?

Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says
that debug may be assigned to 'true', but in the examples it is
assigned to 'on'.

Who says the truth?

-- 
/ Eduardo Yáñez Parareda /

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


Re: javac debug option

Posted by Conor MacNeill <co...@apache.org>.
Eduardo Yáñez Parareda wrote:
>>>Who says the truth?
>>>
>>
>>Both :)
>>Boolean attributes can have values like 'true', 'on', ... they mean the same
> 
> 
> Is it possible that in older versions of ant was there a bug that
> using 'on' instead of 'true'
> didn't work fine?
> 

I doubt it. What versions are you thinking of?

Conor

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


Re: javac debug option

Posted by Eduardo Yáñez Parareda <ed...@gmail.com>.
> >Who says the truth?
> >
> Both :)
> Boolean attributes can have values like 'true', 'on', ... they mean the same

Is it possible that in older versions of ant was there a bug that
using 'on' instead of 'true'
didn't work fine?

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


Re: javac debug option

Posted by Nicolas Vervelle <ni...@steria.com>.

Eduardo Yáñez Parareda wrote:

>Hi all, Which is the value I have to assign to 'debug' option of javac task?
>
>Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says
>that debug may be assigned to 'true', but in the examples it is
>assigned to 'on'.
>
>Who says the truth?
>
Both :)
Boolean attributes can have values like 'true', 'on', ... they mean the same



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


Re: javac debug option

Posted by Barry White <bw...@fotango.com>.
Is your problem that you have set it to true/on and it does not seem to 
be having any effect? If so have you specified debuglevel also? I was 
just having a quick look at the docs for javac task:

"If set to true, the value of the debuglevel attribute determines the 
command line argument."

Barry

Eduardo Yáñez Parareda wrote:
> Hi all, Which is the value I have to assign to 'debug' option of javac task?
> 
> Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says
> that debug may be assigned to 'true', but in the examples it is
> assigned to 'on'.
> 
> Who says the truth?
> 

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