Converted <patch> and <cvs> to new framework.
90 lines of code changed in:
Didn't set the basedir correctly if the attribute to project was
ommitted and the basedir was not the process's working directory.
6 lines of code changed in:
Added nested <filesetref> element to <execon>.
Using
<execon ...>
<filesetref refid="otherfileset" />
</execon>
you can reference a fileset with ID="otherfileset" defined anywhere
else in the build file.
23 lines of code changed in:
Somehow lost the jvm attribute of <java> with last update.
7 lines of code changed in:
Java rewritten so that it no longer extends Exec.
138 lines of code changed in:
Improved Jikes support. Added build.compiler.pedantic option for Jikes
+P flag and use JIKESPATH if set.
Submitted by: Peter Donald <donaldp@mad.scientist.com>
30 lines of code changed in:
Renamed javacc task to mparse and moved the corresponding class.
Submitted by: Michael Saunders <michael@amtec.com>
83 lines of code changed in:
Add in properties for versions of the JDK
Convert ejbjar to build on JDK1.2 or above.
3 lines of code changed in:
Change the install targets
* install does a full install into ANT_HOME
* mininstall does a minimal install into ANT_HOME. This includes libraries
and runtime files. Documentation is not updated
* fullinstall is a synonym for install and will be removed sometime in the
future
4 lines of code changed in:
Added entries to the fixed bugs section.
3 lines of code changed in:
<property file="..."> didn't resolve relative filenames correctly.
Reported by: Marc Gemis <marc.gemis.mg@belgium.agfa.com>
8 lines of code changed in:
Available didn't resolve filenames correctly.
Reported by: Marc Gemis <marc.gemis.mg@belgium.agfa.com>
8 lines of code changed in:
Added documentation for the sql task. bootstrap.sh and ant complain if
JAVA_HOME is not set. Updated building ant section and README.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>,
Barrie Treloar <Barrie.Treloar@camtech.com.au>
29 lines of code changed in:
Update example in documentation
Submitted by: David Walend <dwalend@eecs.tufts.edu>
38 lines of code changed in:
Removed the deprecated versions of Path and EnumeratedAttribute.
6 lines of code changed in:
Add the ability to output all EJB jarfiles to a single directory.
Add a new attribute 'flatdestdir'. Attribute defaults to false, which
maintains the current behaviour. If it is set to true, all jars will
be created directly in the destination dir.
WARNING: If you use this attribute, and have multiple jars with the same
name, they will overwrite each other!
Submitted by: Tim Fennell <tfenne@rcn.com>
33 lines of code changed in:
Corrected the URL for nightly builds. Added reference to the ant-user
mailing list. Removed pointer to the list of external tasks and known
projects.
I've moved the section on optional tasks to the position it should be,
this makes the patch look a lot bigger than it actually is.
PR:
Obtained from:
Submitted by:
Reviewed by:
133 lines of code changed in:
Updated documentation to Get task.
Submitted by: Steve Loughran <steve_l@iseran.com>
32 lines of code changed in:
The instance variable conn was shadowed by a local variable in
execute, failed to remove ; from statement with trailing white space,
made class easier to extend for specialized tasks like <plsql>.
Submitted by: John H. Lee <jlee@c.kiracom.com>,
Curt Hagenlocher <curt@hagenlocher.org>,
Jose Alberto Fernandez <JFernandez@viquity.com>
9 lines of code changed in:
Allow paths to be passed to environment variables of exec task.
Example usage
<target name="exectest">
<exec command="exectest.bat" dir=".">
<env key="ANT_TEST" path="../test:../test2"/>
</exec>
</target>
6 lines of code changed in:
Modified <sql> task to accept #PCDATA and added autocommit attribute.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
100 lines of code changed in:
Update for logger changes
6 lines of code changed in:
Add the concept of a BuildLogger - A BuildListener with the following
- An output level used to filter build events
- Access to the ant output print stream
- An emacs mode.
Update DefaultLogger to the new interface. In its emacs mode, output
is unadorned by the [taskname] tags
Add -logger option to allow the logger class to be changed
Add -emacs option to control the logger's emacsMode setting
183 lines of code changed in:
Removed all command line switches that didn't start with a -.
12 lines of code changed in:
Reworked the <exec> and (now so called) <execon> tasks.
Submitted by: Mariusz Nowostawski <mariusz@marni.otago.ac.nz>
204 lines of code changed in:
Removed items from the TODO list and added a WHATSNEW file.
The latter should help us to follow the changes since 1.1 - I've
already started to lose track. I ask the other commiters to update
WHATSNEW as appropriate.
38 lines of code changed in:
Changed testcases to reflect the new packages of Path and
EnumeratedAttribute.
81 lines of code changed in:
Reprocess files if stylesheet has changed in style task.
Submitted by: Russell Gold <russgold@acm.org>
28 lines of code changed in:
Used the deprecated version of EnumeratedAttribute.
PR:
Obtained from:
Submitted by:
Reviewed by:
1 lines of code changed in:
Changed the execSQL method. Interbase's JDBC driver will throw an
SQLException in executeQuery if the query doesn't return a ResultSet.
7 lines of code changed in:
Moved EnumeratedAttribute to types as well.
374 lines of code changed in:
Made Path resolve relative paths through Project. Moved it to the
types package on the same instance, so I had to touch a lot of ather
files as well.
Reported by: Frederic Lavigne <fred@L2FProd.com>
109 lines of code changed in:
Didn't handle relative paths in project's basedir attribute correctly.
Reported by: <Glen_Stampoultzis@ansett.com.au>,
Jesse Glick <Jesse.Glick@netbeans.com>
12 lines of code changed in:
Task to execute SQL from a file (or directly in the task)
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
237 lines of code changed in:
Chmod didn't work if used as a matching task.
Reported by: Alex Smith <asmith42@hotmail.com>
6 lines of code changed in:
Added usetimestamp attribute to Get so that it only downloads a file
via HTTP if the source is newer than the local file.
Submitted by: Steve Loughran <steve_l@iseran.com>
159 lines of code changed in:
Documentatin for ejbjar optional task
Submitted by: Tim Fennell <tfenne@rcn.com>
95 lines of code changed in:
Moved the inclusion of .ant.properties to the top to give the user a
chance to override build.compiler there (and maybe other variables as
well).
Submitted by: Paul Philion <philion@acmerocket.com>
4 lines of code changed in:
Remove include filter on Java files. This was originally included to
ensure no support files were copied by the javac task. This deprecated
behaviour has now been removed.
0 lines of code changed in:
Remove the copying of support files by the Javac task. This feature has
been deprecated for some time, including the recent release.
2 lines of code changed in:
Fix verbose message printed when property overrides are ignored.
Submitted by: Paul Philion [philion@acmerocket.com]
2 lines of code changed in:
Add Javadoc to AntClassLoader
Clean up the Javadoc (a little) in the new FileSet and PatternSet classes
122 lines of code changed in:
Modified Ant task to be less memory consuming.
I've modified Glenn's initial patch to defer the copying of taskdefs
as well and save the initial p1.init call - this even makes the ant
task faster.
Should be suited for situations where a single instance of the task is
executed more than once as well.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
64 lines of code changed in:
Updated example to match the implementation.
4 lines of code changed in:
Added an antcall task as a shortcut for ant tasks invoked on the same
buildfile.
114 lines of code changed in:
Added support for patternset and patternsetref to MatchingTask.
14 lines of code changed in:
Added a nested patternsetref element to fileset.
148 lines of code changed in:
Better support for subbuilds in XmlLogger. Output of XmlLogger can be
sent to another file using the XmlLogger.file property.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
44 lines of code changed in:
Workaround for a problem when compiling many files on Windows.
I've modified Matt's patch a little to kick in only if we are actually
running on Windows and want to compile a lot of files.
Unfortunately File.createTempFile is not available on JDK 1.1. I use
java.util.Random to create a hopefully unique filename for a temporary
file. Hope this works - don't have a Windows box to check.
Submitted by: mpfoemme@ThoughtWorks.com
52 lines of code changed in:
Ensure the target file's parent directory exists.
Submitted by: Russell Gold <russgold@acm.org>
10 lines of code changed in:
Initial documentation on the EJB related optional tasks
12 lines of code changed in:
Updated documentation of Ant task.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
16 lines of code changed in:
Optional JUnit task.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
1275 lines of code changed in:
Corrected documentation to javadoc's packagenames attribute.
Submitted by: Tom Klaasen <Tom.Klaasen@the-ecorp.com>
1 lines of code changed in:
Execute task that works on multiple files.
187 lines of code changed in:
Talked about the nested arg element and forgot to include it, tss.
4 lines of code changed in:
Added fileset and patternset types and made MatchingTask use them.
473 lines of code changed in:
Fixed some JDK 1.1 problems.
4 lines of code changed in:
JavaCC task.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
260 lines of code changed in:
New Execution Framework.
This new framework should ease development of tasks that need to
execute external processes.
<exec> now invokes ExecTask, a reimplementation of Exec that uses the
new framework but has some additional features.
Submitted by: Thomas Hass <thomas.haas@softwired-inc.com>
1796 lines of code changed in:
Provides an Ant Class loader.
This class loader allows a Java task to be run with a separate classpath
without requiring a new java instance to be created.
235 lines of code changed in:
Changed the version number to ensure nothing but the relase could call
itself Ant 1.1.
1 lines of code changed in:
Preparing for release.
2 lines of code changed in:
Quick fix to make the ejb classes compile.
This is by no means a final solution, just a hack to avoid a delay of
the release.
Submitted by: Scott Sutherland <suthsc@ncs.com>
4 lines of code changed in:
Change permissions on build.sh and bootstrap.sh
0 lines of code changed in:
Added ssdir attribute to vssget.
Submitted by: Andrew Everitt <Andrew.Everitt@gbr.xerox.com>
40 lines of code changed in:
Correctly detect missing arguments to Javadoc.
Submitted by: Peter Donald <donaldp@mad.scientist.com>
1 lines of code changed in:
Handle case where listener cannot be instantiated.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
6 lines of code changed in:
Restore antRun.bat for Win9x users.
This should allow the exec task to execute on Win9x. I have changed Glen's
patch to test for platfrom != NT rather than == 98 so it will
support 95.
NOTE: There is an important limitation. Only 9 arguments can be
passed to the command being exec'ed when the antRun.bat file is used. This
should only occur when the directory is not . and the platform is not NT.
This was the original reason this was changed (and antRun.bat) deleted.
Submitted by: Glen Stampoultzis <trinexus@one.net.au>
19 lines of code changed in:
Have getCompileClasspath return Path instead of String.
8 lines of code changed in:
Minor bug fixes in Javadoc.
1. handle package statements that use tabs.
2. Fix minor bug in comment parsing.
The parsing bug was pointed out by Johan Granstrom <johan.granstrom@itec.se> but
I have not used his patch directly.
6 lines of code changed in:
Update Jikes support for bootclasspath
Allow the bootclasspath attribute to be used for a Jikes compile.
it is currently ignored if build.compiler == jikes.
Submitted by: Phil Hanna <author@philhanna.com>
9 lines of code changed in:
Task to build EJB 1.1 jars. Currently this task supports the Weblogic
server but it is envisaged that it can be expanded to cover other app
servers.
Note that to build this task you need to define the property ejb.build.
You can do that with
ant -Dejb.build=1
Submitted by: Tim Fennell <TFennell@sapient.com>
647 lines of code changed in:
Optional vssget Task
Submitted by: Andrew Everitt <Andrew.Everitt@gbr.xerox.com>
544 lines of code changed in:
Documentation for the Path elements, made nested src element of Javac
use Path as well.
94 lines of code changed in:
Make rmic, javac and javadoc use Path and add nested elements for
various PATH like structures.
188 lines of code changed in:
Remove duplicate entries in Path.
54 lines of code changed in:
set taskname in signjar task
Submitted by: Peter Donald <pjdonald@latcs2.cs.latrobe.EDU.AU>
2 lines of code changed in:
Make AntStructure compile under 1.1.
Submitted by: Andrew B. Sudell <asudell@acm.org>,
<Glen_Stampoultzis@ansett.com.au>
1 lines of code changed in:
Added Thomas Haas Path class.
I've added some minor modifications to his class
* Added a String constructor to make it usable as an attribute
* renamed the nested element from element to pathelement
* Used Conor's PathTokenizer to split the path into parts.
The Java task has been modified to use this class both for the
classpath attribute as well as for an nested classpath element -
documentation will follow.
See the runtests target in build.xml for an example of its usage.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
179 lines of code changed in:
New build procedure for Unix based systems
This is the update for the Unix based build scripts. The changes are the
following
Automatic bootstrapping if lib/ant.jar is mising or the bin files
are not present
Removed inclusion of the $HOME/.antrc in the bootstrap.sh although
it is still used in the ant shell script.
Lined up Windows and Unix scripts, including echo statements so it is easier
to make changes affecting both envionments in the future.
Added chmod calls to the install targets so the ant shell scripts are
executable.
60 lines of code changed in:
Resolve properties loaded from files in a more predictable way.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
91 lines of code changed in:
Make Rmic work when only one class is specified.
Submitted by: Phillip Davidov <phillip.davidov@chipdata.com>
9 lines of code changed in:
Make sure bootstrap uses the src version of lcp.bat
Submitted by: Christopher Elkins <celkins@scardini.com>
3 lines of code changed in:
Make sure all the pieces needed from bootstrap are present.
3 lines of code changed in:
Interim change to prevent any issues with Unix based bootstraps
(ie nightly builds)
1 lines of code changed in:
Cleanup/bugfixes int the scripts.
Submitted by: Ken Wood <kwood@i2.com>,
Matthew Dornquast" <matthew.dornquast@webhelp.com>
5 lines of code changed in:
Rework the ant build process for NT/Windows
Change so that
build.bat is used just to build ant itself.
ant.bat should be used to run ant for other projects.
45 lines of code changed in:
JUnit testcases for EnumeratedAttribute.
4 lines of code changed in:
First cut at a task that generates a DTD for the currently running Ant.
262 lines of code changed in:
The new helper class itself.
53 lines of code changed in:
Added a helper class for enumerated attributes and demonstrated its
usage in FixCRLF.
42 lines of code changed in:
Added unzip and unjar as aliases of expand and deprecated expand,
making unzip the preferred name.
16 lines of code changed in:
strip attribute didn't work.
1 lines of code changed in:
Added unless attribute to target.
48 lines of code changed in:
Added a taskType attribute in addition to the taskName attribute to
Task. Documented taskname.
37 lines of code changed in:
Make Tasks aware of the name they are used as - and change the
DefaultLogger to use this name in messages.
Submitted by: Peter Donald donaldp@mad.scientist.com
29 lines of code changed in:
Use the correct path to the runtime classes in JDK > 1.1.
Submitted by: Christopher Elkins <celkins@scardini.com>
28 lines of code changed in:
Make subprojects aware of custom tasks.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
12 lines of code changed in:
Not all JDKs with version 1.3 have com.sun.tools.javac.Main. IBM's
doesn't, so check and fall back to classic in this case.
7 lines of code changed in:
Added a JUnit unit test for IntrospectionHelper.
60 lines of code changed in:
Hope I've got this right this time.
Submitted by: Sergey V. Udaltsov <Sergey.Udaltsov@artificial-life.com>
1 lines of code changed in:
Only ensured tablength was even, not it was a power of 2.
Good to know others read my patches.
Submitted by: Sam Ruby <rubys@us.ibm.com>,
Fergus Gallagher <Fergus.Gallagher@OrbisUK.com>
1 lines of code changed in:
Ensure tablength is a positive power of 2 in FixCRLF.
17 lines of code changed in:
Rewritten the introspection part of ProjectHelper.
1. Moved all introspection activities to a helper class.
2. setter methods can now use parameters of a far richer set of
types. See the modified patch task as an example.
3. Nested Elements can be created by the task with createElement() or
by IntrospectionHelper if the task implements void addElement(ObjectType).
4. Documented addText(String) and nested elements in the "Writing Your
own Task" section and changed the documentation for the setter methods.
5. Added getLocation method to BuildException.
6. Changed the return type of Ant.createProperty from Task to Property
- as this is what gets returned anyway.
588 lines of code changed in:
Missed the getTarget method. In fact this is the one that introduced the problem
because it makes the introspection think there is a property of type Target
rather than string.
2 lines of code changed in:
Avoid problems due to changes in JDK 1.3 introspection.
This was discovered by Phil Hanna <author@philhanna.com>
Similar to the problem with the old class attribute (changed to classname)
4 lines of code changed in:
Take more care with regard to open files/streams.
97 lines of code changed in:
Change Project.translatePath to use PathTokenizer
I have changed the Project.translatePath method to use the PathTokenizer. This
adds support for paths of the format C:/blah. These used to translate to C;\blah
but this will now be C:\blah.
34 lines of code changed in:
Give Ernst some credit for the Javadoc changes :-)
1 lines of code changed in:
Add nested doclet tag to javadoc task
Javadoc now can be used with a doclet like this
<javadoc ...>
<doclet name="blah"
path="path/to/blah">
<param name="-foo" value="blah"/>
<param name="-bar" value="blahblah"/>
</doclet>
</javadoc>
param value's are just strings no path translations, etc.
130 lines of code changed in:
New signjar task.
For consistency across ant tasks, I changed the method by which the boolean
attributes are set to use the Project.toBoolean method.
Submitted by: Peter Donald <donaldp@mad.scientist.com>
295 lines of code changed in:
Close ZIP files after expand operation is complete.
17 lines of code changed in:
Fix problem bootstrapping under JDK 1.1
1 lines of code changed in:
Added failonerror attribute to Exec.
If this attribute is set to true, a BuildException will be thrown
effectively ending the build process.
Suggested by: Sebastien Pierre <spierre@rational.com>
40 lines of code changed in:
Make the length of a TAB customizable.
Suggested by: Michael B. Allen <Michael_B_Allen@ml.com>
Submitted by: Vitaly Stulsky <vitaly_stulsky@yahoo.com>
Modified by: James Sieben <EUSJASI@am1.ericsson.se>
22 lines of code changed in:
Pick up jar files from the lib directory in the bootstrap process
35 lines of code changed in:
Move to task level logging
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
394 lines of code changed in:
Add support for multiple source paths to Javac
These can either be specified as path strings or nested elements. The path
strings use the same separator conventions as other paths in Ant.
When using nested elements, each component can be specified in a separate
<src> element.
155 lines of code changed in:
Override the logging of Javadoc output in order to filter out
Generating messages. Generating messages are set to a priority
of VERBOSE unless they appear after what could be an
informational message.
52 lines of code changed in:
Fix a regression in a verbose message that I introduced recently...
Submitted by: Glenn McAllister
4 lines of code changed in:
Tasks for EJB development under Weblogic Server 4.51
This consists of four tasks - (documentation is coming)
ddcreator - converts deployment descriptors form text description to .ser files
ejbc - wrapper around weblogic ejbc compiler
wlrun - a task to run a weblogic server
wlstop - a task to stop a weblogic server
The last two tasks are most useful when they can be run asynchronously (also coming).
1193 lines of code changed in:
Provide access to the return code of the JavaVM when it is forked.
12 lines of code changed in:
reintroduced the forseoverwrite attribute to copydir into build.xml
and made it work as well.
31 lines of code changed in:
Change use of deprecated src attribute in Chmod task.
Now that we have a bootstrapped nightly build, this shouldn't be a problem.
4 lines of code changed in:
Various cleanups
1) Nomenclature: nested elements, not nested properties
2) Run task instead of
PR:
Obtained from:
Submitted by:
Reviewed by:
131 lines of code changed in:
Add the runtime classes to the compile classpath if using jikes.
Submitted by: Colin 't Hart <cthart@gbs.com.au>
23 lines of code changed in:
Make Chmod a MatchingTask.
Submitted by: Mariusz Nowostawski <mnowostawski@infoscience.otago.ac.nz>
109 lines of code changed in:
Add support for docletpath.
I have changed the patch as submitted to treat the docletpath as a classpath rather
than a file.
Submitted by: Ernst de Haan <ernst@jollem.com>
6 lines of code changed in:
Make Rmic a matching task.
Submitted by: David Maclean <david@cm.co.za>
249 lines of code changed in:
Temporarily removed forceoverwrite attribute from a copydir task to
make the nightly builds work again - they really should bootstrap.
1 lines of code changed in:
Have Exec log messages from its error stream with MSG_WARN rather
than having all messages logged at MSG_INFO.
8 lines of code changed in:
Clean up ant generated output
- Moved the remaining System.out
calls to the DefaultLogger
- Cleaned up the default output
- Added System.exit to main()
tools can still invoke the runBuild
method without an exit being called.
- Changed javac task logging to stream out a line at a time
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
127 lines of code changed in:
Create an install target
Ant now builds ant.jar in the build area. A separate 'install' target copies
it into ant.home.
Bootstrap has been updated to perform this install step.
13 lines of code changed in:
Catch IO Exceptions when running Jikes
Based on an observation by Matt Foemmel <mpfoemme@ThoughtWorks.com> a while ago.
2 lines of code changed in:
Better support for JDK 1.1
Submitted by: Drew Sudell <asudell@op.net>
5 lines of code changed in: