Stefan Bodewig
76fa4670c5
add BCEL to the list of required libraries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270073 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3a28c02ef6
setAction(String) replaced with setAction(FTP.Action) for action attribute of the FTP task. setAction(String) has been deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270072 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e503ebd4c7
setFoo(String) replaced with setFoo(ExtendedEnumeratedAttribute) for certain attributes of these tasks:
Available.java
Tar.java
Tstamp.java
setFoo(String) has been deprecated for the affected attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8a7fce7e2e
If a task contains setFoo(String) and setFoo(Bar), setFoo(Bar) gets selected by the introspection mechanism.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270070 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0d8d34b93f
PR: 5255
Clarified that <copy> doesnt preserve file perms on unix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270069 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5b377d290d
Last weeks changes took away helpful information about why exec failed to run; this puts it back in.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270068 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1bd831271a
paragraph on hp radpak ant gui tool
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270067 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c12aaa8a06
Typo fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270066 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
28fb40a060
Add an etc directory to the distrib and copy some useful stylesheets to it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270065 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c0bd98809
Clean up tabs and fix some ugly css mistakes.
Should look a little bit better now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270064 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c206512560
Make changes so that tasks use the two arg replaceProperties() rather than 3 arg as it is lower coupling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270063 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
150cad6b1e
Add a method replaceProperties(Project,String). This delegates directly to replaceProperties(Project,String,HashMap). The Map parameter contains all the properties in Project.
This makes it easier to have a lighter coupling between tasks and Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270062 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a79e667185
Remove unsetProperty() because it allows tasks to break immutability.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270061 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ec8358d87b
- Fixed some case issues related to JProbe directories under Solaris.
- SourceFile attribute does not always exists in the bytecode, so take care of it.
PR: 5217
Submitted by: garrick.olson@aceva.com (Garrick Olson)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270060 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
325e13a93d
added changes to exec, and a bit on the immutability fixes in the 'this may break things' section
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270059 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
85ea2966d2
timeout actions stated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270058 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b1aff29095
PR: 3952, 3654 : "4NT not being recognised correctly"
Submitted by: alan@coldsmoke.com (Alan Arvesen), greg_fenton@yahoo.com (Greg Fenton)
Reviewed by: Steve Loughran
Fixed the 4NT test as suggested, tested it by running the batch file without echoes. 4NT 4.00A actually works properly without the fix, because it understands NT CMD shell variables better. This fix should support earlier versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270057 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
d8b96a6359
report a timeout to the log
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270056 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a1694b917e
new method, killedProcess() which returns true if there is a watchdog and it killed the process
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270055 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c8ebdb489
This patch forces property setting to follow the same rules as the rest of ant in most tasks. The few tasks where we have not forced immutability will instead get 3 line ugly warnings telling them that they should upgrade or not use the same property name etc.
The reason for just warning them is backwards compatability.
Submitted by: "Erik Hatcher" <erik@hatcher.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270054 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bad48b6b79
add pointer to doxygen task.
Submitted by: Kyle R . Burton <mortis@voicenet.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270053 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
dbec36ef5b
these things don't exist (any longer)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270052 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f6db0835f7
New task <input>
Submitted by: Ulrich Schmidt <ulrich.schmidt@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5021163e5c
New task <waitfor> that waits until a given condition gets true or a
timeout occurs.
Submitted by: Denis Hennessy <denis@network365.com>
As a side effect, <condition> gains two new conditions. This also
means we now have a way to check whether we are on a networked system
and run/omit testcases that require network to be established based on
such a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270050 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e8e51a71bc
datatypes for regexp replace task.
Submitted by: Matthew Inger <matti@sedonacorp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270049 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0c5f76d9f8
Add warning that the XSL:P link doesn't work.
Submitted by: Michel Casabianca <casa@sweetohm.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270048 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3beb7f13cd
Make BZip2 task comply with native bzip2 when there are multiple blocks
in the compressed file.
Submitted by Keiron Liddle "keiron@aftexsw.com"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270047 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
bf5d49abf1
Preparing real huge test files on bzip2 tasks....
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270046 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
4d83c345bd
Additional functionality for classfileset.
Change baseclass paramater to rootclass and make it use dot notation for
the classname rather than making it a file.
Also allow multiple nested <root> elements to define more than one root
class
Example:
<classfileset dir="build/classes" id="classes">
<root classname="org.apache.tools.ant.Main"/>
<root classname="org.apache.tools.ant.taskdefs.optional.ejb.EjbJar"/>
</classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270045 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
114af4d393
Move dependency classfileset support code over to Apache BCEL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270044 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
674d4a8643
Add pointer to GenJar
Submitted by: Jeff Turner <jeff@socialchange.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270043 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aacd26fab0
split javac testcase so that it doesn't use Project.unsetProperty any longer.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270042 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8a676908c4
Make testcase for <available> pass again, by re-applying the
resolveFile magic unless a filepaths has been specified.
Note that I've rewritten the checkFile() method in the filepath case
to match the comment in the sources (at least I think so).
Actually, I think we are generating too many passed checks, especially
with simple name specified == parent of parent dir + name but this is
a different issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270041 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b6e535486e
re-add files in binary mode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270040 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a2fccdf28d
make things binary, that should be binary.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270039 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
83f6a8ed80
PR:4992
Submitted by:Erik Hatcher
Tail end of Erik's javadoc patches
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270038 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
217e325602
PR 5025 : no MSJVM support.
This is documented upfront. Also added some more stuff to the file while I was at it, including a list of platforms ant runs happily on. The implicit message there is 'if it doesnt work, it is your fault :-)'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270037 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
daa1b619a1
PR 5025 : Execute still fails when failonerror=false and the error is program not found
I've decoupled the handler for this from failonerror to maximise backwards compatibility, there is now a failIfExecuteFails flag, set to true by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270036 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
9b4609e4ba
Stuck the http task set (get, head, post, setproxy) into the sandbox. All need to move to httpclient for a better user experience, except maybe setproxy which is ready to roll as is.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270035 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
8379ced1dc
PR 5025 : no MSJVM support.
This is documented. Also clarified failonerror usage, added another example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270034 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
02673734f3
PR 4345 :Request for addition of "rcproperty" attribute to <exec>
Documented new property
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270033 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f15a929e0a
PR 5025 : Execute still fails when failonerror=false and the error is program not found
PR 4345 :Request for addition of "rcproperty" attribute to <exec>
The property is called resultproperty; implements immutability in some code that should be replaced by a standalone method in Project.
Documentation still TBD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270032 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
17e5ca8721
Convert tabs to spaces...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270031 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
41607341ae
Make sure only files are passed as possibilites when a directory is given.
PR: 5128
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270030 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
932dee2306
change Paul's email address.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270029 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
5728d77e07
Fix my previous fix. First time thru, I thought filepath was only used
with a <fileset> (oops). Changed passed-in file to be a string, so it
doesn't end up becoming a full-pathname prepended with the base dir,
which wasn't really needed and was complicating using it when a filepath
was specified. Also fixed some of the logging. (Also, hopefully the Java
is a bit better this time :)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270028 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
816d018e67
Add pointer to Paul's record generating tasks.
Submitted by: Paul Glezen <pglezen@atdial.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270027 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
034f849f50
Javadocs for a lot (but not all) the Project methods. Also added a couple of explicit throws BuildException calls, even though by virtue of being a RuntimeException it aint compulsory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270026 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
71587917fc
Jose Alberto Fernandez's prototype antlib/antjar code. This code lacks a build file of its own right now; it can drop in on top of build\classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270025 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
8ca5e3442d
More of Erik's html cleanup. Maybe we should make a successful run through jtidy part of the build?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270024 13f79535-47bb-0310-9956-ffa450edef68
24 years ago