Stefan Bodewig
e47b4d5aca
Make Execute work for arguments containing spaces under JDK 1.1 under
Windows (where Runtime.exec() doesn't quote them properly).
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268045 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9bab4dab1a
Class.forName("") throws an IllegalArgumentException instead of
ClassNotFoundException in JDK 1.1. Make available behavior consistent
by ignoring empty classname attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268044 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0b508c3284
Add a file attribute to echo to have a simple task that can create
files on the fly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268043 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3f2688a0ed
Added a refid attribute to property.
Submitted by: Vincent Bergbauer <vincent_bergbauer@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268042 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
79903e422d
Make sure the JDBC driver knows how to handle the URL.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268041 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6c4a81e3da
Fixed typo that made the filtersfile attribute unusable.
Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268040 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e6a52064b9
Allow the driver for <sql> to be loaded from a different CLASSPATH.
Submitted by: Julian M. Savage <jsavage@fisci.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268039 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
dddcf551a9
Loading tasks from a ClassLoader other than the default one now works
on JDK 1.1 as well.
Added org.apache.tools.ant to the list of packages that need to be
loaded via the system class loader as the loaded class wouldn't be an
instance of Task (loaded by default loader) otherwise.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268038 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
67eceb37c1
Third try to fix a typo.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268037 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b4a550aafc
Second try to fix a typo.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268036 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
da89ca486a
Make JavaCC use the correct path when checking whether the generated
files are up to date.
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268035 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f3a0918e1d
Allow sub classes of Zip to hold their own filesets and not tell Zip
about it.
This one enables War to build .war files without content included in
extra filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268034 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
f688c57ce1
Include any inner classes in the generated Jar file.
Submitted by: Brian Towles <brian@towles.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268033 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b8d38ba077
Allow filters to be set from a file.
Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268032 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2067d20b5c
Allow sql task to write results to a file.
Submitted by: Julian M. Savage <jsavage@fisci.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268031 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
d4458b7643
Only print messages from exceptions which are non-null
Submitted by: Patrick Beard <beard@netscape.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268030 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
e5d53ff1e6
Fix minor typo
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268029 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
054a8aba2a
Documentation update
- Put UpToDate in the correct sort-order
- Added docs for antcall-task
- Added docs for mail-task (copied from javadoc's)
- Removed <b></b> and colons from <h3>Parameters:</h3> and
<h3><b>Description:</b></h3>
- Removed 'illegal' high ASCII-Values from the file to make MS IE and
Homesite (CSE HTML Validator) happy
Added Nico as an author :-)
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268028 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
0f12933d9b
Add the WLJspc task to the registered tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268027 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
78089779a7
Make <junit>s dir attribute work on JDK < 1.3
Reported by: Peter Nordlund <peter.nordlund@lentus.se>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268026 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6422ae65b1
Cosmetic changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268025 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ad48a0d392
Make the handling of nested #PCDATA more predictable by not stripping
anything. The older version depended upon the parser (does it invoke
characters once per #PCDATA section or once per line).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268024 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ba5b2b8d7c
New task <native2ascii>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268023 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bcb96c9e9d
Didn't know JUnit had its own website.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268022 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6b11d7b61e
Improved output and error checking in <java>.
Submitted by: Diane Holt <holtdl@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268021 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
20429db1c4
Make defaultlogger easier to extend.
Submitted by: <mcclain.looney@webhelp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268020 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
683a5f1433
New task <uptodate> that set's a property if a given target file is
newer than a given set of source files.
I've taken the freedom to merge ideas submitted by William and Hiroaki
and to throw in some of my own.
Submitted by: William Ferguson <williamf@mincom.com>,
Hiroaki Nakamura <hnakamur@mc.neweb.ne.jp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268019 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7c231e500f
Added unittests for a bunch of tasks.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268018 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
33100d85b6
Formatter would close System.out (preventing further output)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268017 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
53b4dec9ae
extdir attribute/nested element of <javac> was broken when using jikes.
PR: #137 (Bug #35 )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268016 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
640c3528b8
garbage again, sorry.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268015 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7ee8e30cd0
<ant> now copies the definitions of data types to the child project as
well.
Reported by: Jose Alberto Fernandez <JFernandez@viquity.com>
<ant> now checks it isn't calling the target it is nested into.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268014 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a341406b28
Fixed a link.
Submitted by: Diane Holt <holtdl@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268013 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4a9c1fbf6e
Added dir attribute to <junit> and documentation for the one of <java>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268012 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d36ee0d77c
Added verbose and depend attributes to <javac> along with yet another
undocumented magic property (YAUMP?) build.compiler.fulldepend that
triggers Jikes' +F option.
Submitted by: Sean Brandt <sean@fuzzymagic.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268011 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
fef46698fb
Make <war> use the .war directory layout. Don't ask me where my mind
has been.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268010 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9490ce8f93
Ant will now scan for build.xml in the parent directory (directories)
as well.
Added -debug and Project.MSG_DEBUG to make -verbose less verbose. Many
messages really rather belong into a DEBUG category.
Submitted by: Jason Dillon <jason@planet57.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268009 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
98d5287971
Put the PATH obtained from extdirs between bootclasspath and
userclasspath when using jikes or jvc to make them match javac's
behavior.
Submitted by: Robert Krueger <krueger@signal7.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268008 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2aaf152da1
Only set location in BuildException if the task didn't provide it
before.
This will give the correct location for errors in build files invoked
via the <ant> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268007 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4727d20b80
Removed some garbage.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268006 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8c59db7895
Allow tasks to be added at runtime and only fail if they cannot be
found at runtime.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268005 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4fbcfdedaf
Treat OS/2 like Win NT with regard to <exec>'s dir attribute.
PR: #126 (Bug #33 )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268004 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
beee9e6a6b
Make filtering of the copy tasks work with leading @ characters.
PR: #129 (bug #32 )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268003 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f0282fd8b1
Various checks for required attributes and better error messages added.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268002 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
13eb95ae4d
Fixed situation where Class.getClassLoader returns null for the
bootstrap class loader - JDK 1.1.7 on Linux for example.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268001 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefano Mazzocchi
bd02671bd0
Updated this task so that you can have <classpath> inside that tells the Available where to look for classes and resources. It is completely back compatible so should cause any harm to anybody.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268000 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
472977c920
Updated WHATSNEW for <war> and <unwar>.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267999 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
20a1e91d17
New tasks <war> and <unwar>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267998 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6c89d5a7b8
Adapt <ant> to the fact that <property> does its work in execute() and
not in init() now.
Make Microsoft's tools happy by not using "delegate" as a variable
name.
Improve handling of <ant>'s antfile attribute. This should work for
absolute paths now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267997 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
aa71851fb7
When using the temporary file to hold the source file names (in jikes
compilation on Windows) Ant included the command itself as well as all
arguments as source files.
PR: #74 (linked to bug #31 )
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267996 13f79535-47bb-0310-9956-ffa450edef68
25 years ago