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
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
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
Diane Holt
cad841b38a
- Fixed the search for a file or directory using the <filepath> element
(changes are in checkFile(), in case anyone wants to review this
and make sure I did it right).
- Added a BuildException for when the "type" attribute is used with
anything other than the "file" attribute.
- Changed the "Searching..." output to DEBUG level, since that
seemed more appropriate, and added "Found..." output for the
VERBOSE level.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269913 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3f37290d4a
Initial cut at Manifest tests. This is in preparation for handling multiple
Class-Path entries. More to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269912 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
eb2f2bbe44
sanity check filter tokens.
PR: 4634
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269908 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
286537d1f8
Make <fixcrlf> work for long lines as well.
PR: 4186, 4646, 4709
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269907 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7e8bb3f17d
a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e37dd0ba2
Add encoding attribute to <fixcrlf>
PR: 961
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269904 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
24d47a5c0f
backing out of antjar/antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269901 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1e469669cf
Jose Alberto Fernandez's ant descriptor loader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269898 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ba558a362e
Make <typedef> something that is useful.
PR: 4143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269893 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b31544238d
don't try to do too much with the regexp stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269890 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
8deee6eda1
this doesnt fix anything, it just logs the #of files compiled better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269887 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
45463e16cc
JARs are never empty.
PR: 4448
This probably is not what the reporting user intended ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269886 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6d3fa23159
fix error message in copy task.
PR: 4687
Submitted By: peterlynch@mindspring.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269885 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2ab27c7552
Subclass of fileset which given a root class will return the closure of all
classes upon which that class depends.
Submitted by: Holger Engels <hengels@mercatis.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269884 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
87fc3af5ca
Group refernces don't want parens any longer in JDK 1.4beta3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269881 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a66a2b7f86
Add testcases for latest <javac> changes, fix some problem with some
rare combination of the fork attribute and build.compiler settings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269879 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
afdc184c8f
get rid of javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269878 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7224556927
Only add directories as extdirs that actually exist.
Submitted by: Constantine P Sapuntzakis <csapuntz@stanford.edu>
push addExtdirs to Path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269877 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a53e6de92a
Make sure that the translate task is registered.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269871 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ee474a93b1
empty sourcefilesets kill dependset.
PR: 4290
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269870 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ba89b453f
Add a way to pass compiler specific command line arguments to <javac>.
PR: 4406
heavily based upon a Submission by: Stephen Anderson <anderson@berbee.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269869 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
30b11d18c9
Make name of the javac executable configurable in fork mode.
PR: 4119
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269868 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b3d619d507
Added some validation to make sure delimiters are one character long.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269861 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6b7e33e2e3
A task for performing 18n translations on files via preprocessing.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269860 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
307c136939
push createTempFile to FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269859 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f19ae9c773
enable <javac>'s source switch for fork mode as well.
PR: 3045
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269858 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5f93102e17
Make sure the class passed into Project.addTaskDefinition is suitable
for a task, that is it is public, non-abstract, has a no-arg
constructor and a public no-arg execute method.
PR: 4163
Submitted by: Ralf Wiebicke <ralf@rw7.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269857 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4eecbff517
I found myself compiling with 1.1 today ...
Notes:
(1) JUnitTestRunnerTest fails with an InvocationTargetException, I
don't have the time to investigate why this happens right now.
(2) I didn't modify ManifestFile as I couldn't figure out why Entry
implemented Comparator. Why doesn't this task use
org.apache.tools.ant.taskdefs.Manifest anyway?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269855 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
31d76fc5d0
spread the project instance a little further (this accounts for a
number of NPEs when using <taskdef> that have been reported).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269854 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aaed8c297a
kill TAB
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269853 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6aa92bae28
Make sure tasks inside TaskContainers get their attribute setters
called, even if the parent TaskContainer doesn't take care of it
itself.
Submitted by: Ovidiu Predescu <ovidiu@cup.hp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269852 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ab9f91736a
Take care of NetWare when searching for "java" and "javadoc", add
NetWare case for <property environment=... />.
Simplify OS based decisions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269851 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
a376c57ae1
Add the index feature for jar so that it optimizes the class loading process for JDK 1.3+
Patch was submitted by Philippe Prados <philippe@prados.net>
I added UTF8 encoding as specified in the specifications and changed the logic a little bit to be closer to what is being done in the implementation of sun.misc.JarIndex in JDK 1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269850 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
4706d9616b
Fix increment/decrement bug.
PR: 4549
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269849 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cc03579eba
Add runtime classes in the Kaffe case as well (it has been there for
rmic but not for javac).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269848 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d17f3c4f2a
Use locale independent methods to identify OS or match attributes and
elements in build files.
PR: 4100
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269847 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b1e459d5c
Add OS/2 as Os family
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269846 13f79535-47bb-0310-9956-ffa450edef68
24 years ago