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
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
9ddadd7146
Make AntEater compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268355 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
c8cfb3269a
Fixed error in docs
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268351 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
a94814d513
remove unnecessary -f check cause -x does the job well enough
line wrap things to make it pretty.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268350 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
6eda9f0794
Reverse changes and reinstate fileset + prefixedfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268349 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
Stefan Bodewig
2939f47aef
Make sure JAVA_HOME/bin/java is executable as well. Only use a single
${JAVAC} command to compile all needed classes in one pass.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268347 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
83adaf1a2e
since we depend on JAVA_HOME/bin/java to exist later in the script,
then we should check to make sure we can actually see the file
correctly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268346 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
d27a0a037f
Udated test build file...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268345 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
51e2cc5435
Added register-datatype task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268343 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
bba92ec223
Added in the ability to deploy datatypes in properties. Datatypes are currently solely registered through taskdef.xml. Will in future be registered through tasks aswell.
Made conditions (if/unless interpreted in a context)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268342 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
c6a798ef68
Oops.. Forgot little update in Bootstrap to build out the buildtarget
task. :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268341 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
ac4a6335c4
A small task example that illustrates something... A long time ago I
argued against "if" logic as part of the defined part of Ant stating
that all logic really should go into tasks. Now that the object model
is clean enough, it becomes silly obvious how to do this without requiring
the addition of any if/unless attributes in the target definitions themselves.
The build target task takes a target name and, optionally a if property. If
the property is used and is "true", then the target is executed by calling
the appropriate functionality on the Project object.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268340 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
d8a7035c55
Removed last legacy of Ant.java and have settled a bit on how front
ends use core... In order for a front end to run a build, it first
creates a ProjectBuilder, loads a Project from it, then can run a
build on that Project. What still needs a bit of looking after is
creating a project from scratch (such as a GUI might do) and then
executing it. Later.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268339 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
f85678f1ab
Removal.. Most of the functionality has been moved to other places now
that its becoming a bit more clear how FrontEnds should interace with the
core.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268338 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
421736ed4a
Updated to latest Avalon which involved removing a lot of cruft from Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268337 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
Jon Scott Stevens
3c3eeb764d
fixed cdata examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268335 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
James Duncan Davidson
7fb467a74d
Several things all at once...
* Bootstrap now passes args all the way through
* FrontEnding implemented which allows Ant to talk back out
to whatever front end might be driving it. Events propogated
are project start/end, target start/end, task start/end.
This should allow any front end (like a GUI) to move a
progress indicator through a display of the object tree.
Also included is a generic writeMessage(String, int) method.
* cli/Main now plays ClassLoader games so that it can auto
matically place needed resources (like tools.jar) into
the classpath space of the executing Ant. Note -- this
is the first of a few steps to make complicated shell
launch scripts unnecessary. All that should be done
is a single executable per platform that essentially
calls "java -jar anteater.jar [args]". Main is also
primed for a future CJAN so that it can download whatever
jars are needed from CJAN and place them into the classpath
space of the executing Ant. Of course, it's not implemented
yet since CJAN isn't around yet -- but its ready. :)
* AntException now has fields for embedding the location
of an Error. Next up will be implementing the code
around where Tasks are run so that exceptions will contain
this information.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268333 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
e9211a1fb8
Changed task loading to use a centralized TaskManager that keeps tabs on
all classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268332 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
d483cb49e9
oops missed some documetnation submitted by Jose Alberto Fernandez <JFernandez@viquity.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268326 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
James Duncan Davidson
4cd7d60e99
Changed bootstrap to use Conor's idea of having a BootBoot that grabs
tools.jar and puts it on the classpath when needed. I did change things
around so that it's now Bootstrap --> Bootstrap2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268324 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
Peter Donald
92cf6a4b48
Removed *Entry abstraction as it was overkill for Ant atm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268320 13f79535-47bb-0310-9956-ffa450edef68
25 years ago