Steven M. Cohen
da924b6826
change name of attribute from systemKeyConfig to systemTypeKey as a more intuitive name and check in
documentation for revised FTP task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278265 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
923140f496
added a special case that detects -cp and -lib calls in Main, and tells the caller that they have a probable version mismatch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278263 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
da4aeef1c3
and of course the date change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278262 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
07680bb2e3
tests for junitreport handling various forms of bad data, plus explicit handling of zero-byte files with a different error message..
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278261 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
4a03938981
checkstyle - mostly javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278259 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
de249300a2
improve clarity of what FTPConfigurator is doing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278258 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
813c248227
Add FTPConfigurator class so as to avoid forcing users to upgrade to version 1.4.0 of commons-net.
20 years ago
Stefan Bodewig
30c0d31cc4
Use FileUtils.close()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278256 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
b977b55da6
<unzip> and <untar> could leave streams open. PR 34893
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278254 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
ce53f734e0
Adapt Ant to use the new functionalities of commons-net 1.4.0 to enable greater configurability of the server:
Month names other than English, date formats other than the standard ones (such as all-numeric timestamps
on unix), and different server time zones can now be supported in Ant.
PR:30706, 33443
Obtained from:
Submitted by: Neeme Praks
Reviewed by: Steve Cohen
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278251 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
091610197b
Patch XMLValidate to create a new parser every time, plus test case that verifies it works.
Note that there is an extra change, the return code of doVerify() is now boolean and not void. I have plans for an option to halt the build only if a schema is valid (I'm using ant/gump) to validate XSD files, and want to test that a schema correctly rejects invalid files. This is just a step on the way, while I was in the method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278246 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
8522387c40
fix NPE reported by Curt Arnold
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278239 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
e090bc3246
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278234 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4ddc8483e0
Base64 conversion of userid:password was (always) broken. The length of
the result was calculated correctly, but was translating two bytes to four instead of three. This would obviously cause buffer overruns.
PR: 34734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278231 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
f6624325f5
antlib awareness in diagnostics messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278230 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
4439a0410e
removes fork option from Apt, in code, in docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278229 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
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