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
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
metasim
9ff163e788
Added task entry in parser config.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268356 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
9042bd4c30
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268352 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
Conor MacNeill
053fba0662
Bring ant.bat into line with changes made to ant.sh by Jon. Specifically
invoke the java.exe from JAVA_HOME/bin if JAVA_HOME is set and JAVACMD is
not.
Also make sure the user's %JAVACMD% value is not altered.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268309 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
907f0601dd
Made win32 scripts similar to unixs by adding .antrc facility
Submitted By: "Craig R. McClanahan" <Craig.McClanahan@eng.sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268307 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
4cce39e5f2
removed requirement for JAVA_HOME to be defined, however,
you will still need to have "java" in your path if it isn't defined.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268304 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
8b59abaefc
added support for cygwin
re-organized things
fixed a couple bugs
correctly set environment variables
all in all, i can now build Ant under cygwin on win98.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268303 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
Peter Donald
3b383850af
More adaptions of ant for cygwin.
Submitted By: Peter Seibel <peter@javamonkey.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268291 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
d57cd12071
Hopefully fixed cygwin stuff...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268290 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
fff6d5a32a
Patched ant to run under Cygwin. Patch supplied by Peter Seibel <peter@javamonkey.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268289 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
Stefan Bodewig
c8b92216b3
Implementation of the regexp interface for Jakarta-ORO.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268258 13f79535-47bb-0310-9956-ffa450edef68
25 years ago