This should make the tests work no matter which XML parser you used
(failed for me now as I still have Crimson on my CLASSPATH).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272540 13f79535-47bb-0310-9956-ffa450edef68
There is no automatic testcase for this, but if your run
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=off
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=on
you'll see it in action.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272496 13f79535-47bb-0310-9956-ffa450edef68
allow all attributes to be set to default values by properties.
PR: 7732
Submitted by: Patric Bechtel <bechtel@ipcon.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272194 13f79535-47bb-0310-9956-ffa450edef68
PR: 7153
Submitted by: Gary Weaver <Gary_Weaver@srspos.com>
Also made the date field update itself instead of outdated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271952 13f79535-47bb-0310-9956-ffa450edef68
not really tested, but they look the same as all the other vss tasks
that went in untested 8-)
PR: 7153
Submitted by: Nigel Magnay <Nigel.Magnay@Parsec.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271930 13f79535-47bb-0310-9956-ffa450edef68
duplicate (attribute): behavior when a duplicate file is found. Valid values are add, preserve, and fail. The default value is add.
zipgroupfileset (nested fileset): allows for multiple zip files to be merged into the archive. Each file found in this fileset is added to the archive the same way that "zipfileset src" files are added.
Jar task
duplicate/zipgroupfileset: same as in Zip task
filesetmanifest (attribute): behavior when a Manifest is found in a zipfileset or zipgroupfileset file is found. Valid values are skip, merge, and mergewithoutmain. mergewill merge all of manifests together, and merge this into any other specified manifests mergewithoutmain merges everything but the Main section of the manifests. Default value is skip
manifest (existing attribute): this attribute now also accepts the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/Manifest.mf
Submitted by: Brian Deitte <bdeitte@macromedia.com>
PR: 5667, 5036
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271698 13f79535-47bb-0310-9956-ffa450edef68
patternsets so that they are in one place instead of repeated up to
three time.
update link for BSF.
Add pointer to JDepend in the Library Dependencies section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271512 13f79535-47bb-0310-9956-ffa450edef68
Other code cleanup (axing "m_" prefixes).
Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.
Test cases beefed up to consider several scenarios.
There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).
Is there a use-case for "never" as a value?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271503 13f79535-47bb-0310-9956-ffa450edef68
outside of targets.
<typedef> is another task that may be used outside of targets.
I "fixed" that by replacing path with typedef in Steve's text, but we
really should talk about data types here as well - unfortunatley we
don't talk about data types in the manual at all, so it takes a bigger
effort.
Some year 2002 bugs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271491 13f79535-47bb-0310-9956-ffa450edef68