javac options

View: New views
2 Messages — Rating Filter:   Alert me  

javac options

by Irfan.Sayed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Scot P. Floess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... 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@...
For additional commands, e-mail: user-help@...

LightInTheBox - Buy quality products at wholesale price