Stefan Bodewig
24964c3232
Removed JDK 1.2+ dependency from <cab> task.
Submitted by: Roger Vaughn <rvaughn@seaconinc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267883 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6d7c130971
Did some cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267882 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
29cf33f78f
Mac patches to Execute (regarding working directory).
Submitted by: beard@netscape.com (Patrick Beard)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267881 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ee344eb125
New optional task <cab> to create Microsoft CAB archives.
Submitted by: Roger Vaughn <rvaughn@seaconinc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267880 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
565b600d95
Added flatten attribute to <copydir>.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267879 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0245d769bd
Added missing dot to default extension in <style>, ensured Xalan gets
infile as a file:// URL.
Submitted by: Brian Zimmer <bzimmer@ignitemedia.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267878 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e7e63a0e7a
Delete the corrupt ZIP-file if <zip> or <jar> tasks fail.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267877 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
63363f91c8
Some documentation patches.
Submitted by: Barrie Treloar <Barrie.Treloar@camtech.com.au>,
Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267876 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9dffc42e1a
The "cvs add" I had forgotten, sorry.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267875 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1f8aca50b4
New task genkey.
Submitted by: Peter Donald <donaldp@mad.scientist.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267874 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
089d421c3f
Rewrote the property resolution code so that it handles empty property
lists. I also cleaned it up a little so it doesn't continually restart
resolving all properties from the start of the list and it handles
circular dependencies.
Problem reported by: Arun Katkere <katkere@praja.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267872 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
17a06c47ff
Return the actual type rather than the interface type to avoid any introspection
issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267870 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
813dfa5f81
Nested <src> element of <javac> would cause a NullPointerException.
Reported by: Paul A Bemowski <pbemowski@z-tel.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267869 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
cf07b113a0
Change the ejbjar to separate out vendor specific processing into separate
tool classes.
Split the Descriptor handler to a separate class
Allow local DTDs to be loaded to resolve the external entities
Moved all Weblogic specific code into a separate deployment tool object.
Usage for generic jars is now
<ejbjar srcdir="${descriptor.dir}" destdir="${deploymentjar.dir}">
<include name="**/*-ejb-jar.xml"/>
</ejbjar>
For a weblogic deployment you now add a nested element with the weblogic specific
configs
<ejbjar srcdir="${descriptor.dir}">
<weblogic destdir="${deploymentjar.dir}"
classpath="${descriptorbuild.classpath}"
keepgeneric="false"
suffix=".jar"/>
<include name="**/*-ejb-jar.xml"/>
<exclude name="**/*-weblogic-ejb-jar.xml"/>
</ejbjar>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267868 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4290fbcebd
fixed NullPointerException in <sql>
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267867 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0de273b25b
Allow parallel execution on windows - now that antRun.bat has been fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267866 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a8d4fe6d9b
Add nested fileset and filesetref attributes to Path.
This means you can now add somedir/*.jar to the CLASSPATH by
<classpath>
<fileset dir="somedir">
<include name="**/*.jar" />
</fileset>
</classpath>
and probably adjust the pattern if you don't want to recurse the tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267864 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
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
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
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