Stefan Bodewig
2510d3d6d4
Tabs, rats!
"It wasn't me."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272191 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fce5ce014
testcase for AbstractCvsTask
Submitted by: stephan beal <stephan@wanderinghorse.net>
As you need a CVS client and must run this test in an Ant source tree
checked out from CVS, this test does not run by default, you need to
enable it via
ant test -Dhave.cvs=1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272188 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
98d509c6f8
reimplement DirSetTest as subclass of FileSetTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272183 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
af0dbb6ef2
reimplement DirSet as subclass of FileSet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272182 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
274da33012
Add tests fro DirSet and the new DirSet/FileList support in Path.
Step one of planned DirSet refactoring.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272179 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6a182bf836
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272172 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4488376868
Add testcase for <ant>'s logfile placement, fix NPE in <ant>.
If <ant> should ignore the dir attribute, we only have to change the
locations of test3.log and test4.log.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272171 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5594451580
New task <concat>
Submitted by: Derek Slager <derek@activate.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272165 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f7c0a7741d
Add method to FileUtils that emulates File.createNewFile (well, sort
of) and use it in Touch as well as BuildNumber.
Various JDK 1.1 issues.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272157 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d42faeefd8
New utility class that deals with the specifics of a Java
installation:
* Moved JVM version detection code from Project to the new class.
* Unified the "find executable" methods and factored them into the new
class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272069 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
2d12131d81
documented (not sufficiently, but its at least a start) the new nesting patternset and corrected copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272044 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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