Jan Materne
57c3643ace
Helper class for checking task configurations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@617356 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
6352c4ac1c
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@615452 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1e8f7ef1f9
BugID 44239: Add ability of resource classes to act as factories for relative resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@612467 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
cb4cbd5282
- spelling
- a sentence was incomplete (missing additional docs?)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@612091 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
525ae6c4c0
Bug# 44242 Add <funtest> task for functional testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@612083 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0b551678f1
bug 44241 add JavaConstantResource to read string constants.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@612079 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
437d53cbd2
BugID 44240 factor out classpath support from JavaResource into an Abstract resource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@612078 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
46bf9d8c85
improved lay-out + add since ant 1.7.1 instead of 1.8
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@608999 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
94dd480d07
request from cactus team, backward incompatible change in FileUtils made backward compatible
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@608939 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
ad6b39a620
* update javadoc
* remove double blanks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@605926 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
3ca7e297fd
Missing space between clauses.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@600702 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
00c53aef12
Bugzilla Bug 43624
symlink task failonerror="false" does not stop build from failing when 'ln' command returns non-zero
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597455 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
393f5d34fa
bit of tuning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597452 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
f47e4095c8
Bug 43936: <fixcrlf> errors are unhelpful
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597397 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
75110026aa
pulling out unneeded this. references in everything but the constructors/initialisers. No other changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597087 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
23bbf08572
pulling out unneeded this. references in everything but the constructors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597084 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
fe29f53a04
-correct setCreateFile to use provided flag
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@594469 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
d1b86f00e0
some javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@593991 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
487cc320dc
-use StringUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@593021 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b955593f70
fix some "serialVersionUID" warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592841 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
14b1d18621
oops; introduced NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592514 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
771dd67720
BZ 43799 / touch sees e.g. empty fs as unspecified args
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592499 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
02bc80db74
some javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591427 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a2b40eac3f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591425 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
bbcd8aea0d
default access precedent for testcase access
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591341 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
7be8dec567
Bug ID 43780: weblogic RMIC fails on ant1.7.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591304 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c6a53a5c64
no, I'm rolling this back. Let's wait and see what the tests I'm running at work on something similar say.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@590998 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
7b13653cea
read the javadocs on wait(long) to see why this change was made
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@590990 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
7da916d5b9
make it impossible to have a null notify value
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@590988 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
a4bf996061
new test tasks, not declared yet -so they dont exist-
<funtest> for functional testing
<blockfor> is waitfor that throws a BuildTimeoutException when it times out
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589767 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
4afd11bb11
discussion on junit triggered me to look at this task; fix some things the IDE warned about on localisation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589763 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
ad82fe67bd
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589762 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
d68eafae0b
javdoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589755 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
0aea51ece7
Two constructors: for easier use and (then needed) for reflection.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589715 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
699298f46a
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587874 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
5a0b8d7b35
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587872 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
c8e0a037b1
JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587863 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
48fd705167
New attribute: <xmlproperty delimiter=""/>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587855 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4369f64826
FailureRecorder
* remove duplicate "no-op" statement (javadoc + code)
* use BuildListener for writing at the end of <junit> instead of overwriting the file all the time
* minor comment edit
* pass project reference to <junit> nested elements (eg listener)
* order methods by interfaces
* some log messages in the recorder
* can use Ant properties for setting the location
FormatterElement
* don't set the project reference if there is already one
build.xml
* use ant property instead of system property for configuring FailureRecorder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587844 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
d17a1de4e6
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585908 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
19b4f6ae89
Bug ID 43635 <xslt> task can't be used more than once with a file stylesheet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585108 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
733f95fdf2
seems to me these should be synchronized
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585106 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f0244ee350
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@583884 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
d8a7e0bbb6
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@583364 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
7eec24e306
-bugzilla #32062 , allow javah to use filesets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582707 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
d00b77dd77
Javadoc clarification for Resource.getLastModified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582364 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
3a9aafdba7
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582162 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
664a8fd424
fix for SelectorUtils.isOutOfDate for non-file resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582160 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
cafa34ca08
Various microoptimizations to reduce I/O load of common tasks, esp. no-op <javac> and <depend>.
Many inner loops altered to make just 1-2 system calls rather than 4-5.
You can easily see how wasteful the previous code was, and find the culprits,
by patching r/o java.io.File methods and adding to -Xbootclasspath/p (or use AspectJ). E.g.:
public boolean isDirectory() {
System.err.println("isDirectory: " + this); if (Math.random() < .01) Thread.dumpStack();
// as before...
}
Ant still makes an order of magnitude more system calls to do what seem like simple operations
than you would think necessary, but this patch should at least improve the situation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581748 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
48c3492303
remove inner assignments, functionize some code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581623 13f79535-47bb-0310-9956-ffa450edef68
18 years ago