Stephane Bailliez
3489bebc3d
Documentation patch from Scott Stirling <scottstirling@rcn.com>
about stack filtering.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270101 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
03e7448524
constructor has changed for filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270100 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c58f8e6e7a
Patch from Scott Stirling <scottstirling@rcn.com> that allows
stack trace filtering for formatters. It will filter out
those unneeded frame from Ant and JUnit so the stack will
be much more readable.
nb: Looks like the JUnit task need serious refactoring since we have
been adding feature incrementally. It starts to be a real mess,
I can barely read my own code :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270099 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b414dd2d4
Revert to original API for ConfigurationHandler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270098 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0752e7dc35
Commit a trimmed list of actions todo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270097 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
48aa9d115e
Added a test for time dependent copy -and the ability to override it.
This is long for a test (=harder to tell which assert failed), but if you are going to sleep between touches then you should make the most of the test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270096 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
69d796cd1e
Added a test for time dependent copy -and the ability to override it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270095 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3bad92b009
Removing a redundant check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270094 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0562565514
fractional doc clarification
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270093 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
323d7b6161
little clarification in the code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270092 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7fbbcdf665
Patch about targetfolder from Steve Cohen.
I also refactored the task a little bit to support directly primitive types such as
int or boolean and fixed a couple of mistakes about error handling in the original code.
It should be a good starting point for further refactoring.
pr: 5138, 5187
by: stevec@ignitesports.com (Steve Cohen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270091 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f7def885dd
Added a protected method "recreateSrc" to help task writers who extend
Javac.
PR: 3703
Based on Submission by: bmoriarty@polexis.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270090 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d9171245f6
register style task as error listener to the Trax transformer and
factory so messages will get back to Ant's logging system.
Submitted by: David Leuschner <leuschner-list@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270089 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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