Stefan Bodewig
3094ca2c8f
Make JDK 1.4 happy by changing assert to assertTrue.
TraxLiaisonTest accesses the protected TraXLiaison.getSystemId method
and therefore has to be loaded via the same classloader as TraxLiaison.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271369 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
35b6913d94
Make tests pass on JDK 1.1.
The change to ProjectTest basically backs out a change I had to make
to Ralf Wiebicke's original submission to make it work on my box three
months ago. Since then nothing has changed, but my JDK now throws a
different exception than it did back then - go figure.
TimeZone doesn't seem to matter for JDK 1.1, testDateTimeISO fails as
text is "2002-02-23T10:11:12" on my machine. I ran out of time and
disabled the test, but I promise to check back later. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271368 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
687d070dda
Print a warning if we drop elements from a use supplied path.
Avoid exactly that warning in Ant's own build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271367 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
96203d2041
Fix sysproperty handling (testcase fails for old code and passes for
new code).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271366 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
14069410f1
Add testcase for sysproperty handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271365 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4a89083738
More JavaDoc documentation fixups.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271364 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
466a2a978f
some typos.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271363 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
022ed20a99
Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
5c43f6c93e
Quick fix about naming.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271353 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ffd54fee4
Remove unused local variable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
271c73b91c
Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by: Alex Rosen <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d880f3fef6
Make Ant work with the AElfred parser which doesn't like to be used
via SAX 1.
Submitted by: Andreas Voegele <voegelas@studenten.ims.uni-stuttgart.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271350 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1ef4d3ea86
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Jon's message:
There is one small code change (which may very briefly reduce the
footprint of Ant by about 3K :) and two comments which suggests further
code changes (look for XXX). The rest is, I believe, entirely comments.
I've:
o Made sure that all occurences of null/true/false are surrounded by
<code></code>
o Wrapped comments to under 80 columns (in some ways this is more
important than wrapping code)
o Made sure that all fields and methods have JavaDoc documentation.
o All used method parameters are documented, including documentation of
whether they can be null or not
o All return types are documented
o All checked exceptions are documented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271349 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2976ded16a
Handle badly configured tasks created outside of Ant's core
PR: 6309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271348 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ec06feed1
I took the time to write a simple shell script to audit Copyright
lines, and now it is paying of ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbf5ec8b44
Improve coverage of manifest unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f1548aec2b
added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271280 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c4d8f9c859
turned off the fatal stuff unless a property is set; added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c3949e4e2d
java task test cases; reworked to inherit off BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b0566b79cb
java task test build file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271277 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b9ab19b18b
Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
ab27c9f4e1
Adding javadocs for the main methods that testcases are likely to call
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271255 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ef5da3ccff
- remove useless object creation
- do not modify formal parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271247 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
968b173a27
Fix violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271246 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
81973008d1
Fix array declarator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271245 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1e67240862
Access static method via class and not the object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271232 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
532d0a479e
- Add an helper method to write directly a document
as UTF8 from a stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
45287716c9
Easy way to test the Audit parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271230 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4fbdadb171
Missed commit for this one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271229 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3b349325f1
Refactored handler by extracting specialized parser class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271228 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8af1905a98
- Added rulespath to Audit to use customized rules.
- Fix Audit messages to remove fullpath in it. It
won't work on references though.
- Fix MAudit handler to print stderr as well so
that a missing agent or invalid options return
a message.
- Enhance options to reflect those available also
in Webgain QA 2.1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271226 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d8169cab92
split execute in <javac> to make it easier to extend.
Sugested by: Misha Dmitriev <Mikhail.Dmitriev@eng.sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
750999053f
Work around a bug in Kaffe - we can as well label it "optimization" 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271222 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
408a4c09b0
Fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271218 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
042a1e9041
Fix copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271217 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1df82da13f
Fix file protocol prefix so that there is no more
and no less than 3 '/' on whatever platform it is running.
PR: 6259
Reported by: sl@ragbildung.de (Sascha Luedecke)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271216 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
aa102f4985
Fixing unused variable and array declarator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271215 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
788da5fd43
Copyright year fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271193 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
5c39c18686
Applying patch submitted for #6012 .
Submitted by: kevin.ross@bredex.com (Kevin Ross)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271192 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
44b170125d
Fix for #6288
NullPointerException if no environment variables found
Patch supplied by jimbuuck@netscape.net
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271191 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
91dfa2e783
- Fixed JavaScript escaping for properties.
- Added copyright
Submitted by: K.C. Baltz, kbaltz@mail.responsenetworks.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271190 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cfa604fd99
testcase wouldn't compile - slipping fingers?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271174 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c0d5d3b13b
Create an ampty message object instead of throwing an exception and be backwards compatible.
Submitted by: Rob Oxpring (roxspring@yahoo.com )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271169 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
61ef4b0af9
Layout fix only (IDEA)
- Remove useless imports, clean up multiple one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271168 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
860ee8bfd4
Made Mailer and sub-classes package private. Got rid of javadoc warnings (by cheating).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271167 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f9ceac5949
Fix the date util tests for where the local timezone isn't GMT+1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271166 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9f6a18be9d
Fix package name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271165 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
360790e4be
Helper class copied from rjunit sandbox.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271164 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
5886e7a101
Use refactored elapsed time formatting in DateUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271163 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b55b65d798
Helper class to deal with simple ISO8601 time formatting.
Moved elapsed time formatting (minutes/seconds) from DefaultLogger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271162 13f79535-47bb-0310-9956-ffa450edef68
24 years ago