Stefan Bodewig
20dede5ad8
MSVSS doesn't extend Exec any longer.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267863 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c2077d52dd
Javadoc doesn't extend Exec any longer.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267862 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9174fbde3b
Added maxmemory attribute to <java>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267861 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
0b389735d0
Recognize Windows 2000 for ther purposes of exec (so that it behaves
in the same manner as NT)
Submitted by: Robert Watkins <robert.watkins@mincom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267860 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
632dad4136
Make Chmod extend ExecuteOn instead of MatchingTask.
It now processes all files in parallel and can take multiple filesets
as well as references to patternsets and filesets. See build.xml for
an example.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267859 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6035bbf18d
Converted <patch> and <cvs> to new framework.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267858 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1c38f4ed52
Didn't set the basedir correctly if the attribute to project was
ommitted and the basedir was not the process's working directory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267857 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
78b414381f
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.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267856 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
89fcd5b57a
Somehow lost the jvm attribute of <java> with last update.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267855 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c5faebbd85
Java rewritten so that it no longer extends Exec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267854 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
5e898465ac
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>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267853 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
eb0ebe689f
Renamed javacc task to mparse and moved the corresponding class.
Submitted by: Michael Saunders <michael@amtec.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267852 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
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
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
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
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
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
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
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