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
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
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
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
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
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
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
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
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
Stefan Bodewig
12509319df
Make documentation of <project>'s attributes reflect reality (and vice
versa).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268353 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8f2c9066b3
Reverse changes and reinstate fileset + prefixedfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268348 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8e955e3a2e
Patch to unify handling of prefix filesets between war/jar/zip.
It also removes a number of small errors in zip task.
Deprecated <prefixedfileset> element of war in favour of normal <fileset> element in zip
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268344 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
f358a34a1d
Adapted Signjar so that it does not run every time unless absolutely required (or unable to be determined if required).
Submitted By: keeskuip@technologist.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268336 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
bca3e675c3
Fixed a number of bugs with new Zip modifications.
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268334 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9b36df2db1
Missed a hardcoded indent character.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268331 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d886d50323
Moved the common code from XmlLogger and XMLJUnitResultLogger into a
new class.
Wrap nested text into <![CDATA[ ]]> and replace special characters in
attribute values correctly.
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268330 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3eebdfd1c8
Fixed NullPointerException in <copy> when <mapper> and overwrite have
been used at the same time.
Reported by: Raphael PIERQUIN <pierquin@agisphere.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268329 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2295e485c4
Allow for zip files that contain nothing but empty directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268328 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
9e2e9dbcf9
moved PrefixFileSets from War Task to Zip task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268327 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
cc3fb0c926
Load environment variables either when a task is explictly executed ( <property environment="blah" /> where blah will be prefixed to every variable). Also load it when env elements are specified to exec calls.
Submitted By: Jose Alberto Fernandez <JFernandez@viquity.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268325 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
d741f56d0b
Change behaviour to log a warning rather than throwing an exception. I had
to pass in the project object to get access to logging, unfortunately.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268323 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
5ccd2bcf73
Throw a BuildException when an attempt is made to use a property which has
not been set. Any build files which rely on non-set properties being passed
through untranslated will now break.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268322 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
795157a46f
Make perforce tasks work on Windows 2000 as well.
Reported by: Craig Kelley <ckelley@HotPOP.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268321 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
be29c38722
added setQuiet option to emulate a rm -f
i can't actually test this code since i can't even get Ant to compile.
maybe someone else would like to test it for me?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268296 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
963798591e
Finally make <taskdef>s with nested classpath elements work wherever
they are.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268283 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4c27dd1648
Partially revert the last patch as it made taskdef work by breaking
property. Now everything is as it has been before, including the
failing taskdef.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268282 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
193ff8a349
Make sure, Taskdef.execute doesn't get called before the nested
elements have been configured.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268281 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
06f1d441ca
Better remove debug statements before you commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268280 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ecfa6b9a0c
Handle multi line responses of SMTP servers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268279 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
47ba7d22e2
Allow the user to specify a FileNameMapper by class name - and set the
classpath to load it from.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268278 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d2d785c408
Tasks for ClearCase support.
Submitted by: Curtis White <soaro77@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268277 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a638a40bcd
Fixed <property resource="...">. The old implementation would serach
for org/apache/tools/ant/taskdefs/RESOURCE when RESOURCE was a
relative filename (this is the main difference between
Class.getResource and ClassLoader.getResource).
Reported by: Jason Rosenberg <jason@squaretrade.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268276 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7846d336a3
Tell the user that <property resource="..."> failed - if it fails.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268274 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c8ec94305b
Added a nested <mapper> element to <uptodate>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268269 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
501afc7e20
Get rid of javadoc warning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268268 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
758b225e9a
Various changes to <rmic>.
* uses home brewed FileNameMapper that will do verifications as well.
* improved logging - includes redirecting the rmic output.
* It won't try to compare the timestamp of the file to compile with
some corresponding _Skel file anymore if stub version is 1.2. This bug
resulted in all files being rmic'd on every pass - reported by Elardus
Viljoen <elv@ucs.co.za> on ant-user.
* Doesn't require you build directory to be in the CLASSPATH to use
the verify feature anymore. This has been reported by somebody, but
I've forgotten the name, sorry.
* Improved some setter methods to accept File arguments and use
Commandline instead of a String[] of precalculated size.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268267 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4a99751448
Take into account that lastModified times are rounded up to the next
two second interval by Windows.
Submitted by: Roger Vaughn <rogervaughn@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268266 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4c5c8d89be
Moved the instantiation of the RE matcher to a factory. Users can now
choose an implementation of there own by setting a system property.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268264 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
29378f767f
Only set the project name if it has one (the name attribute of
<project> has been set).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268263 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a13422639a
Added IIOP and IDL options to <rmic>
Submitted by: John Moore <JohnMoore@PDSI-Software.COM>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268262 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6c00c7d906
New task <javah>.
Submitted by: Richard Beton <richard.beton@roke.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268261 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d94746b83a
forgot to add the new files with my last commit (new perfoce tasks).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268260 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2884faae89
New Perforce tasks.
Submitted by: Les Hughes <leslie.hughes@rubus.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268259 13f79535-47bb-0310-9956-ffa450edef68
25 years ago