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
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
Steve Loughran
088e18fc19
Wow, I never knew that echo had a reporting level. Time it got written up.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269925 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
Peter Donald
918d6fe305
Remove uneccessary cruft at top of file.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269922 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
8ceff1b470
Add a note about new BZip2 tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269920 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
Stefan Bodewig
833baa0fbc
Perforce tests depend on ORO
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269917 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
Peter Donald
be7ecb7732
A perl script to make it easier to get Execute to run under netware.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269915 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6345068235
Fixed the description bug reported by Gerhard Langs <glangs@eunet.at>
Description is now backslashed so that delimiters are backslashed correctly and do not confuse Oro.
Based on a patch from Magesh Umasankar <umagesh@rediffmail.com>
Added basic test case to ensure fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269914 13f79535-47bb-0310-9956-ffa450edef68
24 years ago