The weblogicDTD attribute in ant 1.2 was used to give the location
Af the weblogic version of the generic ejb-jar DTD. In recent 1.3alpha builds
this role was taken by ejbdtd and the weblogicdtd attribute was now used to
locate the weblogic deployment descriptor's DTD. Whilst sensible, this breaks
backward comatability.
Therefore, I have reverted the weblogicDTD attribute to work as it did in ant
1.2 and it is now a synonym for ejbdtd. A new attribute wldtd is used to locate
the weblogic DTD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268408 13f79535-47bb-0310-9956-ffa450edef68
strings.
Example usage:
<target name="dateformats">
<tstamp>
<format property="now" pattern="dd/MM/yyyy HH:mm:ss.SS"/>
<format property="then" offset="-1" unit="year"
pattern="dd/MM/yyyy HH:mm:ss.SS"/>
</tstamp>
<echo message="now = ${now}, then = ${then}"/>
</target>
Supported units are millisecond, second, minute, hour, day, week, month,
year. The unit is case insensitive
Based on the suggestion of Thomas Christen <chr@active.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268405 13f79535-47bb-0310-9956-ffa450edef68
execute has been run.
<jar> would print a warning in Ant's own bootstrap when it zipped
ant.jar for the second time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268398 13f79535-47bb-0310-9956-ffa450edef68
and Sun's JAXP1.1 implementations to be used.
I don't expect many developers to have multiple XSLT implementations in
their classpath, but if they do, I made the TraX liaison the default
for several reasons:
1) It is standard
2) It is the most modern interface
3) It is designed as an pluggable interface, so in theory (though perhaps
down the road a bit), it should be the only liaison required.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268394 13f79535-47bb-0310-9956-ffa450edef68
actually existing class files have run out of sync (would try to
access information about a non-existent class file).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268391 13f79535-47bb-0310-9956-ffa450edef68
I got tired of waiting for some else to commit it. I made some
small mods to Nick original proposal.
Submitted by: Nick Pellow <nick@cortexebusiness.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268381 13f79535-47bb-0310-9956-ffa450edef68
It also removes a number of small errors in zip task.
Deprecated <prefixedfileset> element of war in favour of normal <fileset> element in zip
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268344 13f79535-47bb-0310-9956-ffa450edef68
new class.
Wrap nested text into <![CDATA[ ]]> and replace special characters in
attribute values correctly.
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268330 13f79535-47bb-0310-9956-ffa450edef68
not been set. Any build files which rely on non-set properties being passed
through untranslated will now break.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268322 13f79535-47bb-0310-9956-ffa450edef68
i can't actually test this code since i can't even get Ant to compile.
maybe someone else would like to test it for me?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268296 13f79535-47bb-0310-9956-ffa450edef68
for org/apache/tools/ant/taskdefs/RESOURCE when RESOURCE was a
relative filename (this is the main difference between
Class.getResource and ClassLoader.getResource).
Reported by: Jason Rosenberg <jason@squaretrade.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268276 13f79535-47bb-0310-9956-ffa450edef68