Stefan Bodewig
a140cecc40
add faq about defaultexcludes.
Submitted by: Jonathan Chawke <j_chawke@hotmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269980 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
427d2d0491
add pointer to list of default excludes to the fileset documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269979 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ee7a81d646
Add testcase for untar, improve testcases for zip/unzip/tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269978 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
29c2017667
remove abuse of the Touch task (that I would have missed if t had not
been for Magesh's patch).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269977 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
470a4695e9
Reverted to 1.9
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269976 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
df88acfa80
Some blabber about new features to unjar, untar, unwar and unzip.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269975 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fb90584e35
Lines in manifest that have nothing but spaces are treated as empty lines just like JDK's Jar utility does.
PR: 4840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269974 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
80d371a3b4
1. Refactored Untar to extend from Expand, as untar is very similar to unjar, unwar and unzip.
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
dc00bd536b
Fix Bug 4991; add more examples of other options.
This should mark the last change to echo.html for a while. Except.
We say that message is required unless text is provided, but in fact
<echo/> is perfectly valid, is it not?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269972 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
072028843a
New debuglevel attribute for Javac - will be used only when the modern
complier is used.
PR: 4127
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269971 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
75970c6bfb
add bzip2 compressed tarballs to distribution target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269970 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
60f1c746a3
fix checksum's handling of nested filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269969 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b904b3ac0b
Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd' message to handle the other cases :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269968 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
cbd09b7071
typo fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b7cfa6d516
1. Ensure javac does not report deprecation warnings.
2. Close fileoutputstream for every iteration.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269966 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d9d5e24a71
1. GZip still uses zipFile and not tofile.
2. Added reference to the new optional task - translate
3. Checking CVS write access ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269965 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1942efc118
add real tests fro the gzip and bzip2 tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269964 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
495b7c4688
Add testcase for <checksum>, clarify its documentation when used as a
condition and create checksums in Ant's distribution target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269963 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a6ed69b0f7
An initial cut at getting the RPMs for Ant to build as part of the
distribution build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269962 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
150b0c8bba
Make <replace> more robust by:
(1) making sure that files will be closed
(2) deleting temporary files
even if something goes wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269961 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4db248f63f
add method that compares file contents to FileUtils, use it in FixCrLf.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269960 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e444e91c26
donaldp@apache.org --> peter@apache.org
yea - now no one will call me Donald!!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269959 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89822c2740
Remove out of date design doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269958 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d5e9b4accd
Added support for specifying CVS_RSH in ant CVS task.
Submitted by: john.giacomoni@colorado.edu
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269957 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8b4c0066b0
Make sure, the test fails for the reason it is supposed to fail.
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269956 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
060110dab4
fix reversal of logic I introduced with my last patch
Submitted by: Ilya A. Kriveshko <ilya@kaon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269955 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2a0da3b953
LineNumberTable has been sent to the recycle bin...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269954 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c315c3823
Make sure that the full stacktrace is logged to
the build file, otherwise you will end up guessing
the failure reason. It is pretty disappointing for
build that last a long time.
The full stacktrace is appended as a 'stacktrace'
element with a CDATA section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269953 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
90dcced6ab
ANTLR task will now work with the jar being in ${ant.home}/lib rather than in the classpath.
Bug 4899 reported by David Holscher <David.Holscher@nav-international.com>
I copied the code snippet that Stefan did for JUnit. Thanks Stefan.
I added the possibility to specify a classpath and jvm args to ANTLR and fixed the code so that the working dir is not mandatory as specified in the docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269952 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d1f286d911
Try not breaking the build with the Sitraka tests that requires regexp support and trax at some point
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269951 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4402ecacdc
Fixed a couple of messages to make them more meaningful
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269950 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
41344d212c
testing for XMLReport...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269949 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
373c7a1c37
Sample JProbe Coverage report obtained from running a Ant compile with a java.* filter.
I commented the doctype so that the dtd does not bother us when parsing
the document.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269948 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
277a8471ba
better incomplete than nothing...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269947 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
19fc830a16
Uh ! Found stupid bugs while doing some code review:
1) classes were indexed by their name instead of their fullname...
It means that a class X in package Y could shadow class X in package Z. Great !
2) I was looking for duplicate not by the key but the value.
Obviouslly it could never work, fortunately due to
heavy memory usage, I did not used this method in XMLReport.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269946 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
cadfecbbe8
Removing tabs and cleaning up imports ( the layout feature of IntelliJ is great! )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269945 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f19ecd4d89
Removed useless import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269944 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
aa51279001
Removing import that is no more needed... wiped out. :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269943 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
62f7d9f2ca
bad naming....remove this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269942 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9a1b892736
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269941 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
812fa3e8ca
little testcase to ensure that I did not break too many things will refactoring aggressively the code behind the hood.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269940 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
18854fe65a
trying to remove useless files...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269939 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1db29d1744
This is now an interface...
all the code that was there is now useless.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269938 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c1b263f473
Applied patch from Garrick Olson <garrick.olson@aceva.com>
I refactored the bytecode reading to avoid keeping unnecessary data and wasting memory.
I will do a second pass to remove all useless classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269937 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
08f1fb49e4
Added the test testAwkCommand to reproduce bug 4911
I commented it out for now since I'm not that confortable with the quoting logic in command line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269936 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4b6b75cfb5
Fixed a typo of the deprecated tag
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269935 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2968fccd32
Use the coverage home directory...not the JProbe home.
Be consistent with other tasks.
May need to refactor some code in an abstract class.
Reported by stefan hardege <s.hardege@web.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269934 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b40b53c73c
Adding test to demonstrate multiple files transform for trax as filed in bug 4335
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269933 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
139c54505c
will I ever learn to save all buffers before I commit?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269932 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ea6e180655
fix gzip test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269931 13f79535-47bb-0310-9956-ffa450edef68
24 years ago