Stefan Bodewig
04a1688d9c
fix testcase that requires /tmp to exist (at least I hope so).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270088 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3433f89463
Advice TaskContainer writers to use Task.perform.
Get rid of javadoc warning in Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270087 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d21e6ff3f5
improve documentation of the regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270086 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e9003672b
Add the new logo proposals to the site.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270085 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bd3509fb89
Don't punish people who want to modify the values of existing
properties in tasks of their own.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270084 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
aa497f965f
YALP (yet another logo proposal, as Stefan puts it)
Submitted by: nickk <nickk@remoteapps.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270083 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e241dd137f
Changes to <move> noted.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270082 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44bbe5b139
Speed up <move>: Try to rename the top directory if we are moving
complete directory trees.
PR:
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
809dcaf287
enable modified version of the awk test to demonstrate there is no problem.
PR: 4911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270080 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d69a1829c1
Ensure maxWaitMIllis and checkEveryMillis results in proper values irrespective of the order in which the setter methods are called.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270079 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b06aed6911
Update to remove warnings generated by antcall due to last immutability tightening. Did this by adding a protected constructor to property.
Made sure that operations internal to Project could not generate these warnings by adding a new setPropertyInternal method that didn't do any checks.
Also made the getUserProperties and getProperties methods return copies of maps rather than direct references.
Updated WHATSNEW to warn about these issues.
Added some unit tests to verify that property immutability is enforced - where we actually do enforce it ;)
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270078 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c3abf0c4cb
Remove some deprecated language features.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270077 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8ce69f050e
Display to the user another cause of task not found exception being thrown.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270076 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
66716b51ad
Valid values for waitforunit and checkeveryunit provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270075 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
dd5b247d5a
More setFoo(String) to setFoo(Bar) conversions.
Didn't worry too much about WaitFor's backward compatibility issues as it is hardly a week old.
WaitFor has ben modified this way so that it is consistent with Tstamp and takes in enumerated attributes for unit instead of allowing arbitrary letters/ words suffixed to the time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270074 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
76fa4670c5
add BCEL to the list of required libraries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270073 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3a28c02ef6
setAction(String) replaced with setAction(FTP.Action) for action attribute of the FTP task. setAction(String) has been deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270072 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e503ebd4c7
setFoo(String) replaced with setFoo(ExtendedEnumeratedAttribute) for certain attributes of these tasks:
Available.java
Tar.java
Tstamp.java
setFoo(String) has been deprecated for the affected attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8a7fce7e2e
If a task contains setFoo(String) and setFoo(Bar), setFoo(Bar) gets selected by the introspection mechanism.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270070 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0d8d34b93f
PR: 5255
Clarified that <copy> doesnt preserve file perms on unix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270069 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5b377d290d
Last weeks changes took away helpful information about why exec failed to run; this puts it back in.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270068 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1bd831271a
paragraph on hp radpak ant gui tool
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270067 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c12aaa8a06
Typo fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270066 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
28fb40a060
Add an etc directory to the distrib and copy some useful stylesheets to it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270065 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c0bd98809
Clean up tabs and fix some ugly css mistakes.
Should look a little bit better now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270064 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c206512560
Make changes so that tasks use the two arg replaceProperties() rather than 3 arg as it is lower coupling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270063 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
150cad6b1e
Add a method replaceProperties(Project,String). This delegates directly to replaceProperties(Project,String,HashMap). The Map parameter contains all the properties in Project.
This makes it easier to have a lighter coupling between tasks and Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270062 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a79e667185
Remove unsetProperty() because it allows tasks to break immutability.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270061 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ec8358d87b
- Fixed some case issues related to JProbe directories under Solaris.
- SourceFile attribute does not always exists in the bytecode, so take care of it.
PR: 5217
Submitted by: garrick.olson@aceva.com (Garrick Olson)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270060 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
325e13a93d
added changes to exec, and a bit on the immutability fixes in the 'this may break things' section
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270059 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
85ea2966d2
timeout actions stated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270058 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b1aff29095
PR: 3952, 3654 : "4NT not being recognised correctly"
Submitted by: alan@coldsmoke.com (Alan Arvesen), greg_fenton@yahoo.com (Greg Fenton)
Reviewed by: Steve Loughran
Fixed the 4NT test as suggested, tested it by running the batch file without echoes. 4NT 4.00A actually works properly without the fix, because it understands NT CMD shell variables better. This fix should support earlier versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270057 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
d8b96a6359
report a timeout to the log
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270056 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a1694b917e
new method, killedProcess() which returns true if there is a watchdog and it killed the process
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270055 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c8ebdb489
This patch forces property setting to follow the same rules as the rest of ant in most tasks. The few tasks where we have not forced immutability will instead get 3 line ugly warnings telling them that they should upgrade or not use the same property name etc.
The reason for just warning them is backwards compatability.
Submitted by: "Erik Hatcher" <erik@hatcher.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270054 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bad48b6b79
add pointer to doxygen task.
Submitted by: Kyle R . Burton <mortis@voicenet.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270053 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
dbec36ef5b
these things don't exist (any longer)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270052 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f6db0835f7
New task <input>
Submitted by: Ulrich Schmidt <ulrich.schmidt@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5021163e5c
New task <waitfor> that waits until a given condition gets true or a
timeout occurs.
Submitted by: Denis Hennessy <denis@network365.com>
As a side effect, <condition> gains two new conditions. This also
means we now have a way to check whether we are on a networked system
and run/omit testcases that require network to be established based on
such a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270050 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e8e51a71bc
datatypes for regexp replace task.
Submitted by: Matthew Inger <matti@sedonacorp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270049 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0c5f76d9f8
Add warning that the XSL:P link doesn't work.
Submitted by: Michel Casabianca <casa@sweetohm.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270048 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3beb7f13cd
Make BZip2 task comply with native bzip2 when there are multiple blocks
in the compressed file.
Submitted by Keiron Liddle "keiron@aftexsw.com"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270047 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
bf5d49abf1
Preparing real huge test files on bzip2 tasks....
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270046 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
4d83c345bd
Additional functionality for classfileset.
Change baseclass paramater to rootclass and make it use dot notation for
the classname rather than making it a file.
Also allow multiple nested <root> elements to define more than one root
class
Example:
<classfileset dir="build/classes" id="classes">
<root classname="org.apache.tools.ant.Main"/>
<root classname="org.apache.tools.ant.taskdefs.optional.ejb.EjbJar"/>
</classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270045 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
114af4d393
Move dependency classfileset support code over to Apache BCEL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270044 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
674d4a8643
Add pointer to GenJar
Submitted by: Jeff Turner <jeff@socialchange.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270043 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aacd26fab0
split javac testcase so that it doesn't use Project.unsetProperty any longer.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270042 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8a676908c4
Make testcase for <available> pass again, by re-applying the
resolveFile magic unless a filepaths has been specified.
Note that I've rewritten the checkFile() method in the filepath case
to match the comment in the sources (at least I think so).
Actually, I think we are generating too many passed checks, especially
with simple name specified == parent of parent dir + name but this is
a different issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270041 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b6e535486e
re-add files in binary mode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270040 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a2fccdf28d
make things binary, that should be binary.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270039 13f79535-47bb-0310-9956-ffa450edef68
24 years ago