If i use other compilor , will it help me to solve the problem. -----Original Message----- From: Vijay Shinde [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 5:52 PM To: Ant Users List Subject: Re: Javac Task(Urgent Help)
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:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 1:33 PM > To: Ant Users List > Subject: RE: Javac Task(Urgent Help) > > > -----Original Message----- > > From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > > > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>