You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by JS developer <js...@rediffmail.com> on 2005/07/13 08:59:13 UTC
Must-see for all ant beginners
hi all, this is a must-see for all beginners with ant
http://wiki.apache.org/ant/TheElementsOfAntStyle
Regards
JS
uptodate not working
Posted by Neeraj Kumar <ne...@gmail.com>.
<uptodate
property="h.isUpToDate2"
srcfile="${src.dir}/com/company/disclosure/pcrf/Constants.java"
targetfile="${build.dir}/classes/com/company/disclosure/pcrf/Constants.class"
/>
<echo>h.isUpToDate2: ${h.isUpToDate2} </echo>
<uptodate property="h.isUpToDate3">
<srcfiles
dir="${src.dir}"
includes="**/Constants.java" />
<mapper type="glob"
from="*.java"
to="${build.dir}/classes/*.class"/>
</uptodate>
<echo>h.isUpToDate3: ${h.isUpToDate3} </echo>
Both the uptodate are checking for the same thing. But no matter what
I do the value of isUpToDate3 is never true even when the value of
isUpToDate2 is true. What am I missing here? I believe the value of
isUpToDate2 and isUpToDate3 should always be same.
I actually want the isUpToDate3 format and in the process of
debugging I created isUpToDate2 just to make sure that 'uptodate' is
actually working.
Thanks.
- Neeraj
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Must-see for all ant beginners
Posted by "Paul Munsey (pmunsey)" <pm...@cisco.com>.
Karunakar,
I'm using Ant against .dsw files using the <exec> tag and the "msdev"
executable. For example:
<exec executable="msdev" dir=".">
<arg value="abc.dsw"/>
<arg value="Release"/>
<arg value="/MAKE"/>
<arg value="all"/>
</exec>
This will build all projects for the Release configuration (I think :))
Paul
-----Original Message-----
From: Karunakar Chatla [mailto:karunakarc@cybage.com]
Sent: Wednesday, July 13, 2005 1:51 AM
To: Ant Users List; JS developer
Subject: Re: Must-see for all ant beginners
Hi,
Can anybody help me in this regard?
I am currently using ANT in my project. I have following queries -
1) I have the requirement to build a C++ project( .dsw file ).
How can I do this, as I didn't find any direct support in ANT Task list?
2) Can I publish an HTML page on a web page using ANT?
Thanks,
Karunakar Chatla
----- Original Message -----
From: "JS developer" <js...@rediffmail.com>
To: <us...@ant.apache.org>
Sent: Wednesday, July 13, 2005 12:29 PM
Subject: Must-see for all ant beginners
hi all, this is a must-see for all beginners with ant
http://wiki.apache.org/ant/TheElementsOfAntStyle
Regards
JS
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Must-see for all ant beginners
Posted by Karunakar Chatla <ka...@cybage.com>.
Hi,
Can anybody help me in this regard?
I am currently using ANT in my project. I have following queries -
1) I have the requirement to build a C++ project( .dsw file ).
How can I do this, as I didn't find any direct support in ANT Task list?
2) Can I publish an HTML page on a web page using ANT?
Thanks,
Karunakar Chatla
----- Original Message -----
From: "JS developer" <js...@rediffmail.com>
To: <us...@ant.apache.org>
Sent: Wednesday, July 13, 2005 12:29 PM
Subject: Must-see for all ant beginners
hi all, this is a must-see for all beginners with ant
http://wiki.apache.org/ant/TheElementsOfAntStyle
Regards
JS
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org