ant-git

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

  1. … 75 more files in changeset.
Add lib/* to CLASSPATH

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

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

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

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

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

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

Fixes from Stefan

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

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

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

    • -0
    • +124
    /src/main/org/apache/tools/ant/PathTokenizer.java
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

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

    • -1
    • +1
    /src/main/org/apache/tools/ant/Task.java
Fixed typo in comment.

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

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

    • -1
    • +1
    /src/main/org/apache/tools/ant/Task.java
    • -0
    • +198
    /src/main/org/apache/tools/ant/taskdefs/Touch.java
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

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

Added forceoverwrite attribute to copydir.

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

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

    • -0
    • +28
    /src/main/org/apache/tools/ant/Main.java
    • -0
    • +2
    /src/main/org/apache/tools/ant/version.txt
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

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

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

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

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

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

    • -4
    • +4
    /src/main/org/apache/tools/ant/Main.java
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

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

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

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

    • -0
    • +153
    /src/main/org/apache/tools/ant/BuildEvent.java
    • -0
    • +119
    /src/main/org/apache/tools/ant/BuildListener.java
    • -0
    • +111
    /src/main/org/apache/tools/ant/DefaultLogger.java
    • -17
    • +67
    /src/main/org/apache/tools/ant/Main.java
    • -22
    • +122
    /src/main/org/apache/tools/ant/Project.java
    • -0
    • +269
    /src/main/org/apache/tools/ant/XmlLogger.java
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

    • -0
    • +448
    /src/main/com/oreilly/servlet/MailMessage.java
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