You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by st...@cyberspace.org on 2002/04/24 08:00:48 UTC
compiling again
hi
without making any changes to my java sources if I run ant again
it still compiles all the files. what could be the problem?
Further I do not understand how ant identifies whether to execute
a target or not.
In Makefile we used to specify
a.out: myfile.c
cc myfile.c
but in build.xml, I do not see the java file being specified
in the 'depends' clause.
thanks,
st.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compiling again
Posted by st...@cyberspace.org.
Quoting Stefan Bodewig (bodewig@apache.org):
> On Wed, 24 Apr 2002, <st...@cyberspace.org> wrote:
>
> > I would like the javac task to be verbose and list out the name of
> > every source file it compiles. Is this possible?
>
> ant -verbose should do the trick.
>
thanks, that was helpful. srcdir and destdir were indeed different.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compiling again
Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 24 Apr 2002, <st...@cyberspace.org> wrote:
> I would like the javac task to be verbose and list out the name of
> every source file it compiles. Is this possible?
ant -verbose should do the trick.
<http://jakarta.apache.org/ant/problems.html#Examine%20Debug%20Output>
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compiling again
Posted by st...@cyberspace.org.
Quoting Stefan Bodewig (bodewig@apache.org):
> On Wed, 24 Apr 2002, <st...@cyberspace.org> wrote:
>
> > without making any changes to my java sources if I run ant again
> > it still compiles all the files. what could be the problem?
>
> <http://jakarta.apache.org/ant/faq.html#always-recompiles>
I have the directory structure correctly, AFAIK. But ant still
recompiles. I would like the javac task to be verbose and list
out the name of every source file it compiles. Is this possible?
st.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compiling again
Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 24 Apr 2002, <st...@cyberspace.org> wrote:
> without making any changes to my java sources if I run ant again
> it still compiles all the files. what could be the problem?
<http://jakarta.apache.org/ant/faq.html#always-recompiles>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>