Peter Donald
450b3303ea
Cleanup class and move ClassArgument to top level class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270580 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
09dd862ae6
getProperty on context rather than project
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270579 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bc4fa10e58
Cleaning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270578 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6187610641
Move entry to being a top level class and clean up naming conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270577 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
af7a38e95e
Don't place project in bean list - instead place context in there
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270576 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0ed3627cf3
Use Execute2 abstraction
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270575 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
68c0830423
Move runCommand into this class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270574 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4abaa3ec23
Use Ant2 propertys that are objects rather than strings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0abcddef6c
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270572 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dad10655ad
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270571 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
69e14f256e
Use Execute2 abstracton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270570 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
46302b08af
No need to use project anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270569 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0b2fdb2709
Get property from context rather than project
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270568 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
15debed637
Use context to resolve file rahter than proijectr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270567 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a99f864176
No need to apply policy in task - can do that in context
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270566 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a25518889b
No need for setter to throw execption
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270565 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2e186a3000
Remove access to project as not needed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270564 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ceaf662ffb
Refactor and clean code
Also start using Execute2 abstraction
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270563 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e0f26fe260
Cleanup code a little
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
df0a7e7358
Use Execute2 abstraction
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270561 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9739843b08
Use adaptors logger rather than getting tasks logger via hackGetLogger
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270560 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6a568e4e32
Use inherited getProperty rather than getProject().getProeprty()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270559 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1158015760
Remove unused stream handlers/pump abstractions. These are now replaced by ExecOutputHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270558 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
689c802c3a
Add in a copy of Execute that is separate so that it can be evolved at a faster rate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270557 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
14da38e484
Remove unused method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270556 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f2e2178170
Made the ExecManager support another method of execution that involves supplying an ExecOutputHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270555 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2b4f4a5945
Shutdown standard input of process - not sure if this is a wise move
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270554 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c4fd52dc5b
Shutdown IO if it is supplied
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270553 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1d72126924
Created a OutputStream that redirected to an appropriate handler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270552 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d3609fe2ba
Move var closer to where it is used
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270551 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ff7c11c744
Added the ExecOutputHandler abstraction so that tasks don't have to worry about more complicated stream parsing and can work with just notification of lines appearing.
Also added a default implementation that conforms to the most common pattern of making stdout info log messages and stderr warn log messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270550 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
47dfd87c88
No longer need hackGetLogger as all those ugly hacks have been removed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270549 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
27040cde16
Use new Execute2 abstraction
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270548 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b60ae9855b
Make sure the check_for_optional_packages is processed before compoile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270547 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b25ef93be7
some TestCases to be run by the TestRunner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270546 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4053f59bdd
Base TestCase. Food for thoughts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270545 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
eeb29da468
Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270544 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
59846623bf
- a TestCase can now implement a TestRunListener.
- create a FormatterRecorder from the TestRunRecorder.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270543 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
082ac15676
initial commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270542 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
94e05bfe74
A set of tasks to be used with Clearcase. Since I'm breaking backward
compatibility for now because I try to deal with multiple files, they will stay here.
This code has not been tested yet and the commands even be validated
since I do not have clearcase at home (how surprising eh ? :)
Some tests at work show that output is not exactly the one described in the
manual and that I nearly never have the full path but rather the absolute path
from the view. ie under Windows the drive is missing and under Unix the
'/vobs/' is missing....
If a Clearcase guru wants to contribute he is very welcome... :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270541 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ec67a210de
Rename the listener methods to onXXX(). It is more meaningful in this case
since otherwise it conflitcts somewhat with the testXXX methods in a testcase.
It leads to terrible code in testcase since we cannot then say that the testcase
is a testrunlistener (or a formatter) because of the method naming guidelines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270540 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
af33c72ff3
initial commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270539 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bd472c00bf
Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270538 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f7d1565cfd
initial commit.
Code based from Erich Gamma's plugin for Eclipse.
It has been heavily changed so I believe that not much is in
common now except the content of the message identifiers. :-)
I use Base64 encoding for transferring serialized objects and stacktrace.
This can be greatly simplified but it is ok for now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270537 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8e29fbd9e0
Code stolen from commons-sandbox.
This will stay here (code duplication is cool :-) until there is an official
release of commons-util
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270536 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
28e641ed17
Initial commit
This is a refactoring that have too much impact on the Ant JUnit code,
therefore I'm experimenting some ideas here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270535 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b1cf1479c8
build scripts for this junit sandbox...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270534 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fe1594401f
Make sure new nativelib typelibrary is created. Also make it not cause for failure if you can't delete the dist directory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270533 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a6c4de4a6c
Remove load-environment/load-properties functionality as that has been reimplemented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270532 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fc800c719f
zap whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270531 13f79535-47bb-0310-9956-ffa450edef68
24 years ago