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
Stefan Bodewig
5b1dbf444c
Updated Documentation on EJB tasks.
Submitted by: John Hall <jhall@solant.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267987 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3aaf6e364a
Removed some unused files and added a pointer to the mailing list
archive at covalent.net.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267986 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
b95c44d8aa
Fixed broken link to <execon>. Reinstated alphabetical order of
built-in tasks.
Submitted by: Diane Holt <holtdl@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267981 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
Conor MacNeill
17fbe62a7d
Changes to EJBJar task
Make the descriptordir attribute optional. If it is not there, then it
will default to the original functionality by looking srcdir.
Added an optional basejarname attribute. If this exists, then there is
no need to prefix your descriptors with the jar name. If it is not
used, then it will default to using the original naming convention.
Added a optional weblogicdtd attribute for the location of
the weblogic DTD file. If this is not there, then the original
functionality will be executed (uses the classpath resource
/weblogic/ejb/deployment/xml/ejb-jar.dtd as the location of the
dtd file).
Added a weblogictoplink element to the ejbjar task. This
subtask allows you to build TOPLink for WebLogic enabled ejb jar
files. This subclasses the weblogic element so it uses the same
attributes with
the following additions:
toplinkdescriptor - this is the name of the xml file to be used by
(required) TOPLINK/ejbc. This does not require the
naming prefix as the naming standard
(suggested by The ObjectPeople/WebGain) for
these files is incompatible with the current
naming convention of the ejbjar task.
toplinkdtd - the location of the TOPLink DTD file. If this
(optional) is not provided, the web address is used
(Unfortunately, this cannot be picked up like
the weblogic DTD)
Submitted by: John Hall <jhall@solant.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267977 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a7988a63f6
Change the order parts are added to the CLASSPATH in bootstrap scripts.
PR: Bug 24, Bug Report 75
Submitted by: Mason J Warner <mjw@novanews.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267976 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
25fea2ba5d
<project basedir=""> didn't work for absolute filenames.
Reported by: Gardner, David <david_gardner@mentorg.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267975 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a192c1f16e
New task <fail> which does nothing but throw an exception.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267974 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
505d4a8c1d
Removed <filesetref> and <patternsetref> everywhere, <fileset> and
<patternset> support the refid attribute directly instead.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267973 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a8387980f9
Make the description attribute of Task accesible to build files
(that's what it has been intended for I guess). Add the one for Target
to <anstructure>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267972 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
76e7f15fd2
Allow an arbitrary number of arguments to be passed to Ant - even on Win98.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267971 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ff810113da
Removed all nested <classpathref> elements in favor of <classpath
refid="...">.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267970 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
982db474ca
Added a type attribute to <execon> and <chmod>. It can take the values
"file", "dir" and "both" and deteremines, whether the task should work
on plain files only (the default), directories only or both.
Suggested by: Peter Donald <donaldp@mad.scientist.com>,
Kitching Simon <Simon.Kitching@orange.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267969 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8b2d7026b2
If the output has not been redirected (via -logfile) write error
messages to stderr instead of stdout.
Suggested by: Peter Nordlund <peter.nordlund@lentus.se>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267968 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6fa35bec36
Perl script to Invoke ant
Submitted by: Steve Loughran <steve_l@iseran.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267967 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9977131b5e
Javadoc's destDir attribute should now work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267966 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7b4a065d23
Problems with the .bat files on Win98.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267965 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
5dbbf38ae0
-d is not an option of javadoc in 1.2 but of the standard doclet.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267964 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3336811fd3
JDK 1.1 compatibility issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267963 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e8d2007cff
Add a nested <path> element to <path>. This means one path can include
another path (by reference as well as literally, although I doubt the
latter is of any use). Circular references should be caught.
Suggested by: Barrie Treloar <Barrie.Treloar@camtech.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267962 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
fa4f79ea06
Avoid StringIndexOutOfBoundsException when .java files were found
directly inside one of the source directories (classes in the default
package).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267961 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8b01a00d17
filtering would fail if the number of @ was an uneven number.
Reported by: Stover, Michael <Michael.Stover@usa.xerox.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267960 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7d54561b80
Added support for data types to be defined at the project level. The
currently implemented data types are <path>, <fileset> and
<patternset>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267959 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
29217089f5
Corrected example in "Writing your own task" to use <taskdef> as a
child of <project> instead of <target>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267958 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
76924feb0d
Correctly handle the case where one of the defaults.properties files
cannot be found.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267957 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f923ab50f9
<javadoc> and <patch> would fail if the execute method was called more
than once on the same instance of the class. This is why the second
<javadoc> in the nightly builds ("ant dist install") failed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267956 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
86029316fa
Use line.separator instead of hard coded \n.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267955 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1f04dfb4f5
Added encoding attribute to <javac>.
Submitted by: Hiroaki Nakamura <hnakamur@mc.neweb.ne.jp>,
Eric VanLydegraf <ericv@kinzan.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267954 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
62961601ad
Added support for jvc (Microsofts Java compiler) to <javac>.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267953 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
493b6bf4f0
Reverting part of my last patch. This one slipped through somehow, too
early to go that far, sorry.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267952 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
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
Stefan Bodewig
a5fc8cdc68
Fixed some typos.
Submitted by: Steve Sonntag <VTAG@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267949 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