Stephane Bailliez
144c9d1920
Remove unused fields and methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270893 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
17997f266a
- Fix order of modifiers
- Fix duplicate/unecessary imports
- Fix single if/else and loop without block
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270814 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
33bc8da118
Change the methods that try to locate JDK tools to work on AIX with
IBM's JDK 1.2 as well.
@todo refactor into a single method somewhere
PR: 5541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270667 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e3b6d1fe76
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270637 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c78d3f894e
Replace ProjectHelper.replaceProperties calls with a new one-arg
method in project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270128 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
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
Stefan Bodewig
307c136939
push createTempFile to FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269859 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ab9f91736a
Take care of NetWare when searching for "java" and "javadoc", add
NetWare case for <property environment=... />.
Simplify OS based decisions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269851 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d17f3c4f2a
Use locale independent methods to identify OS or match attributes and
elements in build files.
PR: 4100
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269847 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- 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
24 years ago
Peter Donald
72f5630bdb
Remove some tabs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269786 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d81ef5ce76
Add comments regarding future netware integration.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269785 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1ca56f13c4
Apply the same magic <javadoc> uses to locate the javadoc command to
CommandlineJava (and with thus to <java fork="true">).
Suggested by: Jesse Glick <Jesse.Glick@netbeans.com>
Also, add .exe on OS/2 as well.
This still doesn't work for IBM's JDK 1.3 on AIX (java is in
JAVA_HOME/jre/sh and javac in JAVA_HOME/sh) - need to find out what
java.home points to and where javadoc is, before we can fix that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269357 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
cbef49e344
Look for java.home/../bin/javadoc(.exe) before falling
back on plain old javadoc. Just looking in the java.home
directory tree isn't sufficient, as it may give incorrect
results on Windows (thanks to Connor for the info.).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269351 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
c341305e44
The javadoc task now looks for the javadoc executable
in the java.home/../bin directory. That way if your
java installation isn't in your path, you can still
create javadocs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269344 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
21a88b996a
If the package list cannot be found, the offline links are
skipped - a message is printed at verbose level
PR:` 1304
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269293 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
44eb536d1a
javadoc @files do not work under JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269279 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6d4c233dcb
Make the packagelistloc attribute of javadoc's link child a File so it
will be resolved properly.
Reported by: abethegn@canal-plus.fr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269212 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
91f7d992dc
Don't change working directory for javadoc.
Submitted by: Jay Glanville <dickon@nortelnetworks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269116 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7ded9a569f
Added useexternalfile attribute to <javadoc> - this makes javadoc use
a temporary file for source file and package names (via javadoc's
@file parameter) to defeat command line length limitations.
Inspired by: Frederic Lavigne <fred@castify.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269045 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
52579e9682
Quote the -group parameter to Javadoc
Submitted by: Jay Glanville <dickon@nortelnetworks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269026 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ecab5d3357
Make javadoc expand properties for the new nested elements.
Use this to make the year of the copyright message in Ant's javadoc
dynamic - nice demonstration of tstamp's format element at the same
time.
Inspired by: Jon Stevens <jon@latchkey.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269023 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b5b31688e6
Add some nested elements to javadoc where it seemed to be useful.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269020 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a9a32155c5
brush up documentation for <javadoc> (adding documentation for the
excludepackagenames attribute in the first place), minor cleanups in
the implementation of this task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268951 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
068f734884
Merge after 1.3 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268748 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
5337488612
Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
af102bbd3d
Resolving package names now occurs with the
use of a private FileSet. This provides
the use of the default excludes patterns,
which include **/CVS/**, preventing any
.java files in a CVS/Base directory from
being included.
Just in case someone does ever have a
package named blah.CVS, I added the
"defaultexcludes" attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268517 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
b6d17002e3
Back out CVS directory hack.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268501 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
6cc1290e8b
Hack to ignore CVS directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268500 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b3cb9a9d4f
Changed the handling of build.sysclasspath so that Ant should behave
the same way as Ant 1.2 did - if build.sysclasspath has not been set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268480 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
2f3fc4ceb2
Address anomolies where classpath is now being interpreted differently by
different tasks due to my change to javac and the introduction of
${build.sysclasspath}
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268407 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
6b5745a21d
Used some elisp magic to remove those tabs and replace with spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268237 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
73db4788f6
Reinstate javadoc's failonerror attribute.
Requested by: Corey Puffalt <corey@kelman.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268134 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2f00346128
Restore the -d flag for destdir when it is supplied. Whilst this is an option
of the standard doclet, many other doclets also use it. For doclets which do not
like it, simply do not provide a destdir attribute to the javadoc tag.
The check for whether destDir is supplied only operated if the standard doclet
is being used (or using javadoc1)
Based on the observation of Scott M Stark <Scott_Stark@displayscape.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268131 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
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
26 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
26 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
26 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
26 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
26 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
26 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
26 years ago
Conor MacNeill
f504cf793e
Increase speed of Javadoc task
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267944 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
c32873b519
Added nested elements and attributes to reference CLASSPATH structures
defined at another place in the same project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267896 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Conor MacNeill
0dd985bc2a
Add some eror checking to the syntax of the linkoffline attribute
Fix the output of argument list under verbose logging (Thanks to Ken Wood)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267885 13f79535-47bb-0310-9956-ffa450edef68
26 years ago