Stefan Bodewig
4a96c6e0b7
Make <taskdef> and <property> do their job in execute instead of
init. Call execute on tasks living outside of <target>s at parser time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267951 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
46b4505bc0
Added infrastructure to create data types independent of tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267950 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
dc76115024
Workaround for Jikes compilation problem
Submitted by: Paul Philion <philion@acmerocket.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267948 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
7ac63c0bc2
Improvements to Zip and Jar tasks
This patch improves the robustness and error reporting of these tasks
especially when no files are to be included in the archives.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267947 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
76248d54a1
Make it fly with 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267946 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
bf5836e729
Javadoc update
Submitted by: Jesse Click <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267945 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
f504cf793e
Increase speed of Javadoc task
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267944 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
587a3c4f5e
New task for sending email
Submitted by: Twiggs, Glenn <Glenn_Twiggs@bmc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267943 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
9ee88d11ca
Set exit code appropriately when build file missing or invalid.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267941 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2f2302b85b
Change ejbjar so that the deployment descriptors and class files can come from
different directory trees.
Update ejbjar documentation.
Update WhatsNew
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267940 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
bb0594b899
Make expand a matching task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267939 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
a99eb8f35c
Fixes checkout directory under windows (current version lobs off last
character).
Submitted by: Eric VanLydegraf <ericv@kinzan.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267938 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
21ac4b4b7f
Print Projet help information
Submitted by: Marcel Schutte <marcel@schutte.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267937 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
dc7444ae57
StarTeam checkout task
Submitted by: Chris Povirk <crisco@ratedg.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267936 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
54057d742b
Extend optional FTP task
Allow DirectoryScanner to work with remote directories.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267934 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
26067ee1d3
JavaCC and JJTree optional tasks for use with the javacc suite of tools.
Submitted by: Michael Saunders <michael@amtec.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267933 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6f00ce7c0f
Add forceoverwrite option to copyfile task
Submitted by: Uli Stehling <uli.stehling@informationsdesign.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267932 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
ef6aec8251
Provide an explanation, at verbose level, of why Javac decides to compile
certain classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267931 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b211d1bcbf
Print the ant version when ant is run in verbose mode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267930 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
655df7f9e1
Upgraded Classloader to allow more control over which classes are loaded
by the system classloader
Upgrade Ejbc task and its helper to use the new facilities of the classloader
Runs the weblogic.ejbc task in the ant VM. Examines the build.compiler setting and
uses Jikes if it is selected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267929 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bbcbfb186a
Added <classpathref> element to <junit>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267926 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
de3b5b8520
Work around a problem with a NullPointerException on IBM JDK
1.3/Linux.
buildFile.getParent() returns null if buildFile is not absolute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267924 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6e876ab7f8
log environment variables we set for the subprocess when -verbose is used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267922 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
23f7147dc6
Removed class attributes of <available>, <rmic> and <taskdef>.
Nothing that has been deprecated in Ant 1.1 should be left over now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267921 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3facebf533
Updated documentation for <chmod> and removed <chmod>'s src attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267920 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ca6e873197
Documented fileset and patternset, removed the items and ignore
attributes of MatchingTask.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267917 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0679f04a82
Removed <keysubst> and <expand> which have been deprecated in 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267916 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7db9027588
Avoid NullPointerException in FileSet.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267915 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e2a75898e8
avoid NullPointerException in DirectoryScanner.scandir.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267914 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a252eb8543
\ is no special character for Commandline anymore.
Also made Project.resolveFile more consistent. /a would have been an
absolute filename on all platform while \a would be considered a
relative filename on Unix like systems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267913 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b469445f84
Changed antRun to handle arguments containing spaces properly. Removed
the magic that would invoke dir/command.sh instead of command.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267912 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3a854da6aa
Make <genkey> and <signjar> work again - they've been broken since
<exec> became ExecTask instead of Exec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267911 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4a102d1bd8
fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267910 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
776e951269
Documentation for command line arguments (the nested elements for them).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267909 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
c30a78b74e
Do not try to load from jars which don't exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267907 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
c2007a8479
Move addExisting functionality from javac to Path
Fix error in Path constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267905 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
818cb969ad
<junit> more or less completely rewritten and documented.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267904 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
10c41029ae
The real patch for exec and JDK 1.3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267903 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ae6285b06e
Fixed typo (but I swear it compiled before).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267901 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ab761fc434
Added some (deep) clone methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267900 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2c09476bfe
Make Path.append() more forgiving.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267899 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
65e7fa5766
Modern compile was broken.
Reported by: Scott Sutherland <suthsc@ncs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267898 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c437e0d2a0
Replace can now work on multi line tokens/values.
Syntax:
<replace file="foo.txt">
<replacetoken><![CDATA[I am a
multiline
token]]></replacetoken>
<replacevalue><![CDATA[I am a
multiline
value]]></replacevalue>
</replace>
Submitted by: Erik Langenbach <erik@desknetinc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267897 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c32873b519
Added nested elements and attributes to reference CLASSPATH structures
defined at another place in the same project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267896 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3c66612026
New task <ftp> to do FTP _uploads_.
According to the information on the ORO inc website
<URL:http://www.oroinc.com >, the FTP library this task depends on will
be donated to the Jakarta project. This makes it our best choice among
several different FTP libraries, IMHO.
Submitted by: Roger Vaughn <rvaughn@seaconinc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267895 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
00ecf29ec1
Still to Unix centric.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267894 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6667e4cdd6
Some cleanup in Javac. Removed duplicate code and used the nested
fileset element of Path to fake extdirs for Jikes.
This should change:
(1) It will scan for all files not only .JAR files in the extdirs
specified. Javac ignores the extension as well.
(2) If no extdirs have been specified, the system property
java.ext.dirs is consulted.
(3) JikesOutputParser has been removed, instead the return code of
jikes determines compilation failures. Expected to behave the same as
before - suggested by Matt Foemmel <mpfoemme@ThoughtWorks.com>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267893 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
1f870a7a50
Stop ANT_OPTS growing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267892 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
81a0f04e4e
Add JIKESPATH and JAVA_HOME warning to the Windows batch files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267891 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
dbf8062131
Changes the translateline method so that backslash escaping only applies to
the quote characters " and '.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267890 13f79535-47bb-0310-9956-ffa450edef68
25 years ago