Kevin Jackson
8d1843b59e
-output for windows test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@593031 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
92e4570d86
- remove some unused (internal) variables
- remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592846 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
85189970a0
Remove use of deprecated constructor calls: Reference(String) and Reference()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592845 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
3ff20b066c
use static methods in a static way
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592844 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
Matthew Jason Benson
e9d1a31709
add failing test for BZ 43799
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592498 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
081e60cec5
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592497 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
Matthew Jason Benson
d5b6bc898a
fmting
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591042 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
fbd52b8032
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591040 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c4176305c3
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591037 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
422d55a338
defect 38732; rmic task doesn't work with -Xnew and JDK 6.0
turning the test off on java6, as it damages the XML parser
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591013 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
4dcddd59e5
-bugzilla #32062 , allow javah to use filesets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582709 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
ea8689d3d3
-bugzilla #32062 , allow javah to use filesets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582708 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
Peter Reilly
cde826c2b0
checkstyle: remove inner assignment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581599 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
98c94f2ed3
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581587 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
eb4293a5c6
-open session once for a command resource not each command
-bugzilla 43437 don't make properties immutable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581576 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
43953950aa
Silly little optimization: <javac> was taking time quadratic in fileset size.
Unfortunately this is not the only place in Ant where List.contains is called;
DirectoryScanner.processIncluded seems to be as bad.
Alas, someone long ago made protected Vector fields in DS, and it seems too late to change them now:
even changing to ArrayList would break subclasses like FTP which call addElement!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581394 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
14a2247a90
#43398 : always print stack trace for non-BuildException's.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581076 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
046aaf269a
pr 43521, @ in filename not allowed anymore since @ allowed in password.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581055 13f79535-47bb-0310-9956-ffa450edef68
18 years ago