Matthew Jason Benson
0c8407b311
Attempt to fix broken encoding due to miscalculated output buffer.
PR: 34734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278228 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
da4edf3f9b
Validate system properties before running a Java command, PR 34725
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278221 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2fbb2e62ab
Not 100% sure this fixes the entire bug, but it eliminates NPEs for me.
PR: 34722
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278219 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
529deb1cfd
Bugzilla 34680: make AntXMLContext#setCurrentTargets current
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278217 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b94dbbaf73
And this time, I make sure the 'reformat code' button is not set on the commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278215 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
72e3174bfd
Move to WeakHashMap to reduce resource leakage on long-lived many-exec runs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278214 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
7e48ae3ffa
I'm so particular about capitalizing "Ant".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278200 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
0861e724a7
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278190 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
e07e19c339
Don't override includeJavaRuntime in gcj-adapter, PR 34638
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278187 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
af2f9b8506
allow url'ed source's to be used as build files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278186 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
e98db2e511
Make Jikes less upset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278185 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
84c1b5f037
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278184 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
1ebf25ab86
added a private constructor, to stop this being instantiated/subclassed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278183 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
0d8ba34fdf
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278182 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
0a36bf20ec
check for same targets in a source file
PR: 34566
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278179 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
a1102edeba
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278172 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
cae92752e5
Fixed minor threading issue in StreamPumper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278170 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
c0bb2736d0
Somehat more intelligent way to let windows catch up in java test
PR: 34502
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278168 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
c1153f2f17
time /t gives IOException / error=2 (file not found) on win XP home NL.
cmd.exe should be available on all NT versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278167 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
a2f33d1681
javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278164 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
8e23e6e3be
just change the exception and not make a new exception
when hiding the macro
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278163 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
eaef2bfdbe
add backtrace attribute to <macrodef>
PR: 27219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278161 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
cd9c29978a
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278158 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
fc605cd185
nt->winnt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278157 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
370ac32906
Now for the fun. Exec adds an osfamily attribute, so you can restrict execution to a platform such as nt, or unix. This propagates to execon, so into chmod, attrib, etc. We could therefore adapt them use osfamily as their way of being unix or windows only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278155 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
9d42c87a1a
Os gets
-specific test for nt based systems
-refactored (less recursive) OS analysis
-constant strings for every family
Patched into chmod.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278154 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
db20074a24
Avoid using of CharacterIterator for URIs that do not contain %, as suggested in pr34529.
PR: 34529
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278152 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
3c1fd84dc2
flush any output before we run.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278150 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
dd6f6417d1
ant.bat was missing runAntNoClasspath label for goto
PR: 34510
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278146 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
c8d28cf5ba
add at since tag for new method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278144 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
500030a537
Make Zip#createEmptyZip be called again when empty zips need to be created
(similar for overrides in superclasses)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278143 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4b343f551b
The refid attribute of the I/O redirector was not functional.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278141 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
83eb9264ac
Make sure we add a location when <java> fails
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278139 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
134d95afef
Major speed improvements on BZip2 streams.
PR: 24798
Submitted by: Joerg Wassmer <joerg dot wassmer at web dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278137 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
3477bbf647
untabify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278136 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
0c39b52b1d
Java1.5 has different classes in the parent. i've blocked off the xml parser stuff; i worry if that is the right thing to do, but it adheres to the spec.
This may be something to go into 1.6.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
2e7282679d
Obtained from: Kev Jackson
Javadoc in ContainerMapper to contain lowercase code instead of uppercase code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278133 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
9229d25b42
When getting the real object from UE, do not call Task.init() on the Object
returned from ComponentHelper as init() has been called in createComponent().
PR: 34411
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278131 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d56d435838
merge fix for 27162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278128 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b1d8a1a56d
Oops, forgot /reference:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278127 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
67776debe7
mcs on Linux doesn't like quotes in /references.
I guess it is a platform-depenent command line parsing issue rather
than Mono vs MS, so I madi it conditional on the OS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278126 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
86cd020ce9
Add negate attribute to linecontains and linecontainsregexp filterreaders.
PR: 34374
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278124 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Bruce Atherton
890850c8a8
Why not fix the comment while we are at it?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278122 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6bd9a3ed78
Remove "strip-duplicates" behavior from; add condition behavior to, Length task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278120 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Bruce Atherton
c3018eaa64
Round NTFS Granularity up rather than down
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278117 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
76cd0bc786
Remove KeepGoingExecutor; keep-going responsibility is on each Executor impl.
PR: 22901
Submitted by: Alexey Solofnenko
Reviewed by: Matt Benson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278115 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
Jacobus Martinus Kruithof
faba017869
Made compilable on 1.2 / 1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278113 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c68814d655
ok, sometimes drift is -ve.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278112 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b5e043025f
looking@why my junit reports are apparently an hour old. No fix, but -diagnostics now prints some clock info, and examines diffs between temp dir and local clock and complains if they are too different. (>10s, purely arbitrary)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278111 13f79535-47bb-0310-9956-ffa450edef68
21 years ago