Peter Donald
94ed3da958
Fixed documentation of Loggers and made default value of log level explicit.
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268434 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
568f34ca12
Add in extra error case when creating directories.
Submitted By: Stuart Roebuck <stuart.roebuck@adolos.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268432 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
d5362445cb
Added VSS label task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268431 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
6cd17eefff
Remove debug statement - oops!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268430 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
79d1102c45
Restore the default to "last". Add a warning message if an invalid value
is specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268426 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
320a0390be
Propagate Sam's build.sysclasspath magic to <rmic> as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268424 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
febf421b27
Change the addition of super classes and super interfaces
All interfaces are now added to the EJB jar, not just those that ultimately
derive from EJBObject. Interfaces and classes whose package names start with
java are omitted. Also simplified the code to load interfaces and super classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268422 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ffa6e24ba4
Document that Task.execute() can be invoked more than once.
Submitted by: Rosen, Alex <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268418 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a50ad9fae4
Resolve confusion between <fileset> and <prefixedfileset> in <zip> and
friends.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268417 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
77ed2ceec5
Changed <available> to resolve relative resource names the same way as
<property> does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268415 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d42256bf54
Add classpath attributes and elements to <property> to specify a
classpath to load resources from.
Submitted by: Diane Holt <holtdl@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268414 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b60d024fef
Fix up a minor method name typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268411 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
8c3b761ae7
Give a warning when the weblogic deployment descriptor cannot be found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268410 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
58f8db35ee
avoid breaking backward comatability
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
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
40cfacf23b
Make new TSTAMP code compile with JDK 1.2 (and 1.1)
Thanks Martin.
Reported by: Martin POESCHL <Martin.POESCHL@sds.at>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268406 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
e48fc02b3f
Add the ability to specify time offsets when generating time/date property
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
25 years ago
Stefan Bodewig
03d7f7d695
Reset the global flags that say we have a MANIFEST.MF/web.xml after
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
25 years ago
Conor MacNeill
e92741fae9
Add some error checking to new TSTAMP format element
Documentation fro tstamp and javac changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268397 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
3d76bc5d3a
Provide a failonerror attribute for javac. This defaults to true. If you set it to
false, an error is logged but the build will continue.
Based on the idea by Ken Wood.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268396 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
70ea62a03d
Added a TraX liaison for the <style> task. This enables Apache's Xalan2
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
25 years ago
Conor MacNeill
b411046cdc
Minor logging changes in depend task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268393 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
Stefan Bodewig
89d6f7f407
Fixed some typos, avoid NullPointerException when dependency cache and
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
25 years ago
Conor MacNeill
aa9e0c2342
I've committed Rob's timestamp patch with a few minor changes.
Submitted by: Rob Oxspring <roxspring@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268390 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
b57bb4004d
patch by will stranathan will@thestranathans.com that fixes the path
separator to whatever the system one is.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268388 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
503663ee2b
Add nested param element to the style task.
Also allow an input and output file to be specified.
Submitted by: Jeff Martin <jmartin@silacom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268387 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6a56c52192
Fixing up "damaged" licence info in some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268386 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
0bfa36507c
Fix up copyright statements - increase consistency about placement, etc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268385 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
ba0d3f2a3e
Control the order in which the system and build classpaths are combined
via a new property: build.sysclasspath.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268383 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
736bd1b658
A fun little task to play a sound at the end of a build.
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
25 years ago
Jon Scott Stevens
14440efdc9
added patch by mariusz to fix NPE in UpToDate task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268373 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3a3312cb52
Avoid NullPointerException in <delete> if the current user is not
allowed to list the contents of a directory.
Reported by: "NIkhil R. Deshpande" <nikhild@flashmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268372 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
34c0080c09
Add a nested mapper element to <native2ascii> to (1)give it more power
and (2) only convert those files that have actually changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268371 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d2eddd7e4d
Avoid NullPointerException in JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268370 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6960c203e4
Make the directory for the output of <junit> configurable.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268368 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0c19b8e359
Deprecated the optional <renameext> task as its functionality has been
superseded by the built-in <move> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268366 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
c11c539ba3
Added a new logger that will not print out target banners if they don't produce any output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268365 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
584cbc7ad0
Added the attribute preservelastmodified to copy task.
Sunmitted By: Jaco de Groot <jaco.de.groot@eo.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268360 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
e84526a725
Fix for "The output level logic was backward - it would print this line only if you had a low output level."
Submitted by:"Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268358 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
12509319df
Make documentation of <project>'s attributes reflect reality (and vice
versa).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268353 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8f2c9066b3
Reverse changes and reinstate fileset + prefixedfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268348 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8e955e3a2e
Patch to unify handling of prefix filesets between war/jar/zip.
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
25 years ago
Peter Donald
f358a34a1d
Adapted Signjar so that it does not run every time unless absolutely required (or unable to be determined if required).
Submitted By: keeskuip@technologist.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268336 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
bca3e675c3
Fixed a number of bugs with new Zip modifications.
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268334 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9b36df2db1
Missed a hardcoded indent character.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268331 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d886d50323
Moved the common code from XmlLogger and XMLJUnitResultLogger into a
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
25 years ago
Stefan Bodewig
3eebdfd1c8
Fixed NullPointerException in <copy> when <mapper> and overwrite have
been used at the same time.
Reported by: Raphael PIERQUIN <pierquin@agisphere.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268329 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2295e485c4
Allow for zip files that contain nothing but empty directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268328 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
9e2e9dbcf9
moved PrefixFileSets from War Task to Zip task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268327 13f79535-47bb-0310-9956-ffa450edef68
25 years ago