Stefan Bodewig
45660d1b2d
Add a "relative" attribute to <apply> - this allows users to pass
relative paths on the command line instead of absolute.
Submitted by: Matthew O'Haire <mohaire@trysoft.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269982 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
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
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
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
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
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
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
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
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
Stefan Bodewig
6f7103db54
oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269930 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9ded403f70
checksum task and condition.
I promise to add testcases later 8-)
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269929 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7583a2e2fc
Remove tabs in IntrospectionHelper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269928 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6239084cd3
Fixed bug in SignJar not properly handling nested filesets.
Submitted by: Michael Bayne <mdb@samskivert.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269927 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f1718f0db6
Fix up packaging of bzip utilities.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269926 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d7943b3b97
IVJ exception was not nested as it should be.
Reported by Chris Kreussling <chris.kreussling@ny.frb.org>
I'm committing blindly since I don't have stubs for VAJ
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269924 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2d37437702
Allow port specification for the mail task.
RFE requested by Andrew McConnell <mcconnell@socketware.com>
Heavily based on the patch from Magesh Umasankar <umagesh@rediffmail.com>
Errh, I just realized the full patch was in the first attachment, I though Magesh forgot to update the mail task. Doh ! :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269923 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c35619ac8a
Added more tests for Manifests
Fixed problem with multiple class-path attributes. Hopefully Sun will
update their spec sometime.
PR: 4683
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269921 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c657b5ef73
Here are two new ant tasks - BZip2 and BUnzip2. �These
24 years ago
Stefan Bodewig
cf64423184
don't assume a JUnit Test extends TestCase
PR: 4870
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269918 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
37e1a98039
Added slightly modified version of Execute.
Script adds support for Netware in Execute. In the case of a non JVM supported execute (ie when changing dirs pre1.3) will call out to a perl script.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269916 13f79535-47bb-0310-9956-ffa450edef68
24 years ago