Stefan Bodewig
ed0a9da531
Added entries to the fixed bugs section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267849 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e868ebf02f
<property file="..."> didn't resolve relative filenames correctly.
Reported by: Marc Gemis <marc.gemis.mg@belgium.agfa.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267848 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a41723ab30
Available didn't resolve filenames correctly.
Reported by: Marc Gemis <marc.gemis.mg@belgium.agfa.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267847 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4a15cb13d4
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267846 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
98977466d8
Update example in documentation
Submitted by: David Walend <dwalend@eecs.tufts.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267845 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
5d9435d2da
Removed the deprecated versions of Path and EnumeratedAttribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267844 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
0dfb55090c
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267843 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d3bb8dc2f6
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:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267842 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d7c3057bb9
Updated documentation to Get task.
Submitted by: Steve Loughran <steve_l@iseran.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267841 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ce27573d6e
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267840 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
c7321fa321
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267839 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4f46532c94
Modified <sql> task to accept #PCDATA and added autocommit attribute.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267838 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
cdef1ea2fd
Update for logger changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267837 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
962c579f1d
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
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267836 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e79bd24e1a
Removed all command line switches that didn't start with a -.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267835 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
61320f305f
Reworked the <exec> and (now so called) <execon> tasks.
Submitted by: Mariusz Nowostawski <mariusz@marni.otago.ac.nz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267834 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7f98652146
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.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267833 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f2e200153e
Changed testcases to reflect the new packages of Path and
EnumeratedAttribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267832 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
989be35478
Reprocess files if stylesheet has changed in style task.
Submitted by: Russell Gold <russgold@acm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267831 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2f546331b3
Used the deprecated version of EnumeratedAttribute.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267830 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e87e8fc113
Changed the execSQL method. Interbase's JDBC driver will throw an
SQLException in executeQuery if the query doesn't return a ResultSet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267829 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1f7eed82cc
Moved EnumeratedAttribute to types as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267828 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
abd5987913
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267827 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9b79c03c8a
Didn't handle relative paths in project's basedir attribute correctly.
Reported by: <Glen_Stampoultzis@ansett.com.au>,
Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267826 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
951046ee10
Task to execute SQL from a file (or directly in the task)
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267825 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a6910f6f98
Chmod didn't work if used as a matching task.
Reported by: Alex Smith <asmith42@hotmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267824 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0c1efed954
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267823 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
7db5bdf3b4
Documentatin for ejbjar optional task
Submitted by: Tim Fennell <tfenne@rcn.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267822 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
80d35a9391
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267821 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2ae9b05a8b
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.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267820 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
983a85c49e
Remove the copying of support files by the Javac task. This feature has
been deprecated for some time, including the recent release.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267819 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b2af359bb2
Fix verbose message printed when property overrides are ignored.
Submitted by: Paul Philion [philion@acmerocket.com ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267818 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
8b613e7fb2
Add Javadoc to AntClassLoader
Clean up the Javadoc (a little) in the new FileSet and PatternSet classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267817 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
12f19c9321
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267816 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1b25a5ab79
Updated example to match the implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267815 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ded305a2df
Added an antcall task as a shortcut for ant tasks invoked on the same
buildfile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267814 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6da6eeb41f
Added support for patternset and patternsetref to MatchingTask.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267813 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2054505cbb
Added a nested patternsetref element to fileset.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267812 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c4b5bdd374
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267811 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a67f5b98b5
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
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267810 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b63d11b051
Ensure the target file's parent directory exists.
Submitted by: Russell Gold <russgold@acm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267809 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2cffdf83c1
Initial documentation on the EJB related optional tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267808 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a965b11a6e
Updated documentation of Ant task.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267807 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b10787b4a7
Optional JUnit task.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267806 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9faf51fc39
Corrected documentation to javadoc's packagenames attribute.
Submitted by: Tom Klaasen <Tom.Klaasen@the-ecorp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267805 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b58278ca50
Execute task that works on multiple files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267804 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6ece0b71b5
Talked about the nested arg element and forgot to include it, tss.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267803 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1c3e443dd7
Added fileset and patternset types and made MatchingTask use them.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267802 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
fa41974df0
Fixed some JDK 1.1 problems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267801 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
685433c243
JavaCC task.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267800 13f79535-47bb-0310-9956-ffa450edef68
25 years ago