Jacobus Martinus Kruithof
bfb2c6ca31
PR: 32640
Updated FAQ with a reference to the manual for developing new tasks (and some more).
Bonus: some typo fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277195 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
e772179bfd
Sync with the html file (yes I know it should be the other way around)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277194 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
66cbfe3354
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277193 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
069a16ffb9
PR: 32566
Updated whatsnew for modified replace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277192 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
49eb4db50c
Remove unnecessary empty Hashtable instantiations,
LOC bumming and Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277191 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5cf848fdb5
URL#getFile does not output a nice filename
for files with spaces, and absolute windows filenames.
So use the FileUtils#fromURI() instead.
PR: 32508
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277189 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
b0e60527f1
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277188 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
aa5fccfbef
remove deprecated tag from ProjectHelper#configureProject()
it has been used for a long time, and one cannot just
replace it with the non-static parse method, without
setting the "ant.projectHelper" reference.
PR: 32668
Reported by: Nell Gawor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277187 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e70b911fa5
Random spelling and javadoc changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277186 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
57195a2186
Temporarily skip test that fail in Gump because of a Gump bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277185 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
e142e5adda
Make Jikes happy - shadowing and some non-static private finals
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277184 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2b0c95d418
Make Jikes happy - shadowing of url
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277183 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
46ff223e36
Last patch removed some significant logging in verbose mode.
re-added.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277182 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
a51c373c0f
PR: 32566
Real solution to allow big files in a replace action.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277181 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
9fdb1c85ba
Minor update to allow compilation on 1.2.2 again:
cal.getTimeInMillis(); is not available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277180 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
6653c42a77
If we can use File.getParentFile, there is presumably no reason to use FileUtils.getParentFile, right?
(Comment re-used from jglick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277179 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
c8c751af8e
PR: 13690
Patch that reduces the memory need of the Replace task,
by not creating duplicates of a lot of strings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277178 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
79ab8ae1d5
Adding me as a commiter to contributors.html
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277177 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
503492da23
1. Make checkstyle target work independently of CWD.
2. Add a target to display the text report inline, for easy hyperlink navigation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277174 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
13435b6628
If we can use File.getParentFile, there is presumably no reason to use FileUtils.getParentFile, right?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277173 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
c84ce0470e
The manual strongly encourages you to specify source/target levels, yet it gave no examples that did so! Putting
in some usages to plant the bug in people's minds. (Especially important for people just starting to use JDK
1.5, which changed the default source level.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277171 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
07e4efdd09
More LOC bumming
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277169 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
88e1208306
Javadoc and LOC bumming
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277168 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
52159303ce
Try to help the Gump/Kaffe/Jikes build
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277167 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
04fc745703
Checkstyle changes for UptoDate.java
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277165 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
8263f39a5a
doc for use of filenamemaper in uptodate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277163 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6d6bbfeb10
with the bugzilla change 30161 it is not necessary to place
Path.systemClasspath in the antclassloader
Doing so causes resources to appear twice
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277160 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4fed10f736
document using a filenamemapper type in place of the mapper element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277158 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
64f7d86fe1
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277156 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
0833007731
Checkstyle updates.
(removed trailing spaces just added, updated javadoc, removed an undocumented BuildException
which was neither thrown according to interface nor according to methods implementation.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277155 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
411673fe34
In bug 32566 someone asked about the thread safety requirements in Ant.
This made me perform a quick check on the main flow of the Ant project
from a threading perspective. The only cause for wich the tasks specified
in the build file may be executed in another thread is the parallel task.
The parallel task does not ensure all variables are stored in memory before
the new threads start.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277154 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5320013dd3
Address Windows CVS client line ending conversion incompatibility issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277153 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
0f9572806f
doc explanation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277152 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8ede41b42d
warn when Ant upgrades -source for jikes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277150 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
77b4a86f31
Clarify failonerror.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277148 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
77a6d300bb
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277147 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
76122e84be
Various changes => fewer LOC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277146 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
be6e9c4ce2
Missed a couple.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277144 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f544eb807a
Useless temporary variables mostly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277143 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b0229b0687
Hack to make the testcases pass.
PR: 32506
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277142 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4b829dcd96
Jikes doesn't like -source 1.2 either, found by Gump running on Kaffe+Jikes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277140 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
60059dafe8
If junittask is loaded by a different classloader than the
project classloader, set the junittask classloader as the
parent of the classloader used to load the tests, otherwise
the tests will not see the classes in ant-junit.jar and the
classes loaded with the tests will use a different junit.jar
than the junit used by junittask and will be not be compatible.
PR: 28474
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277138 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
fa9ec13f40
Just moving license to top of file for consistency.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277137 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
d3e3db4fcc
Unused constant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277136 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
71333195c9
Trying to make unit tests independent of CWD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
5a45e0117f
1. Never use new File(url.getFile()); it is not safe with all paths.
2. Using File.deleteOnExit for temp files, just in case the VM croaks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277134 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
6fdb6869ea
Minor simplification: task.log(...) ~ task.getProject().log(...).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277133 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
46399f6e36
Minor stylistic refactoring.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277132 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
d3da7fa712
Improving Javadoc of Executor impls to be more informative. :-) Matt please check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277131 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0c81c851c9
allow filenamemappers types to be placed directly as a nested element
to <copy>, <execon>, <pathconvert>, <uptodate>, unzip,unjar,unwar, <native2ascii>
testcases and docs to follow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277130 13f79535-47bb-0310-9956-ffa450edef68
21 years ago