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
Peter Donald
7986eeaf40
Currently myrmidon uses myrmidon.home rather than ant.home
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270530 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ddf1b613cf
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270529 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b6655479c2
Add some tests to check that loadproperties and load-environment work as expected
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270528 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0b2a242fd1
Add in declaration of load-properties task for descriptor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270527 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
62797d9ef1
Add a descriptor for new nativelib type library
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270526 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
babc775431
Add a task to load properties from a property file - optionally with a specified prefix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270525 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3bea6099f8
Add a task to load the native environment into some properties with a specified prefix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270524 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
101185acab
Refactor now that resolveValue is part of TaskContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270523 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
65256f43dc
add in somee finals
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270522 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
146898d169
Mad all the command launchers use getEnvironmentSpec and thus made ExecUtil.toNativeEnvironment private as it is not used outside class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270521 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4ad84fc4cc
Moved getEnvironmentSpec to ExecUtil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270520 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0a064d62aa
Reorded addition of proeprties to environment when exec call has an additive environment so specified values overide values in the native environment.
Also added basic javadocs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270519 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
65a74dfc9e
Made sure that setting of environment variables for the native exec calls occurs accoridng to epectations.
If no properties are specified then null is passed to underlying exec call.
if some properties are set and environment is additive then the native environment is added to environment object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5b78d0ba6f
Make sure a property file with no properties in it does not cause any exceptions.
Removed an unused method.
Made the Properties object returned from getNativeEnvironment() contain all environment properties rather than having the environment properties as default properties for property object. This allows much easier direct access to prpoerty values.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270517 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
399c54d5f7
No need to implement resolveValue as TaskContext now supports that method directly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270516 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
425e6f46c6
Update implementation of TaskContext to support the new resolveValue method in TaskContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270515 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f0e110d26c
Make sure new resolveValue method in TaskContext is exposed via inheritance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270514 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
07f15736a0
Add a new method "resolveValue" to TaskContext that resolves values according to ant rules and using that particular context.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270513 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b165169549
Simplified and cleaned regex factorys
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270511 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0c0ea74958
Removed DataType and maual handling of references etc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270510 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
500d69e189
Removed cruft from tasks that manually worked with references rather than letting the container handle it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270509 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed599a9b8a
Removed clone
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270508 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
db024524f2
no message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270507 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9eff330c1b
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270506 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
27eea93c8c
Clened up task a little.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270505 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2a6da440b8
Remove special handling of references as the container should take care of that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270504 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ce6c8d711c
Started to migrate FileSet away from using Project and for implementing references itself (rather than letting container manage references)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270499 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
676c2c7cbc
Cleaned up and made extend AbstractTask rather than Task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270498 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8457b31f43
Cleaned up task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270497 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2ed1541485
Moved security related classes into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270496 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
353fc66561
Cleaned up GenerateKey task and moved inner classes to be top level classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270495 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0b7ecfb32e
Cleaned up task a litt.e
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270494 13f79535-47bb-0310-9956-ffa450edef68
24 years ago