ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Shinde <Vijay.Shi...@morganstanley.com>
Subject Re: Javac Task(Urgent Help)
Date Wed, 10 Apr 2002 21:51:52 GMT
This is my setting works fine..

<target name="compile" depends="" description="Compile Java source code">
  <!-- Compile the java code from ${src} into ${build} -->
  <javac srcdir="${src}" destdir="${build}" debug="on" deprecation="on">
   <classpath refid="project.class.path"/>
  </javac>
 </target>

subhendukumar mohanty wrote:

> What is the "depend" attribute does in javac task. Whether it will help me to solve the
problem.
>
> -----Original Message-----
> From: Daniel Barclay [mailto:dbarclay@mercator.com]
> Sent: Wednesday, April 10, 2002 1:33 PM
> To: Ant Users List
> Subject: RE: Javac Task(Urgent Help)
>
> > -----Original Message-----
> > From: Dominique Devienne [mailto:DDevienne@lgc.com]
>
> > Failing on compile errors is entirely reasonable to most
> > people. If you
> > really want to build as many jars as possible, do not compile all the
> > classes at onee. Compile only the classes of each jar by using the
> > appropriate <src>, <include>, <exclude>, <patternset>, etc...
> > sub-elements
> > of <javac> and package these up. The problem with this
> > approach is that
> > you're going to have a hard time finding out if it's a good
> > build or not
> > without scanning all the log of the build...
>
> Can Ant set a property (or write to a file) based on the result
> (success or failure) of a task?
>
> If so, one could compile groups of classes with failonwhateverthatwas
> set to false (to get as much compiled as possible (roughly)), and then
> compile everything with the result status noted somewhere to report
> whether the build was good.
>
> Daniel
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


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


Mime
View raw message