Magesh Umasankar
afa65467f7
1. setSrc(File) deprecated and replaced with setSrc(SrcFile)
2. setDest(File) deprecated and replaced with setDest(DestDir)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270388 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
c2a86d83a1
fixing incorrectly specified FQCN
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270387 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
18897c517a
Delegate validation to DestDir. This has a nice effect on MkDir as at least
one 'unknown reason' (Path containing an existing non-directory element) will
be known by using DestDir.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270386 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f1b5585024
If DestFile or DestDir does not exist, ensure that the path representing the
directory or the file is valid, by checking if the path contains any existing
non-directory element, thereby making sure the file/dir is constructible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270385 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
4ae3c9e3c4
added empty and file constructors, the latter validates as you go. Also a little IsUpToDate() test for destdir which will should simplify dependency checking.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270384 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a244b2f855
using srcFile datatype
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270383 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
e29a10c6a8
fixing javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270382 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
8542c23978
add detail on the nested elements; wrapping a few lines in the process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270381 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
e4f965ec8c
spello
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270380 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4c06c2bf86
setFile(File) has been replaced with setFile(SrcFile). No backwards
compatibilty issues here as task was introduced Post 1.4.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270379 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
0320691179
setSrc(File) has been replaced with setSrc(SrcFile). No backwards
compatibilty issues here as setSrc(File) was introduced Post 1.4.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270378 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f4df13a3aa
stops the encoding test failing. We now test that the encoding param is supported, but there is nothing to test that the encoding actually works.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270377 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2058109551
IntrospectionHelper has been modified such that overridden setter methods
that take in 'PreferredAttribute's as argument gain higher precedence.
New attribute types - SrcDir, SrcFile, DestDir and DestFile are introduced. Each of these types is a PreferredAttribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270376 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
80962473e9
cvs didnt like the latin-1 stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270375 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a225264f50
new loadfile task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8958eef718
Modified 'backslash' to be public static final so that the test case can access it. This method is standalone, so having it static is fine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270373 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
43ebf0d68f
new test for nested text element working, PR: 5579
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270372 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b2519d45f5
test contents of exceptions match expectations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270371 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
e6688723b8
PR: 5579 ;fail having uninitialized value trouble.
Which goes to show: if it aint tested, it doesnt work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270370 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
24f8b28b01
stuck pointers to the mimemail dependencies in here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270369 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
414d204102
we will have no tabs here!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270368 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
669a7eae15
Start updating logging to myrmidon style logging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270367 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
96f9a81fa6
Cleaned up code and gradually moving towards myrmidon patterns
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270365 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
77bc053aa7
Made GroupArgument a top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270364 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
898a4c0716
Moved javadoc into package org.apache.tools.ant.taskdefs.javadoc and broken it up to remove all the inner classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270363 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
255020c002
Fix up license banner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3ddf07367d
Fix up license banner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270361 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fca2ea7857
Add in default implementation of ExecuteManager. It takes over most of the responsibilities of Execute except that it does it in a more easily evolvable manner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270360 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
33c937a716
Set the output streams to Execute via setters not via constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270359 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c9b993c41d
Set the output stremes via setters not via constructor
Set timeoout value rather than passing in watchdog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270358 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9d030eb76b
Delegate to execute manager rather than doing the work internally.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270357 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d4ccd6348e
Removed some cruft and cleaned up file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270356 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f7e6cdd1f9
Set the output stremes via setters not via constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270355 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9853214070
Watchdog goes the way of the dodo and is replaced by processMonitor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270354 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f9835b0ae7
No Need to throw a task exception here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270353 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c1f1c3932c
add a method to query whether process times out or terminated of natural causes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f6de4cf924
Add in class that will replace ExecuteWatchDog, ExeuteStreamHandler and related classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
afd87bafa3
Use concreate class LogStreamHandler rather than interface ExeuteStreamHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270350 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8447568c3d
MOve ProcessDestroyer into myrmidon hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270349 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
44b8feb32d
Fix an error introduced in the Enumeration -> Iterator move
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270348 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
581e64ac2c
We only work with PumpStreamHandler instances so refer to that class in method ratehr than interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270347 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3dd3571f85
Name cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270346 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b15293b013
Make it possible to request shutdown of all pending processes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270345 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f7d4b3cd19
Remove failOnError attribute from Exec and thus always fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270344 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5b93763d51
Cleaned up Exec code and removed failOnError attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270343 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e9c239163f
Add in a rebuild target to make things easier from IDEA
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270342 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cdd8484f39
Made ExecMetaData take a Properties object for environment data rather than native format.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270341 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ace547bc97
Made timeout time a long not an int.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270340 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e6820b7065
Readded ant1 jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270339 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
72c0f5a385
Remove tools dir from proposal.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270338 13f79535-47bb-0310-9956-ffa450edef68
24 years ago