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
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
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
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
1. handle package statements that use tabs.
2. Fix minor bug in comment parsing.
The parsing bug was pointed out by Johan Granstrom <johan.granstrom@itec.se> but
I have not used his patch directly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267787 13f79535-47bb-0310-9956-ffa450edef68
Javadoc now can be used with a doclet like this
<javadoc ...>
<doclet name="blah"
path="path/to/blah">
<param name="-foo" value="blah"/>
<param name="-bar" value="blahblah"/>
</doclet>
</javadoc>
param value's are just strings no path translations, etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267747 13f79535-47bb-0310-9956-ffa450edef68
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68
Generating messages. Generating messages are set to a priority
of VERBOSE unless they appear after what could be an
informational message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267738 13f79535-47bb-0310-9956-ffa450edef68
I have changed the patch as submitted to treat the docletpath as a classpath rather
than a file.
Submitted by: Ernst de Haan <ernst@jollem.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267729 13f79535-47bb-0310-9956-ffa450edef68
1) restructured Project and Task: copyFile should be a project
method rather than a task method for good OO patterns. Well,
actually they should be target-granular but we'll see.
2) patched all the necessary files to make the above work
3) removed some unused methods (setAttributes())
4) added the Filter task that addes token filtering capabilities
to all the copyFile operations. This works more or less as a
superstructure to Replace and KeySubst but automatically and
inherited by all the tasks that use copyFile() methods.
5) indicated KeySubst as deprecated
6) updated docs to reflect this new behavior
NOTE: behavior is _totally_ back compatible if you don't
specify any <filter> tag.
NOTE2: nothing is carved in stone. If you don't like something
you're welcome to propose fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267604 13f79535-47bb-0310-9956-ffa450edef68
2) Correct Stefano's mailing address
3) Correct handling of escaped quotes in strings
4) Return exit code from the exec'd process as it may be useful
Submitted by: Michael Smith <michael@sneakerlabs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267590 13f79535-47bb-0310-9956-ffa450edef68
tmpExcludes.addElement("**/"+tok.nextToken().trim()+"/**");
(currently found in org.apache.tools.ant.taskdefs.Copydir)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267589 13f79535-47bb-0310-9956-ffa450edef68