Conor MacNeill
40cfacf23b
Make new TSTAMP code compile with JDK 1.2 (and 1.1)
Thanks Martin.
Reported by: Martin POESCHL <Martin.POESCHL@sds.at>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268406 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
e48fc02b3f
Add the ability to specify time offsets when generating time/date property
strings.
Example usage:
<target name="dateformats">
<tstamp>
<format property="now" pattern="dd/MM/yyyy HH:mm:ss.SS"/>
<format property="then" offset="-1" unit="year"
pattern="dd/MM/yyyy HH:mm:ss.SS"/>
</tstamp>
<echo message="now = ${now}, then = ${then}"/>
</target>
Supported units are millisecond, second, minute, hour, day, week, month,
year. The unit is case insensitive
Based on the suggestion of Thomas Christen <chr@active.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268405 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
af1d9f41bb
Fixed up the use of _JAVACMD when using Jikes.
Submitted by: Jeff Bailey <JBailey@digitalboardwalk.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268404 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
1cf34e1094
Fixed resource problems, and changed mechanism by which resources are passed to
the actions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268403 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
81181e0ce9
Initial, non-working commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268402 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
1c4e85e077
Removed reference to ProjectDocument.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268401 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
4791ccae3f
General documentation update.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268400 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
a290cb16d7
Added doc for new trax support for the <style> task. Also minor reflowing
of lines in WHATSNEW to fit into 80 columns.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268399 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
03d7f7d695
Reset the global flags that say we have a MANIFEST.MF/web.xml after
execute has been run.
<jar> would print a warning in Ant's own bootstrap when it zipped
ant.jar for the second time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268398 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
e92741fae9
Add some error checking to new TSTAMP format element
Documentation fro tstamp and javac changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268397 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
3d76bc5d3a
Provide a failonerror attribute for javac. This defaults to true. If you set it to
false, an error is logged but the build will continue.
Based on the idea by Ken Wood.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268396 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
1733506854
TraX support should be optional!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268395 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
70ea62a03d
Added a TraX liaison for the <style> task. This enables Apache's Xalan2
and Sun's JAXP1.1 implementations to be used.
I don't expect many developers to have multiple XSLT implementations in
their classpath, but if they do, I made the TraX liaison the default
for several reasons:
1) It is standard
2) It is the most modern interface
3) It is designed as an pluggable interface, so in theory (though perhaps
down the road a bit), it should be the only liaison required.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268394 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b411046cdc
Minor logging changes in depend task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268393 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
89d6f7f407
Fixed some typos, avoid NullPointerException when dependency cache and
actually existing class files have run out of sync (would try to
access information about a non-existent class file).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268391 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
aa9e0c2342
I've committed Rob's timestamp patch with a few minor changes.
Submitted by: Rob Oxspring <roxspring@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268390 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
ea39aec310
Remove duplicate invocation of ant
Submitted by: Paul Philion <philion@acmerocket.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268389 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
b57bb4004d
patch by will stranathan will@thestranathans.com that fixes the path
separator to whatever the system one is.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268388 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
503663ee2b
Add nested param element to the style task.
Also allow an input and output file to be specified.
Submitted by: Jeff Martin <jmartin@silacom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268387 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6a56c52192
Fixing up "damaged" licence info in some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268386 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
0bfa36507c
Fix up copyright statements - increase consistency about placement, etc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268385 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
ff273e3a3e
updated cygwin support
Submitted By: Bill Burton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268384 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
ba0d3f2a3e
Control the order in which the system and build classpaths are combined
via a new property: build.sysclasspath.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268383 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
d9dc37613d
Major package reorganization.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268382 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
736bd1b658
A fun little task to play a sound at the end of a build.
I got tired of waiting for some else to commit it. I made some
small mods to Nick original proposal.
Submitted by: Nick Pellow <nick@cortexebusiness.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268381 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
44d572de88
Added the JAXP reference distribution jars to make it easier to build
ant out of the box. Ant should now build with an empty classpath. I haven't made
the changes for Unix scripts yet.
Also separated the building of ant.jar and optional.jar so that local
builds should more closely match distributions. There is a lot of duplication
between a normal build and a distribution build which can probably be readily
removed now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268380 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
d2d72df770
Added UML diagrams for reference.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268379 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
0e42aeeada
Untabifyin'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268378 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a2ba0e964f
Updated JUnit documentation to reflect the new todir attribute.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268377 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
0460449d55
1 more 2 do
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268376 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
7bfb091f70
Added (draft) instructions for people interesting in implementing new
modules for Antidote.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268375 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
8f1c824449
Changed "AntEditor" to "AntModule", and made construct more JavaBean
compliant (primarily a default ctor). Now has "contextualize()" method
that modules must implement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268374 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
14440efdc9
added patch by mariusz to fix NPE in UpToDate task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268373 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3a3312cb52
Avoid NullPointerException in <delete> if the current user is not
allowed to list the contents of a directory.
Reported by: "NIkhil R. Deshpande" <nikhild@flashmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268372 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
34c0080c09
Add a nested mapper element to <native2ascii> to (1)give it more power
and (2) only convert those files that have actually changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268371 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d2eddd7e4d
Avoid NullPointerException in JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268370 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c007edc9da
Make testcases work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268369 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6960c203e4
Make the directory for the output of <junit> configurable.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268368 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
5c3ef04a5a
oops - forgot to add contents of directory ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268367 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0c19b8e359
Deprecated the optional <renameext> task as its functionality has been
superseded by the built-in <move> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268366 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
c11c539ba3
Added a new logger that will not print out target banners if they don't produce any output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268365 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
043365afe4
A new proposal to shake the tree that unifies everything to a task.
Submitted By: "James Cook" <jimcook@iname.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268364 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
de31daa803
Added bash shell scripts.
Submitted By: Josh Lucas <josh@stonecottage.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268363 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
71153da8ab
Updated documentation for new attribute
Submitted By: Jaco de Groot <jaco.de.groot@eo.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268362 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
aed4ad8602
A new proposal for next-gen Ant. Focusing on concepts of workspaces, segregated projects and ease of use.
Submitted By: Matt Foemmel <mpfoemme@ThoughtWorks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268361 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
584cbc7ad0
Added the attribute preservelastmodified to copy task.
Sunmitted By: Jaco de Groot <jaco.de.groot@eo.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268360 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
f405433e68
Changed order of variable includes to make it now work when LOCALCLASSPATH="". The reason is that "blah.jar;" is a valid classpath while ";blah.jar" is not.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268359 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
e84526a725
Fix for "The output level logic was backward - it would print this line only if you had a low output level."
Submitted by:"Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268358 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
411d9ef9b9
Automagic detection of ANT_HOME for windows NT/2000
Submitted by: "Vincent Bergbauer" <vincent_bergbauer@yahoo.com> via Louis Tribble <louis.tribble@metamata.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268357 13f79535-47bb-0310-9956-ffa450edef68
25 years ago