You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ir...@t-systems.com on 2008/06/16 16:45:07 UTC

javac options

Hi All,

 

I need to understand the meaning of following lines. I searched lot but
did not get anything. Please help. 

 

I did not get the meaning of debug,deprecation,optimize,classpath refid
options in javac tasks.

 

<javac srcdir="."

          destdir="classess"

            debug="${compile.debug}"

      deprecation="${compile.deprecation}"

         optimize="${compile.optimize}">

    <classpath refid="compile.classpath"/>

    </javac>

 

Regards

Irfan.

 

 


Re: javac options

Posted by "Scot P. Floess" <fl...@mindspring.com>.
Many of the options you list are the same that javac takes command line. 
However, for refid its a refid to a classpath variable set up elsewhere in 
your build script.

You might take a look at the online Ant docs w/ regards to path's and 
refid's...



On Mon, 16 Jun 2008, Irfan.Sayed@t-systems.com wrote:

> Hi All,
>
>
>
> I need to understand the meaning of following lines. I searched lot but
> did not get anything. Please help.
>
>
>
> I did not get the meaning of debug,deprecation,optimize,classpath refid
> options in javac tasks.
>
>
>
> <javac srcdir="."
>
>          destdir="classess"
>
>            debug="${compile.debug}"
>
>      deprecation="${compile.deprecation}"
>
>         optimize="${compile.optimize}">
>
>    <classpath refid="compile.classpath"/>
>
>    </javac>
>
>
>
> Regards
>
> Irfan.
>
>
>
>
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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