Stefan Bodewig
ebdc90aee8
Slightly change the output of the plain junit formatter to make it
more readable.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269343 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0e650797a5
Various patches to PCVS task:
More robust parser that allows for platform independant paths.
Support for UNC names and a new updateonly attribute.
Submitted by: Thomas Christensen <tchristensen@nordija.com>
Don Jeffery <donj@apogeenet.com>
Fix for problematic file names
Submitted by: ScottCarlson@email.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269342 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
537a07b019
fix log messages of perforce tasks.
Submitted by: Les Hughes <leslie.hughes@rubus.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269341 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2ce6cc4849
forgot to check a package for missing close() calls on LogOutputStreams.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269340 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d3ef19b3ff
Make sure streams get flushed and closed - otherwise we may be losing
messages sent to the logging system, especially on platforms where
line ends are neither \r nor \n - for example OS/390.
Reported by: Myron Uecker <uecker@us.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269339 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
72e98275b3
yet another article.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269338 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6229635a08
Add two FAQs - had two answer the first one at least twice this week
and the second one has been part of the defunct interactive FAQ.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269337 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2573103dc2
Some javadoc enhancements in JUnitTask.
Submitted by: robert burrell donkin <robertdonkin@mac.com>
<junit> can now set a property on failed tests.
PR: 1794
Submitted by: Robert Watkins <robert.watkins@qsipayments.com>
Don't format the test run-times in XML report. They are not intended
to be read by humans anyway but give the XSLT processor a hard time to
parse otherwise.
PR: 2314
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269336 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e5893dd4c0
Make sure XML report will be UTF8 encoded.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269335 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e41b4c0f2
Add filepath attribute/element to available to search for a file in a
given path - handy if you want to search for an executable for example.
Submitted by: John Morrison <John.Morrison@uk.experian.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269334 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ea21f122ab
Add vssver.scc to default excludes
PR: 2015
In some cases DirectoryScanner could miss included files/directories.
PR: 1415
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269333 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c73084faf5
Allow policy file to exist outside of Weblogic Home
PR: 1161
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269332 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e49a5fb564
Use /nul when checkign for the existence of directories on Windows
(Although it doesn't work if the directory name is quoted - woohoo)
Check for Ant in C:\Ant for Windows 9X users
PR: 2101
Based on suggestion by eswierk@cs.stanford.edu (Ed Swierk)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269331 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
eefa2aba55
Make <apply> work really parallel and not parallel on a per fileset basis.
PR: 1763
Merge <apply> and <execon> into a single task (and keep Transform as
an empty class for backwards compatibility at the source level).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269330 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9ff2d6a1ab
Set level back to verbose - messages are too annoying as it is common
to attempt to load property files which don't exist - there for optional
override of properties.
PR: 1451
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269329 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c9affb12a2
Just find directory above script home rather than removing bin dirs which
may take out more than was intended
PR: 2082
Submitted by: Daniel.Barclay@digitalfocus.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269328 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3d84272e2
update attribute of zip had the wrong default value (my fault).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269327 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5bb077f598
make <uptodate> search for target files in the same directory as
source files
Submitted by: Gunnlaugur Thor Briem <gthb@dimon.is>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269326 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ec2d68aa71
update attribute for <zip> and friends - update archive instead of
creating a new one.
PR: 163
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269325 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e5fcb12320
New filesonly attribute for <zip> and friends - suppresses directories.
PR: 2053
Submitted by: Peter Janes <peterj@liberate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269324 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
30b8b73ffa
<junit> will now try to include the task-definition itself as well as
the needed support classes (Ant and JUnit itself) in the classpath if
running in forked mode - this means that you shouldn't have to use
different classpath elements for "in VM" and "fork" mode any longer.
Doesn't work for JDK 1.1 as the URL returned by Class.getResource
doesn't contain the name of the JAR file there.
PR: 1239
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269323 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
80c2ad3101
Again forgot to save some files, argh.
Part two of the mimemail task patch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269322 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
891ef62c7b
New task mimemail - this task requires JavaMail (and JAF) that's why
it is optional and doesn't replace the existing mail task. The main
improvement is that it supports attachments you can specify via a
fileset.
Submitted by: Glenn Twiggs <glenn_twiggs@bmc.com>
Steve Loughran <steve_l@iseran.com>
Erik Hatcher <erik@hatcher.net>
Paulo Gaspar <paulo.gaspar@krankikom.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269321 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
70d8b69e67
Describe timestamp's ability to offset dates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
440e7a9014
Changed the logging level of invalid property files to warning
PR: 1451
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269319 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
37f6c69221
change credit for some logos.
Submitted by: Blair Hughes <blair_hughes@hp.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269318 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8726d0dc58
testcase for JUnitTestRunner.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269317 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
07736d7ee1
help the garbage collector by cleaning out references in
AntClassLoader and IntrospectionHelper after the build has finished.
This helps applications that run Ant in the same VM over and over
again like CruiseControl or wrappers that run Ant in incremental mode.
PR: 2568
Submitted by: robert.watkins@qsipayments.com (Robert Watkins)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269316 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ef2c9e1a3c
Make bootstrap process for JDK < 1.3 on Unix work again (bootstrap
uses the <chmod> task to make antRun executable which in turn needs an
executable antRun script ...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269315 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
230952c5a8
Log properties for JUnit tests.
Submitted by: Erik Hatcher <erik@hatcher.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4624d76d04
Give a different message if a test fails due to timeout.
Submitted by: Julian M. Savage <jsavage@fisci.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269313 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
da742d4855
Properly mask out JDK 1.4 specific stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c51d45fd2c
support java.util.regex package of JDK 1.4 in regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8339c7f3e8
Add debug information to the getResource methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269310 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf3d817333
Stop using canonical paths. This will change the behavior of Ant when
symbolic links are present (but in a way that is probably closer to
what the user expects) and remove some problems on platforms that use
"uncommon" native file names like OS/390 or VMS.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269309 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
04c15d05cf
CHange most usage of the classloader so that it loads from the
system classpath first.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
glennm
b1c37b60a6
Test for the 4NT shell, which requires a
different method of slurping command line
args than cmd.exe.
Submitted by: Jim Anderson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269307 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2fa84738b4
InheritAll documentation update
Submitted by: Craeg K Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269306 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6c23151c7a
Logo proposals from Blair Hughes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269305 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5826ef1968
Interim fix for Gump failure to build FOP. IN Gump's mode of operations
ensures the system loader is always used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
glennm
6ffa10f973
Overview of core tasks with a short description
of what each task does.
PR: 2328
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
525c0f87f8
Setup constructors so that they actually compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269302 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3f918df70a
Update manifest and build file to reflect addition of new task file-manip-test.
Also change in pattern from name->value for include/exclude etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
92712f7da3
Update to reflect that that evaluate throws ContextException instead of TaskException.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269300 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1ef26fe3ac
Change to throw context exception as lack of value in context is the reason for PropertyException.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269299 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
96f3bfd7f8
Name->Value to reflect better semantics.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269298 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
47e31ec919
Change to reflect fact that context no longer resolves propertys.
Thus extends AbstractContainerTask to implement functionality.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cbbb531caa
Convert parameter to use FIle type directly rather than converting from String.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269296 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
697cacf736
Update task to reflect new location of property resolving
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269295 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8071268228
Remove resolveValue() as it is not needed here but in AbstractContainerTask.
Cleaned up default implementation of TaskContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269294 13f79535-47bb-0310-9956-ffa450edef68
24 years ago