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
Peter Donald
d44f286ff0
No need to use Touch task as we can just call File.setLastModified()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270493 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
eff7370291
Cleaup imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270492 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
010a31e844
Refactor the Configurer so that it is much much faster and caches the reflection information. Make it much easier to support pluggable configurors in the future and alternative configuration mechanisms.
Submitted by: "Adam Murdoch" <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270491 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
00ed433cf2
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270485 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0075b98213
Move touch into the file package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270484 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d172e56ddf
Move touch into the file package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270483 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
372c76b409
Move regex replace and support into the text manipulation package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270482 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2b7e896783
Moved inner classes to top level classes and merged StringUtil into the class that uses it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270481 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9d5b717a0d
Begin to cleanup tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270480 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a6ab023519
Restyled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed50251db4
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270478 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3a4ce7972b
Move text manipulation tasks into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270477 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d7d6e9fa4c
Cleaned up Replace task and broke out inner classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270476 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bc9dc4239a
Replace all different occurences of grabbing line separator with StringUtil.LINE_SEPARATOR
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270475 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
07382b400a
Remove old BuildListener architecture and replace with ProjectListener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270474 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c4385b7b1b
Update scratchpad jar for new parameter in StringUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270473 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f151280e40
Made into a ProjectListener rather than a BuildListener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270472 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f30a0fa451
Moved BuildAlert from inner class to top-level class.
Made AntSoundPlayer a ProjectListener rather than a BuildListener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270471 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aca4841ccd
Moved BuildAlert from inner class to top-level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270470 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
addc2628f8
Made into a ProjectListener for new style event notification
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270469 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1cf954d68b
Refactored to work well with new AbstractProjectListener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270468 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f6c369f28f
Cleaned up documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270467 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7cb0319029
Refactor AbstractProjectListener so that it retains state regarding current task and current target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270466 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fd20f40968
Use simpler isFamily check for netware
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270465 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e84361f936
Moved implementation of ExecManager into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270464 13f79535-47bb-0310-9956-ffa450edef68
24 years ago