Gintas Grigelionis
5f4c43ddc3
Checkstyle/spelling
8 years ago
Gintas Grigelionis
73bda1fb17
Use isEmpty() in tasks
8 years ago
Gintas Grigelionis
cc41d3c161
Cleanup and more StringBuilders
8 years ago
Gintas Grigelionis
30f52135af
Use null-or-empty pattern
8 years ago
Gintas Grigelionis
cda6c91cf8
Unwrap some logic; uniform checks of StringBuilder size
8 years ago
Gintas Grigelionis
7f1e7628b3
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Stefan Bodewig
ee47fa6e1a
whitespace
9 years ago
Matt Benson
b7d1e9bde4
java 5-8
9 years ago
Stefan Bodewig
af74d1f6b8
reduce GC pressure by replacing File(In|Out)putStream
9 years ago
Stefan Bodewig
a8d6367ddc
remove re-implementations of FileUtils.close()
10 years ago
Jan Materne
bed22b00f7
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
70c93da9ae
a few more O(n) lookups where O(1) would be possible - optional tasks not checked, yet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910832 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Nicolas Lalevee
df121a6cf5
PR 47830 : implementation of the ProjectHelperRepository to make Ant able to choose a ProjectHelper, and some doc about it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@819284 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
246480ed2d
allowNativeBasedir -> useNativeBasedir. Document it. PR 45711.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@690969 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
0c9bcf218e
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@690252 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
b8a829b11b
make allowNativeBasedir work even when nested, PR 45711. fixes PR 30569 at the same time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@690251 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
bbdc2558ad
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677915 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
c1142173a2
new attribute allowNativeBasedir for <ant>. Not yet documented. Not yet complete (doesn't work when basedir is a user or inherited property). Work in progress. Needed for PR 30569.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677914 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
d6ec4ccf3c
bugzilla bug 42263: ${ant.version} not set in <subant>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@538995 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
1c33fb242a
javadoc missing a *
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490754 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
e391ff8c80
add protected newProject accessor. Bugzilla 41127.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483591 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b8244eaa8f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475987 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f5c95e9ca4
add fall-back for undefined references that are parsed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465065 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
93184f4f7a
some ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437807 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
61ae8e924f
Replace x == "" with "".equals(x) to check if we are
looking at the empty target
Obtained from: Alexey Panchenko
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278506 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
761f82ae31
moving some magic names into place, using them where needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278417 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
629a2649e8
Obtain subproject instance from Project to satisfy the remote chance
of Project having been subclassed.
PR: 17901
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278363 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
8acee3f19a
Avoid multiple instantiations of equal File objects, and multiple
resolveFile calls.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278362 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
af67c9bf8f
Avoiding Throwable while BuildException was actually meant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278329 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2c68e6ab60
Add subproject Executor to Executor interface + its use to Project & Ant task.
Move keep-going awareness to Executors.
PR: 22901
Submitted by: Alexey Solofnenko
Reviewed by: Matt Benson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278114 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2a291dca92
Various javadoc and code-style fixes by Kev Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277868 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
38e8c82493
This commit eliminates all (but one) use of Project.createTask("some name") from the codebase. It also sets up all created tasks using the new Task.bindToOwner call.
I'm tempted to retrofit Task.bindToOwner back to the 1.6.x codebase, for the benefit of third party tasks; same for the extra constructors for exec and java. Thoughts?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277700 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4c873983e1
unneeded import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277367 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
781a2ed11e
revert local property patch until memory leakage problem is fixed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277365 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7517bc7058
**** EXPERMINTAL ************
add in local properties
these can be activated by <localproperty/> nested element to macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277355 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
8a926a3916
Invalid boolean test in "Calling Target(s) msg" of Ant task
PR: 32792
Obtained from: Kevin Greiner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277261 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0733dbfc6a
Lower-case HTML tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277203 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4715ee28aa
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277199 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
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
12efb8ddef
several javadoc fixes.
PR: 30410
Submitted by: Brant Langer Gurganus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277025 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
284174e86e
Refactored Target invocation into org.apache.tools.ant.Executor
implementations.
PR: 21421, 29248
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c692a67a30
Try to get the dependency analysis right this time while preserving BC.
PR: 29977
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276715 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c672e8778e
Added multiple targets to <ant> and <antcall> using nested <target> elements.
PR: 5270, 8148, 17071, 6368, 29623
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276629 13f79535-47bb-0310-9956-ffa450edef68
22 years ago