ant.git
18 years agoThis commit was manufactured by cvs2svn to create branch 'tomcat_32'. tomcat_32 tomcat_32
No Author [Fri, 30 Jun 2000 22:39:45 +0000 (22:39 +0000)] 
This commit was manufactured by cvs2svn to create branch 'tomcat_32'.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/tomcat_32@267721 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd lib/* to CLASSPATH
Sam Ruby [Fri, 30 Jun 2000 22:39:45 +0000 (22:39 +0000)] 
Add lib/* to CLASSPATH

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267720 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSetter for fileextension not working
Sam Ruby [Fri, 30 Jun 2000 15:12:51 +0000 (15:12 +0000)] 
Setter for fileextension not working
Submitted by: Heinz Richter <heinz.richter@ecmwf.int>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267719 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake sure bootstrap builds start with a clean build area.
Conor MacNeill [Fri, 30 Jun 2000 14:30:26 +0000 (14:30 +0000)] 
Make sure bootstrap builds start with a clean build area.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267718 13f79535-47bb-0310-9956-ffa450edef68

18 years agoChange delete failure checks to use return code rather than separate call
Conor MacNeill [Fri, 30 Jun 2000 13:55:32 +0000 (13:55 +0000)] 
Change delete failure checks to use return code rather than separate call
to exists

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267717 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDetect situations when files and directories cannot be deleted.
Conor MacNeill [Fri, 30 Jun 2000 12:51:05 +0000 (12:51 +0000)] 
Detect situations when files and directories cannot be deleted.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267716 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSimple stylesheet for XML log output.
Conor MacNeill [Fri, 30 Jun 2000 11:40:23 +0000 (11:40 +0000)] 
Simple stylesheet for XML log output.

Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267715 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixes from Stefan
Conor MacNeill [Fri, 30 Jun 2000 11:33:03 +0000 (11:33 +0000)] 
Fixes from Stefan

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267714 13f79535-47bb-0310-9956-ffa450edef68

18 years agoOops - make the new Javadoc work under JDK 1.1
Conor MacNeill [Thu, 29 Jun 2000 15:45:41 +0000 (15:45 +0000)] 
Oops - make the new Javadoc work under JDK 1.1

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267713 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate javadoc task to support multiple link and group options.
Conor MacNeill [Thu, 29 Jun 2000 15:32:43 +0000 (15:32 +0000)] 
Update javadoc task to support multiple link and group options.

Submitted by: Patrick Chanezon <chanezon@netscape.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267712 13f79535-47bb-0310-9956-ffa450edef68

18 years agoOnly compile Java source files until the behaviour of Javac is updated
Conor MacNeill [Thu, 29 Jun 2000 15:27:56 +0000 (15:27 +0000)] 
Only compile Java source files until the behaviour of Javac is updated

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267711 13f79535-47bb-0310-9956-ffa450edef68

18 years agoreverted unnecessary change to Task.setProject intorduced with the
Stefan Bodewig [Thu, 29 Jun 2000 13:35:33 +0000 (13:35 +0000)] 
reverted unnecessary change to Task.setProject intorduced with the
Touch patch. Expand and Untar use Project.createTask now.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267710 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed typo in comment.
Stefan Bodewig [Thu, 29 Jun 2000 10:45:24 +0000 (10:45 +0000)] 
Fixed typo in comment.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267709 13f79535-47bb-0310-9956-ffa450edef68

18 years agoNew task Touch. Expand now also retains the time from the Zipfile.
Stefan Bodewig [Thu, 29 Jun 2000 10:23:41 +0000 (10:23 +0000)] 
New task Touch. Expand now also retains the time from the Zipfile.

Touch works somewhat like the Unix touch(1) command. It changes the
modification time of files and maybe creates a new file if the
requested one doesn't exist.

In JDK 1.1 only the creation of new files will work, all other cases
generate warning messages.

Expand and Untar reuse Touch to set the modification times of the
expanded files from the information inside the archive.

I had to make Task.setProject public to ease reuse.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267708 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate documentation
Conor MacNeill [Tue, 27 Jun 2000 13:07:34 +0000 (13:07 +0000)] 
Update documentation

Add section on system requirements
Remove references to xml.jar and replace with JAXP compliant XML parser
Add section on build events. Basic information only
Add an example of nested include and exclude tag usage
Update documentation for Replace task

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267707 13f79535-47bb-0310-9956-ffa450edef68

18 years agoStore the modification time of the files inside the ZIP file.
Stefan Bodewig [Tue, 27 Jun 2000 11:12:12 +0000 (11:12 +0000)] 
Store the modification time of the files inside the ZIP file.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267706 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded forceoverwrite attribute to copydir.
Stefan Bodewig [Tue, 27 Jun 2000 10:42:24 +0000 (10:42 +0000)] 
Added forceoverwrite attribute to copydir.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267705 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded -version switch.
Stefan Bodewig [Tue, 27 Jun 2000 10:36:02 +0000 (10:36 +0000)] 
Added -version switch.

Suggested by: Peter Donald <donaldp@mad.scientist.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267704 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd includesfile and excludesfile attributes to MatchingTask.
Stefan Bodewig [Mon, 26 Jun 2000 12:46:55 +0000 (12:46 +0000)] 
Add includesfile and excludesfile attributes to MatchingTask.

This adds the ability to keep the patterns for inclusion/exclusion
separate from the buildfile - increasing the readability in some
difficult cases.

The code is based on the patch submitted by Aaron on 2000/05/24 with
some modifications.

Submitted by: Aaron Knauf <AaronK@geniesystems.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267703 13f79535-47bb-0310-9956-ffa450edef68

18 years agoPropagate a caught Exception inside the thrown BuildException.
Stefan Bodewig [Mon, 26 Jun 2000 10:47:36 +0000 (10:47 +0000)] 
Propagate a caught Exception inside the thrown BuildException.
Suggested by: Julien Couvreur <jcouvreur@redcart.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267702 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAllow the use of the JAVACMD environment variable in ant.bat to modify
Conor MacNeill [Sun, 25 Jun 2000 15:18:39 +0000 (15:18 +0000)] 
Allow the use of the JAVACMD environment variable in ant.bat to modify
how ant's JVM is invoked.

This aligns ant.bat with the ant shell script version.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267701 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDeprecate the implicit copying of support files by Javac.
Conor MacNeill [Sun, 25 Jun 2000 12:36:45 +0000 (12:36 +0000)] 
Deprecate the implicit copying of support files by Javac.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267700 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake <replace> a matching task
Conor MacNeill [Sun, 25 Jun 2000 11:45:19 +0000 (11:45 +0000)] 
Make <replace> a matching task

This is based on the concept in the patch submitted by Charles Tewksbury
although the implementation details are a little different.

Submitted by: Charles Tewksbury <tewks@adhesive.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267699 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove System.exit calls.
Conor MacNeill [Sat, 24 Jun 2000 16:01:07 +0000 (16:01 +0000)] 
Remove System.exit calls.

These have been replaced by propagating BuildExceptions. This will allow ant
to be more easily used from GUIs, IDEs, etc

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267698 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix handling of $$ in properties
Conor MacNeill [Sat, 24 Jun 2000 15:17:00 +0000 (15:17 +0000)] 
Fix handling of $$ in properties
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267697 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix typo in netrexxc optional task
Conor MacNeill [Sat, 24 Jun 2000 12:57:24 +0000 (12:57 +0000)] 
Fix typo in netrexxc optional task
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267696 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate NetRexxC task to new build events system
Conor MacNeill [Sat, 24 Jun 2000 11:03:35 +0000 (11:03 +0000)] 
Update NetRexxC task to new build events system

PR:
Obtained from:
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267695 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd BuildEvents to Ant
Conor MacNeill [Sat, 24 Jun 2000 10:55:45 +0000 (10:55 +0000)] 
Add BuildEvents to Ant

The basic idea is to keep the core build engine "clean" and free of any
presentation logic, and to make it easier to extend Ant with other features
without cluttering up the core. To do this, I've defined a BuildListener
interface and added an "addBuildListener" method to Project that can be
used to register listener objects. Listeners could be implemented to
generate reports, send out emails when the build is complete, create a
bill of materials, etc...

The only new functionality visible to the end-user is a "-listener" option
on the command line that will let you specify the name of a class. An
instance of this class will be added as a listener to the project. I've
included a listener that will generate an XML log file, which you can use
by typing the command below.

build -listener org.apache.tools.ant.XmlLogger

PR:
Obtained from:
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267694 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded MailMessage. Hope people don't mind that I left it in
Jason Hunter [Sat, 24 Jun 2000 02:46:17 +0000 (02:46 +0000)] 
Added MailMessage.  Hope people don't mind that I left it in
com.oreilly.servlet.  I did that since it's going to be a mirror
of what's in the larger com.oreilly.servlet package.  I put
it under the Apache license of course, and added the ASF as an
additional copyright holder.  Code can have two copyright holders,
meaning either party can do as they wish with the code.  This lets
the ASF upgrade to Apache License 1.2 sometime in the future, and
lets me be able to use the code without thanking the ASF for code
I wrote.  :-)  Updated build.xml to handle the new package.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267693 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFine tune startup (handle liaison being present but processor not in
Sam Ruby [Fri, 23 Jun 2000 21:18:07 +0000 (21:18 +0000)] 
Fine tune startup (handle liaison being present but processor not in
classpath)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267692 13f79535-47bb-0310-9956-ffa450edef68

18 years agoNow, commit something that works...
Sam Ruby [Fri, 23 Jun 2000 21:00:51 +0000 (21:00 +0000)] 
Now, commit something that works...

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267691 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd an XSLT (style) task. Based on code from Assaf Arkin.
Sam Ruby [Fri, 23 Jun 2000 16:47:11 +0000 (16:47 +0000)] 
Add an XSLT (style) task.  Based on code from Assaf Arkin.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267690 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded date attribute to CVS task.
Stefan Bodewig [Fri, 23 Jun 2000 14:50:34 +0000 (14:50 +0000)] 
Added date attribute to CVS task.
Submitted by: Steven_Yelton@adware.com

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267689 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSeveral contributed documentation updates. New task patch.
Stefan Bodewig [Fri, 23 Jun 2000 14:38:19 +0000 (14:38 +0000)] 
Several contributed documentation updates. New task patch.
Submitted by:   Gary Murphy <jakarta@hilbertinc.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267688 13f79535-47bb-0310-9956-ffa450edef68

18 years agoImproved error messages if srcdir doesn't exist.
Stefan Bodewig [Fri, 23 Jun 2000 14:17:17 +0000 (14:17 +0000)] 
Improved error messages if srcdir doesn't exist.

Submitted by: Peter Nordlund <peter.nordlund@lentus.se>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267687 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate the documentation to the Untar task.
Stefan Bodewig [Fri, 23 Jun 2000 13:58:40 +0000 (13:58 +0000)] 
Update the documentation to the Untar task.

Submitted by: Jacques Bergeron (jacques.bergeron@dogico.com)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267686 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix typo. Thanks Conor!
Sam Ruby [Wed, 21 Jun 2000 17:19:08 +0000 (17:19 +0000)] 
Fix typo.  Thanks Conor!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267685 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDo not change the classpath in build.bat
Conor MacNeill [Wed, 21 Jun 2000 14:23:39 +0000 (14:23 +0000)] 
Do not change the classpath in build.bat
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267684 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd a test which will compile and load a task definition.
Sam Ruby [Sun, 18 Jun 2000 12:24:47 +0000 (12:24 +0000)] 
Add a test which will compile and load a task definition.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267683 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBetter reporting of errors when JAXP not present.
Conor MacNeill [Sun, 18 Jun 2000 02:22:23 +0000 (02:22 +0000)] 
Better reporting of errors when JAXP not present.

Catch NoClassDefFoundError as well as NullPointerException and
emit a more meaningful error message.

Change BuildException to accept Errors as well as Exceptions
as cause.

Submitted by: Stefan Bodewig <bodewig@bost.de>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267682 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix up minor mangling of HTML
Conor MacNeill [Sat, 17 Jun 2000 16:14:03 +0000 (16:14 +0000)] 
Fix up minor mangling of HTML

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267681 13f79535-47bb-0310-9956-ffa450edef68

18 years agoExtend CVS Task functionality.
Conor MacNeill [Sat, 17 Jun 2000 15:38:42 +0000 (15:38 +0000)] 
Extend CVS Task functionality.

This patch adds quiet and noexec attributes (for the -q and -n
switches) and a command attribute that specifies which CVS command to
execute.

The default command is "checkout" to remain compatible to the existing
behaviour.

Submitted by:
Wolfgang Werner [wwerner@picturesafe.de]
update by Stefan Bodewig [bodewig@bost.de]

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267680 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix for Tar-time
Arnout J. Kuiper [Sat, 17 Jun 2000 12:57:48 +0000 (12:57 +0000)] 
Fix for Tar-time

Submitted by: Stefan Bodewig <bodewig@bost.de>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267679 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake Delete a matchingTask
Sam Ruby [Fri, 16 Jun 2000 01:46:13 +0000 (01:46 +0000)] 
Make Delete a matchingTask
Submitted by: Tom Dimock <tad1@cornell.edu>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267678 13f79535-47bb-0310-9956-ffa450edef68

18 years agoPut in proper unix /bin/sh declaration
James Duncan Davidson [Wed, 14 Jun 2000 21:23:32 +0000 (21:23 +0000)] 
Put in proper unix /bin/sh declaration

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267677 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc 1.2 multiple group support
Sam Ruby [Wed, 14 Jun 2000 12:42:14 +0000 (12:42 +0000)] 
Javadoc 1.2 multiple group support
Submitted by: Donald Leslie <Donald_Leslie@lotus.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267676 13f79535-47bb-0310-9956-ffa450edef68

18 years agolog informational messages when classes are not available
Sam Ruby [Wed, 14 Jun 2000 01:40:21 +0000 (01:40 +0000)] 
log informational messages when classes are not available

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267675 13f79535-47bb-0310-9956-ffa450edef68

18 years agoXML Parsing kit required.
Arnout J. Kuiper [Thu, 1 Jun 2000 06:54:52 +0000 (06:54 +0000)] 
XML Parsing kit required.

Submitted by: David H Elrod <dhelrod@rivendell.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267674 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake sure that properies from the command line and/or parent projects
Sam Ruby [Sat, 27 May 2000 22:21:10 +0000 (22:21 +0000)] 
Make sure that properies from the command line and/or parent projects
override properties specified in the build.xml file.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267673 13f79535-47bb-0310-9956-ffa450edef68

18 years agoPass along ANT_HOME value
Sam Ruby [Fri, 26 May 2000 13:45:16 +0000 (13:45 +0000)] 
Pass along ANT_HOME value

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267672 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTwo new tasks, untar & gunzip, to complement the tar & gzip.
Arnout J. Kuiper [Wed, 24 May 2000 14:35:22 +0000 (14:35 +0000)] 
Two new tasks, untar & gunzip, to complement the tar & gzip.

Submitted by: Stefan Bodewig <stefan.bodewig@megabit.net>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267671 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed problem when an empty tag was supplied.
Arnout J. Kuiper [Wed, 24 May 2000 06:45:05 +0000 (06:45 +0000)] 
Fixed problem when an empty tag was supplied.

Submitted by: Jean-Noel Gadreau <jngadreau@activcard.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267670 13f79535-47bb-0310-9956-ffa450edef68

18 years agofix shell equality operator
Sam Ruby [Tue, 23 May 2000 13:15:43 +0000 (13:15 +0000)] 
fix shell equality operator

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267669 13f79535-47bb-0310-9956-ffa450edef68

18 years agoallow explicit specification of ANT_HOME
Sam Ruby [Tue, 23 May 2000 13:01:29 +0000 (13:01 +0000)] 
allow explicit specification of ANT_HOME

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267668 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSupport JDK 1.3 (a.k.a. "modern") compiler.
Sam Ruby [Tue, 23 May 2000 12:08:17 +0000 (12:08 +0000)] 
Support JDK 1.3 (a.k.a. "modern") compiler.
Submitted by: Robin Green <greenrd@hotmail.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267667 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed inconsistency between docs and build.xml
Arnout J. Kuiper [Sat, 20 May 2000 11:07:10 +0000 (11:07 +0000)] 
Fixed inconsistency between docs and build.xml

Submitted by: Mariusz Nowostawski (mariusz@marni.otago.ac.nz)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267666 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded a "compress" attribute to the Zip and Jar task.
Arnout J. Kuiper [Sat, 20 May 2000 10:58:17 +0000 (10:58 +0000)] 
Added a "compress" attribute to the Zip and Jar task.

Submitted by: Stefan Bodewig (bodewig@bost.de)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267665 13f79535-47bb-0310-9956-ffa450edef68

18 years agoHack to make clear that Modern compiler isn't yet implemented. Of course,
James Duncan Davidson [Wed, 10 May 2000 23:01:07 +0000 (23:01 +0000)] 
Hack to make clear that Modern compiler isn't yet implemented. Of course,
a real solution is needed, but I didn't want to see any more unneeded
confusion over this.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267664 13f79535-47bb-0310-9956-ffa450edef68

18 years agoProperly set the "ant.java.version" property.
Arnout J. Kuiper [Fri, 28 Apr 2000 08:45:21 +0000 (08:45 +0000)] 
Properly set the "ant.java.version" property.

Submitted by: Justyna Horwat

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267663 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial versions of a build script that will create nightly distribution
Craig R. McClanahan [Thu, 27 Apr 2000 20:26:10 +0000 (20:26 +0000)] 
Initial versions of a build script that will create nightly distribution
files of Ant (and optionally install them on the Jakarta web server) that
include the JAXP reference implementation JAR files ("jaxp.jar" and
"parser.jar") that are redistributable.

Prerequisites for the successful execution of this script are listed in
the comments.  Because the script is intended to run from a "cron" job on
the Jakarta server, no Windows version is provided.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267662 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThe previous fix was not sufficient when executing Ant's build.xml as a
Craig R. McClanahan [Thu, 27 Apr 2000 19:52:52 +0000 (19:52 +0000)] 
The previous fix was not sufficient when executing Ant's build.xml as a
subtask.  Apparently the base directory for Javadoc is set to the "outer"
Ant's base directory, instead of the "inner" one.  This fix works around
that problem by relying on the (undocumented?) fact that the "basedir"
property is set automatically by Ant.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267661 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake the src.dir property relative to the execution base directory without
Craig R. McClanahan [Thu, 27 Apr 2000 19:39:23 +0000 (19:39 +0000)] 
Make the src.dir property relative to the execution base directory without
a pseudo ${basedir} target (consistent with src.bin.dir).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267660 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded convenience for JDK 1.2+ users
Sam Ruby [Thu, 27 Apr 2000 13:53:14 +0000 (13:53 +0000)] 
Added convenience for JDK 1.2+ users
Submitted by: Conor MacNeill <conor@m64.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267659 13f79535-47bb-0310-9956-ffa450edef68

18 years agoLet's see if I get this right this time... thx Craig!
Sam Ruby [Wed, 26 Apr 2000 22:42:53 +0000 (22:42 +0000)] 
Let's see if I get this right this time... thx Craig!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267658 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCleanup things missed with JAXP/SAX 1.0 fixes
Sam Ruby [Wed, 26 Apr 2000 21:21:04 +0000 (21:21 +0000)] 
Cleanup things missed with JAXP/SAX 1.0 fixes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267657 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSupport JAXP and SAX1.0
Sam Ruby [Wed, 26 Apr 2000 19:09:17 +0000 (19:09 +0000)] 
Support JAXP and SAX1.0
Submitted by: Matt Foemmel

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267656 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial checkin of core spec. There's still pieces that need to be filled
James Duncan Davidson [Fri, 21 Apr 2000 12:46:25 +0000 (12:46 +0000)] 
Initial checkin of core spec. There's still pieces that need to be filled
in that I know about. The big on is the task reflection stuff.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267655 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAnt should not depend on tasks unless they are used.
Sam Ruby [Wed, 12 Apr 2000 16:20:53 +0000 (16:20 +0000)] 
Ant should not depend on tasks unless they are used.
PR: 217

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267651 13f79535-47bb-0310-9956-ffa450edef68

18 years agoNow make it work with JDK1.2.2. Thanks Craig for bringing it to my
Sam Ruby [Sat, 1 Apr 2000 22:35:25 +0000 (22:35 +0000)] 
Now make it work with JDK1.2.2.  Thanks Craig for bringing it to my
attention!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267650 13f79535-47bb-0310-9956-ffa450edef68

18 years agoExplicitly copy support files, in anticipation of this function being
Sam Ruby [Sat, 1 Apr 2000 15:17:29 +0000 (15:17 +0000)] 
Explicitly copy support files, in anticipation of this function being
removed from the javac task.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267649 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavaDoc doesn't use basedir for sourcePath
Sam Ruby [Sat, 1 Apr 2000 14:25:07 +0000 (14:25 +0000)] 
JavaDoc doesn't use basedir for sourcePath
PR: 61
Obtained from: will+ant@cs.cmu.edu

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267648 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSupport UNC filenames (\\server\path\file) on Windows platforms
Sam Ruby [Sat, 1 Apr 2000 13:48:04 +0000 (13:48 +0000)] 
Support UNC filenames (\\server\path\file) on Windows platforms
PR: 131
Submitted by: wolf.siberski@tui.de

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267647 13f79535-47bb-0310-9956-ffa450edef68

18 years ago<available file="name"> doesn't work
Sam Ruby [Sat, 1 Apr 2000 13:42:56 +0000 (13:42 +0000)] 
<available file="name"> doesn't work
PR: 95
Submitted by: mdaniel@scdi.com

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267646 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRestore the ability to define properties and taskdefs outside the scope
Sam Ruby [Sat, 1 Apr 2000 12:44:50 +0000 (12:44 +0000)] 
Restore the ability to define properties and taskdefs outside the scope
of any target.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267645 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAllow java classes to be called with no arguments
Sam Ruby [Wed, 29 Mar 2000 17:13:31 +0000 (17:13 +0000)] 
Allow java classes to be called with no arguments
PR: 133

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267644 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded "output" parameter to Ant - it will allow the redirection of output.
Costin Manolache [Tue, 28 Mar 2000 20:40:18 +0000 (20:40 +0000)] 
Added "output" parameter to Ant - it will allow the redirection of output.

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267643 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDocumented optional tasks to my knowledge
Sam Ruby [Mon, 27 Mar 2000 00:46:34 +0000 (00:46 +0000)] 
Documented optional tasks to my knowledge
Submitted by: dIon Gillard <dion@multitask.com.au>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267642 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd a rename task
Sam Ruby [Thu, 23 Mar 2000 03:40:32 +0000 (03:40 +0000)] 
Add a rename task
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267641 13f79535-47bb-0310-9956-ffa450edef68

18 years agofixed comments and error message
Sam Ruby [Mon, 20 Mar 2000 15:45:34 +0000 (15:45 +0000)] 
fixed comments and error message
Submitted by: dIon Gillard <dion@multitask.com.au>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267640 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd new tasks to the list...
Sam Ruby [Mon, 20 Mar 2000 01:51:21 +0000 (01:51 +0000)] 
Add new tasks to the list...

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267639 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAllow names to be used as id references
Sam Ruby [Sun, 19 Mar 2000 20:27:44 +0000 (20:27 +0000)] 
Allow names to be used as id references

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267638 13f79535-47bb-0310-9956-ffa450edef68

18 years agoNetRexxC and supporting taskdefs.
Sam Ruby [Sun, 19 Mar 2000 17:57:03 +0000 (17:57 +0000)] 
NetRexxC and supporting taskdefs.

NetRexxC 1.160 or higher needed (due to bugs in the way the compiler
handles error streams).

Note: I changed the package names and converted the calls from using
Introspection to directly calling the compiler.

Submitted by: dIon Gillard <dion@multitask.com.au>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267637 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded an *OPTIONAL* task which will allow a script, embedded or external,
Sam Ruby [Sun, 19 Mar 2000 03:35:48 +0000 (03:35 +0000)] 
Added an *OPTIONAL* task which will allow a script, embedded or external,
to be executed.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267636 13f79535-47bb-0310-9956-ffa450edef68

18 years agoProvide a reasonable message when only an exception is provided.
Sam Ruby [Sun, 19 Mar 2000 01:22:23 +0000 (01:22 +0000)] 
Provide a reasonable message when only an exception is provided.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267635 13f79535-47bb-0310-9956-ffa450edef68

18 years agoStopped the script from blowing away the JAVA_HOME/JAVA/JAVAC/CLASSPATH values.
Jason Hunter [Fri, 17 Mar 2000 23:15:35 +0000 (23:15 +0000)] 
Stopped the script from blowing away the JAVA_HOME/JAVA/JAVAC/CLASSPATH values.
Without this fix it didn't work on my NT JDK 1.3b system.  I've tested the
current script on JDK 1.3b and JDK 1.2 and it now respects JAVA_HOME.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267634 13f79535-47bb-0310-9956-ffa450edef68

18 years agoOld bootstrap.bat did not work.
preston [Fri, 17 Mar 2000 15:22:08 +0000 (15:22 +0000)] 
Old bootstrap.bat did not work.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267633 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial checkin of Utah Design Guide.
James Duncan Davidson [Thu, 16 Mar 2000 21:04:49 +0000 (21:04 +0000)] 
Initial checkin of Utah Design Guide.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267632 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed copydir attributes in example.
Arnout J. Kuiper [Sun, 5 Mar 2000 19:43:47 +0000 (19:43 +0000)] 
Fixed copydir attributes in example.
Submitted by: Michael Smith <michael@sneakerlabs.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267630 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed examples for writing your own task.
Arnout J. Kuiper [Sun, 5 Mar 2000 09:19:46 +0000 (09:19 +0000)] 
Fixed examples for writing your own task.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267629 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAllow subclasses to extend scanDir functionality
Sam Ruby [Sat, 4 Mar 2000 20:07:02 +0000 (20:07 +0000)] 
Allow subclasses to extend scanDir functionality
Submitted by: Jorgen Thelin <ant-dev@sw-technologies.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267628 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMake attribute names in the documentation match the code
Sam Ruby [Sat, 4 Mar 2000 16:47:01 +0000 (16:47 +0000)] 
Make attribute names in the documentation match the code
Submitted by: Fotis Jannidis <Fotis.Jannidis@lrz.uni-muenchen.de>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267627 13f79535-47bb-0310-9956-ffa450edef68

18 years agocalled "javadoc" directly to avoid classpath problems that bugged many cocoon devs...
Stefano Mazzocchi [Fri, 3 Mar 2000 14:15:42 +0000 (14:15 +0000)] 
called "javadoc" directly to avoid classpath problems that bugged many cocoon devs (it didn't happen to me because  was setting tools.jar in my autoexec.bat... now I have a clean classpath and everything works fine on both 1.2 and 1.1

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267626 13f79535-47bb-0310-9956-ffa450edef68

18 years ago(Possibly temporary) Fix for getting Taskdef in build files to actually work.
akv [Thu, 2 Mar 2000 20:40:04 +0000 (20:40 +0000)] 
(Possibly temporary) Fix for getting Taskdef in build files to actually work.
Fixing this because watchdog is broken.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267625 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove the portion of MatchingTask that duplicates logic present in
Sam Ruby [Tue, 29 Feb 2000 02:59:57 +0000 (02:59 +0000)] 
Remove the portion of MatchingTask that duplicates logic present in
the Available task.  This isn't Perl - we want only one clean way to
do things here.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267624 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove special processing for init.
Sam Ruby [Mon, 28 Feb 2000 14:10:46 +0000 (14:10 +0000)] 
Remove special processing for init.

Tested with the latest versions of:
  jakarta-ant
  jakarta-tomcat
  jakarta-tools
  jakarta-watchdog
  xml-xerces
  xml-xalan
  xml-cocoon

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267623 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemoved references to old "init" task.
Arnout J. Kuiper [Mon, 28 Feb 2000 11:24:35 +0000 (11:24 +0000)] 
Removed references to old "init" task.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267622 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFirst installment on \x/ill Uther's changes.
Sam Ruby [Mon, 28 Feb 2000 02:17:57 +0000 (02:17 +0000)] 
First installment on \x/ill Uther's changes.

While some (like chmod) are clearly Mac motivated, others (like Javac) are
fixes to bugs that can appear on any platform.
Submitted by: William Uther <will+ant@cs.cmu.edu>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267621 13f79535-47bb-0310-9956-ffa450edef68

18 years agoIssue a warning if a java source is found to be modified in the future
Sam Ruby [Sun, 27 Feb 2000 19:13:56 +0000 (19:13 +0000)] 
Issue a warning if a java source is found to be modified in the future
relative to the clock on the current machine.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267620 13f79535-47bb-0310-9956-ffa450edef68

18 years agoEmulate extdirs feature with Jikes compiler.
Sam Ruby [Sun, 27 Feb 2000 01:47:46 +0000 (01:47 +0000)] 
Emulate extdirs feature with Jikes compiler.

Also fix two files to compile with the more strict Jikes compiler.

Submitted by: Sebastian Kanthak <sebastian.kanthak@muehlheim.de>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267619 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded a new property to task: "description".
Costin Manolache [Thu, 24 Feb 2000 21:57:20 +0000 (21:57 +0000)] 
Added a new property to task: "description".
It can be used to add a short description of what the particular instance
of the task is doing - instead of/in addition to xml comments.

It can be usefull to display it if a task fails, and it's a good way to
document the file.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267618 13f79535-47bb-0310-9956-ffa450edef68