Peter Donald
1876ce865b
Remove CascadingException references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271472 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b7d8d44fd
Add a PropertyUtil class that doesn't need avalons Context
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271471 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b52e2b425f
Updated TaskContext imp[lementation to reflect new interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271470 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
90c544be23
add a getPropertys() method to context so that some tasks (like Junit) can grab a *copy* of all the propertys
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271469 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dd70349d95
Made the TaskCOntext not extend avalons context interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271468 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
959022fae0
Changed commented info message to debug priority
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271467 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
da8ec4fa38
Reworked the ExecManager service so that the Execute adapter object becomes responsible for combining supplied env vars with native env vars if required
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271466 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0e2f7c5672
Generalized the converter architecture by making the "context" a raw object that can be cast for the needs of a specific project
Thus converters are now independent of ant and avalon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271465 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
93e26b06b1
Remove old attempt at generalizing the converter architecture
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271464 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
9580c7126a
bug Id 6601; deprecation warning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271463 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0b8d5fcec1
being rigorous
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271462 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3947893793
little bit of extra detail on the example.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271461 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
80b247061b
things to find out when you look at the source
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271460 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
7515a67539
Added some experimental VFS data types and tasks: <v-path>, <v-fileset> and <v-copy>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271459 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
6fe669441d
* Added AbstractProjectTest, which allows a sub-class test case to execute
targets from project files.
* AbstractMyrmidonTest.getTestResource() now asserts that the resource exists.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271458 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e18c4a8872
move all stuff that can only be compiled conditionally to optional.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271457 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
79a5919664
fix boundary checking problem similiar to the one fixed for bug report 4290
Actually this wouldn't throw an ArrayIndexOutOuBounds- but a
BuildException as FileList.getFiles barfs out on empty lists, but that
way it is more consistent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271456 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
63eed537b6
optimize dependset by not comparing each target with each source but
only the oldest target.
Submitted by: mrezaei@starpoint.com
I've also swapped the order of handling sourcefilesets and
sourcefilelists as filelists are a lot less expensive than filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271455 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a45ed20242
@exception -> @throws
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271454 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bf844382c8
Refactor configuration out of Frame into Component Manager
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271453 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
83dc385bd0
Switch CLASSPATH back to Windows format in Cygwin.
Submitted by: Jeppe N. Madsen <jeppenm@worldonline.dk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271452 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
048caece40
move method refactoring - applied in a way that keeps
IntrospectionHelper's API backwards compatible.
Inspired by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271451 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
575646714e
simplify createAttributeSetter method.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Throw in some additional tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
60551b04f2
* Renamed the template files.
* Added an <antlib-jar> task to the build, for Jar-ing up antlibs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271449 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a534b0b89e
add pointer to Krysalis Centipede
Submitted by: Nicola Ken Barozzi <barozzi@nicolaken.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271448 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf8ec43ca4
improve javadoc
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271447 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
99cb5283fe
superflous line that wasn't meant to go into CVS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271446 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5ed62726c6
exclude JUnitClassloaderTest if the test classes can be loaded from
the system classloader.
I'm afraid I didn't beat the nightly GUMP run, expect a nag mail 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271445 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
01b79d1810
Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
17127ef4d9
* Added test cases for DefaultEmbeddor.
* Target start and finish events are now fired for a project's implicit target.
* Unit tests now run against a dummy myrmidon install.
* Tidy-up some error messages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cd5968cb24
dreaded year 2002 bug 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
40cab2cec9
add Henri's RPM signing key
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271441 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2a642ec043
Small fix for default state of unset property handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271440 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
a5a45c152d
Grrrf - meant to take out Description "task" (since it's not, it's a "type").
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271439 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
b648964434
So of course, I forget the big one (doh!).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271438 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
77f3cb57b8
Make things a bit easier for people to find -- hopefully, anyway :)
(And the usual sorts of while-I'm-here-type clean-up).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271437 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1d7f07dd1a
make it clear why it is excluded, it's better to read
it in this file than in the cvs log. :o)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271436 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2129f1e1b1
exclude the JUnitClassLoader test for jdk < JDK1.2 since it uses the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271435 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
36be3c93e4
Testcase for PR 5006. Make sure to set the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271434 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d3d1af8130
Make sure to set the context classloader to the AntClassLoader.
PR: 5006
Submitted by: mancarella@opoipi.bancaintesa.it (Stefano Mancarella)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
446a455769
Remove useless modifiers on interfaces.
Submitted by: Mariusz Nowostawski (mariusz@marni.otago.ac.nz )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271432 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2737393e9f
Fix problems in Linux version of <cab>:
(1) it wouldn't use the basedir
(2) all diagnostic messages have been swallowed
Submitted by: Ilya A. Kriveshko <ilya@kaon.com>
Note that this patch needs the magic of Execute but also access to the
processes' standard input - this has been solved by adding a new
static method launch to Execute which hands out the Process instance,
the proper fix would be to handle input for the spawned processes as
well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271431 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d3cd72efd0
<regularexpression> --> <regexp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271430 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
851bf0c5ed
Better handling of tasks that are wrapped in TaskAdapters - unwrap
InvocationTargetExceptions when they happen
PR: 5830
To test it I've enabled all tests for <condition>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
368861fc98
improve example of manifest task.
Submitted by: hboutemy@business-village.fr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271428 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
db498d958d
Remove Unused import
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271427 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
02c90142f3
Add Package Version Specification in manifest files for ant.jat and
optional.jar
PR: 6180
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271426 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c2f05281ce
Ignore redefinition of datatypes if new and old class are the same.
PR: 6514
Submitted by: Peter Kristensen <pkr@netnord.dk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271425 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
84c5e8b783
Remove excessive deprecation warnings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271424 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
70b9a92855
fix inconsistency in log levels.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago