When this is complete, whole source tree should JavaDoc (with 1.4)
with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates
warnings, but that's all.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271543 13f79535-47bb-0310-9956-ffa450edef68
Jon's message:
There is one small code change (which may very briefly reduce the
footprint of Ant by about 3K :) and two comments which suggests further
code changes (look for XXX). The rest is, I believe, entirely comments.
I've:
o Made sure that all occurences of null/true/false are surrounded by
<code></code>
o Wrapped comments to under 80 columns (in some ways this is more
important than wrapping code)
o Made sure that all fields and methods have JavaDoc documentation.
o All used method parameters are documented, including documentation of
whether they can be null or not
o All return types are documented
o All checked exceptions are documented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271349 13f79535-47bb-0310-9956-ffa450edef68
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
This is a first cut of the generalization of <available> and
<uptodate> that is on the list for Ant2. This task supports a single
condition and sets a property if it holds true - conditions can be
containers for other conditions in turn, giving it the opportunity to
support boolean logic.
Built in conditions as of now:
* <available> and <uptodate> (slightly modified the tasks to allow them to
be used as conditions)
* containers <and>, <or> and <not>
* New conditions <equals> (compares to Strings) and <os> which should
give easier access to os.name.
More extensive documentation to follow. Take a look at Ant's build
file, it uses the task to detect whether javamail is available now.
I had to perform some ugly tricks to make sure that project gets
passed to every object that will need it - this will be very different
in the future I hope.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269456 13f79535-47bb-0310-9956-ffa450edef68
of the current ant launcher scripts. Also allows many of the classes
necessary for Ant to be hidden from Java tasks run in VM.
Changes to the classloader to allow the parent loader to be specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269347 13f79535-47bb-0310-9956-ffa450edef68
AntClassLoader and IntrospectionHelper after the build has finished.
This helps applications that run Ant in the same VM over and over
again like CruiseControl or wrappers that run Ant in incremental mode.
PR: 2568
Submitted by: robert.watkins@qsipayments.com (Robert Watkins)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269316 13f79535-47bb-0310-9956-ffa450edef68
approach here uses newInstance to achieve initialisation for JDK 1.1
compatability. Under JDK 1.2, both initialization and the classloader to
use can be specified to Class.forName();
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269021 13f79535-47bb-0310-9956-ffa450edef68
Changes AntClassLoader so it does not use the primordial class
loader for system classes. This is needed when the classloader itself was not
loaded with the primordial loader.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268573 13f79535-47bb-0310-9956-ffa450edef68
packages to load via the system classloaders.
This fixes the problem reported by Erik Meade <emeade@geekfarm.org>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268074 13f79535-47bb-0310-9956-ffa450edef68
- Add new nested element <transaction> to <sql> which allows executing
multiple transactions, multiple files on the same connection.
- Added documentation on sql.html
- Modified AntClassLoader.java to send most of the "loading class..."
messages to MSG_DEBUG instead of MSG_VERBOSE. So that it does not
cluter debugging other tasks.
- Add new attributes 'rdbms="product"' and 'version="release"'
if those versions do not match what is returned by the connection, the
task will be skipped.
Submitted by: Jose Alberto Fernandez <JFernandez@viquity.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268049 13f79535-47bb-0310-9956-ffa450edef68
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
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
types package on the same instance, so I had to touch a lot of ather
files as well.
Reported by: Frederic Lavigne <fred@L2FProd.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267827 13f79535-47bb-0310-9956-ffa450edef68
This class loader allows a Java task to be run with a separate classpath
without requiring a new java instance to be created.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267798 13f79535-47bb-0310-9956-ffa450edef68