Stefan Bodewig
27e28f4503
fix markup in examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@906953 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ef80c38292
document sortfilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@906952 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
692c1fe191
flush will be called in any case, make this more explicit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905217 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
74f04b527f
extract method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905216 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f21a1750ce
More FileUtils.close and a moved flush operation in XMLJUnitresultFormatter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905214 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
14c45a0623
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905180 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
766f151392
a few more places where FileUtils.close can be used + a few places where a BufferedWriter might be unflushed when the underlying stream gets closed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905179 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
59487f22d5
JUnit stack traces were missing when filtertrace="on", the default. Reported by N C, see http://marc.info/?l=ant-user&m=126488326902069&w=1 and http://marc.info/?l=ant-dev&m=126491578731948&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905136 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b30e40b92a
sound doesn't work on Java6. Submitted by Ed Brannin. PR 48637
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904546 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
9e21237655
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904217 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
2e7eacb2b4
javadoc/formatting/protected constructors for abstract classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904214 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
9fd3da80a6
Mapper-aware selectors (depends, different, present) now accept typedef'd FileNameMappers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904213 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
c16ac4046a
fix for bug 48186 ant.bat file ignores -noclasspath if it is the first parameter supplied by Ken Southerland.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@903337 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
127dbbc943
Don't add new Date comments each time the file is written. PR 48558
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@902004 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a9f17b8762
don't add the same comment over and over again. Related to PR 48558
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@902000 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c2875d3bd8
only add a newline before the first new property rather than every new one
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901537 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Steve Loughran
f3502267e5
<scp> task didn't report build file location when a remote operation failed
Bugzilla Report 48578.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901218 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
098280bc27
make new zipFile signature final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901063 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
dd92def3ae
try to make ZipExtraField change in zip backwards compatible for subclasses that override zipFile. PR 48541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900082 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
73456f461b
really preserve extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900064 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
e4150ab94c
update of poms to make compile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@899757 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0591bc2592
try to delete temporary files in fixcrlf. PR 48506.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@898183 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
73a3dfbc27
appendtolines -> suffixlines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@897758 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
fec4519b6b
update POMS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@897744 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
9d178c791d
missing license headers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896847 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
683d210dae
follow Jesse's suggestion and use ant.core.lib - make testBasicOperation platform independent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896829 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
98563c7884
additional testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896823 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
d48905f7ec
preparation for ant1.8.0RC1 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896194 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
f815d1f876
removing ant-weblogic and ant-starteam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@896123 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
510f6b08f6
target-group -> extension-point
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@895567 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
009c4a440c
copy-paste error + @since
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894464 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
24fbc8626d
complement prefixlines with appendtolines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894462 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
94cf2091bf
document resourcelist and make it available
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894459 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
bfc70a7112
functional tests for resourcelist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894458 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
1d9f0594cf
reference handling tests for ResourceList
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894449 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a87dab03d9
a resource collection that reads its members from a list file/resource. Untested and undocumented, likely to be pushed to 1.8.1 unless I'll finish it in time for the RC1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893843 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
2fa25afa49
-remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893422 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
009a578153
-fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893417 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
6cb11c4a23
try a bit harder to close the archive when reading a build file. Since that still doesn't work, add a task to brutally close jars and use it in import-url-test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@890827 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
792092f443
add a debug log statement to increase pressure on GC and hope to avoid PR 42696
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@888888 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
87142931bd
take advantage of FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@887990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d1e9fb4608
Make sure hashvalue algorithm of modified selector reads the files completely. Submitted by Nathan Beyer. PR 48313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@887838 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
37b4989c05
allow scp verbose flag to actually log info - also makes ssh more chatty
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@885684 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
42b64be716
Trying to improve on r881624 robustness fix:
1. Use FileUtils.tryHardToDelete to delete possibly corrupt properties file.
2. Do not try to delete until after closing output stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@883514 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
fbd5fe56fc
Fixing fix for OOME in <subant>.
Was getting wrapped in BuildException by both DispatchUtils.execute and Project.executeSortedTargets.
Instead of trying to prevent wrapping, which is difficult to enforce, just die on wrapped hard errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@881627 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
37cf105bb3
Trying to improve robustness in <subant> and <propertyfile>.
Observed a long-running build randomly failing with text like this:
[propertyfile] Updating property file: .../whatever.properties
[subant] Failure for target 'something' of: ...module1/build.xml
[subant] The following error occurred while executing this line:
[subant] .../something.xml:123: java.lang.OutOfMemoryError: GC overhead limit exceeded
[subant] Failure for target 'something' of: ...module2/build.xml
[subant] The following error occurred while executing this line:
[subant] ...module2/build.xml:12: The following error occurred while executing this line:
[subant] .../something.xml:123: Syntax error in property: ${some.prope
[subant] Failure for target 'something' of: ...module3/build.xml [etc., hundreds of times]
Turns out that whatever.properties had been truncated at exactly 24k characters, in the middle of a line.
Fixing <propertyfile> to therefore collect all of what it plans to write, then write it.
Also trying to make <subant> actually stop the build when it gets OOME, rather than continuing
(probably in vain) just because failonerror="false" (which is intended to catch "normal" problems).
ThreadDeath should also be rethrown, not logged as a subscript failure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@881624 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e1cd13c79b
support creating url resources relative to other URLs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@880590 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
42f31b452b
Fix import's file attribute if file is imported from URL, test it, document it. Note to self - url resource needs a way to create relative urls. Not to self - the duplication in the manual pages for import and include must stop.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@836334 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jan Materne
746437d824
Try for CI-build: use another tmp.dir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@835835 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a5da600a7a
make import support resource collections. PR 22269
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@834772 13f79535-47bb-0310-9956-ffa450edef68
16 years ago