Erik Hatcher
bcb2c234e8
Implementation of nested patternsets. Addresses PR3761
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272042 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a94e3de322
Rename the attribute of <javac>'s <compilerarg> from implementation to
compiler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
fc7e3b1fd4
revert <javac>'s fork attribute to a true boolean and add executable
attribute to set the path to the compiler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272016 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
89423dca5b
oops, forgot to check this in last week
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271990 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
eca5133693
Retain order of sections and attributes in manifests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271919 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b3113b77b2
some comment cleanup/addition and factored out a test into a standalone assertion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271916 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
16121faff9
one more test;
just to show what we have today is not that consistent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271915 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
09b828ebbe
Drat! -- caught by the 'cp' copyright fiend.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271909 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
cf83aba68a
Finally add the new <basename> and <dirname> tasks. (yay!)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271908 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
37cd9404c7
New attribute - ignoreSstemClasses - added to <available>.
PR: 6031
Submitted by: peterj@liberate.com (Peter Janes)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271903 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9b3071c7ed
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271896 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a5ec3f179d
Ah! cruel ones, leave me alone now
While I murmur a little and ponder
Anti-Spam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271885 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
85cd57c58e
JDK 1.4 compatability
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271816 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
4093ea2b9c
silly me, I forgot to check this in
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271807 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
aac5436dc6
Use assertEquals instead of explicit check/fail combo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271798 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
50d4e58dfd
give conext classloaders in <junit> another try, catch Xalan errors in
TraxLiaisonTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271796 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c2717b6fb3
give credit to Jeff for his NetWare patches.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271791 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5aace621e9
Testcase for LoadProperties inclusive of testcases for a few filter readers as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271790 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef35d9d19d
Fix StripJavaComments such that it strips out java comments properly. Testcase added.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271789 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bd0662b8fa
commit the rest of Jeff Tulley's patches for Novell NetWare.
Submitted by: Jeff Tulley <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271787 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f9c551b16e
Promote Filter Reader proposal to main trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271759 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
83b9942620
The always entertaining 2002 patch of the morning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271720 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ab1950bd8
Zip task
duplicate (attribute): behavior when a duplicate file is found. Valid values are add, preserve, and fail. The default value is add.
zipgroupfileset (nested fileset): allows for multiple zip files to be merged into the archive. Each file found in this fileset is added to the archive the same way that "zipfileset src" files are added.
Jar task
duplicate/zipgroupfileset: same as in Zip task
filesetmanifest (attribute): behavior when a Manifest is found in a zipfileset or zipgroupfileset file is found. Valid values are skip, merge, and mergewithoutmain. mergewill merge all of manifests together, and merge this into any other specified manifests mergewithoutmain merges everything but the Main section of the manifests. Default value is skip
manifest (existing attribute): this attribute now also accepts the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/Manifest.mf
Submitted by: Brian Deitte <bdeitte@macromedia.com>
PR: 5667, 5036
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271698 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f113bd7288
2000-2002 -> 2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271676 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5c5b959ca7
1. Fix bug where <move> ignored <filterset>s.
2. Add filterset based test to CopyTest.
3. Add MoveTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271675 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
4f7581e3df
attack of the tab police
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271645 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0c3b95004d
tuned timing in assertions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271644 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a91adaf451
Netware support in Ant's path tokenizer code.
Submitted by: Jeff Tulley <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271625 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2ff97ac3d1
Now that we know why the test worked all these month, make it work
again, this time documenting the reason.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271603 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b949aa8cd
disable test case that could have never passed (but strangely did for
several months).
Oh, yes, in case I haven't said so yet: Happy new year everybody.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271600 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
72f4f0b5a4
assert that gzip's new uptodate check also affects bzip2.
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271575 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0005305ea6
time checking on gzip, with tests.
submitted by Jeff Martin <jeff@custommonkey.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2f31d0c964
Add encoding attribute to copy/move so that filtered operations work
on encodings different than the platform's default as well.
PR: Christopher Taylor <cstaylor@nanshu.com>
some year 2002 fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271540 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7efcedb77b
Make ParallelTest work on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271536 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7fe9f6ac3d
Message has been changed from "default constructor" to "no-arg constructor" in Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271534 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
2ccd335cf3
Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271519 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a7f9947566
year 2002 squad at work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271508 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3a60c3af7e
Utility task to list all your current properties along with unit tests, as written by Matt Albrecht . Added a prefix to save a subset of the properties for the very silly. Left it in optional.jar although it has no dependencies.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271507 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
6cbeee38fa
Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).
Other code cleanup (axing "m_" prefixes).
Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.
Test cases beefed up to consider several scenarios.
There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).
Is there a use-case for "never" as a value?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271503 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
62f2142b34
Add pointer to TIM
Submitted by: Mark Griffiths <mark@chive.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271502 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
165b7dfa13
Tests and fixes for the DemuxOutputStream
1. New tests for the DemuxOutputStream and parallel task
2. Fix for the DemuxOutputStream thread problem identified by Jon Skeet
3. Found additional bug where UnknownElement does not hand output and error
strings onto the real task
A little bit of checkstyling.
Hmmm, really should be in bed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271501 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
575646714e
simplify createAttributeSetter method.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Throw in some additional tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
99cb5283fe
superflous line that wasn't meant to go into CVS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271446 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
01b79d1810
Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
36be3c93e4
Testcase for PR 5006. Make sure to set the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271434 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
851bf0c5ed
Better handling of tasks that are wrapped in TaskAdapters - unwrap
InvocationTargetExceptions when they happen
PR: 5830
To test it I've enabled all tests for <condition>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f20a1d1c4d
please don't use <zip>'s file attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
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