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
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
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
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
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
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
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
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
Stefan Bodewig
41509d6410
Fixed message text when a class can not be found.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267995 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
34d011b22d
Make <echo> accept #PCDATA.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267994 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
002d084d5d
Provide the SAXParser with the File instead of an InputSource to give
it a chance to parse relative URIs.
PR: 54
Submitted by: Achim Dannecker <A.Dannecker@gmx.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267993 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4771d246a4
Make <javadoc> ignore .java files in directories containing a "-".
You cannot have a package name with a "-" in it anyway so these files
are something different. In my case I had example files in the
.../doc-files directory and javadoc died because I've used the same
classname (Example) in several places.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267992 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b42831ce4b
Added value attribute to <available>.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267991 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
53ff5c3147
<junit> now works again as it did before tasks started to be
configured at runtime.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267990 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
409b0917b6
Added usefile attribute to <formatter> to allow testoutput to be sent
to stdout instead of a file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267989 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6ecbe24218
Moved ${} expansion and task evaluation to runtime.
This has a lot of consequences, most notably those listed in
WHATSNEW. This also affects the behavior of several other tasks like
<available> who will now do their job at runtime instead of parser
time as well.
I've changed the version number in build.xml to reflect this bigger
change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267988 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c26371a0e
Task to perform JSP compiles using Weblogic's JSPC compiler.
Submitted by: Avik.Sengupta@dresdner-bank.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267985 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
02bf23c463
Allow commands to be reused by clearing their arguments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267984 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b61e78e9a6
Changed -projecthelp to show targets that have a description before
the other targets.
Submitted by: Marcel Schutte <marcel@schutte.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267983 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f6745b24f5
New task <jlink>.
Many thanks to Patrick C. Beard <beard@netscape.com> for allowing his
original jlink code to be placed under the Apache Software License.
Submitted by: Matthew Kuperus Heun <matthew.k.heun@gaerospace.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267982 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
77959a23ae
<replace> shouldn't change the timestamp of files if it doesn't
actually replace anything.
Submitted by: Scotte Zinn <szinn@patronix.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267980 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4be4d85ae2
CVS wouldn't work if you used the command attribute to specify
additional arguments (like "update -d -P").
Reported by: Roger Bj�revall <roger.bjarevall@ideit.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267979 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
5c185694a7
Add error reporting to copyfile and copydir.
Thanks to Diane Holt <holtdl@yahoo.com> for pointing that out.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267978 13f79535-47bb-0310-9956-ffa450edef68
25 years ago