Peter Donald
4df16b96b0
Update the example of the changelog task to use start/end date filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272062 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ea33b6b469
Integrate a changelog task that generates an XML changelog (useful for doing reports on codebase)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272005 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
321497ad25
showed a few uses of ant to make sure it works,
Really should unit-test this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271986 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
774e130436
Use "java -version" for exec test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271356 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5de5749977
Add some more minor tests for filteredcopy ...
really got to copy across the ant1.x task testing infrastructure ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271260 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0595affdf0
Simple demo for copy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271239 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cd09b730bf
Add some basic examples of how to use try-catch task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271237 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b73026d50f
Simple test for the if task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271186 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
27b4ff64f0
Move the delete, touch and mkdir tasks into antlib. CLean and refactor each task to make sure is closer to code-normalized. Also make sure all the messages are capable of being i18n'ed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271115 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a133994e0a
type -> role for attribute name
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271110 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
73b65edb32
Change <typedef> -> <type-def>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271091 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9d8b499b75
Update to latest task names as generated via xdoclet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271087 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89636a5338
Remove test tasks that are no longer relevent given new unit test infrastructure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270979 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
87050a6483
Made build file test adder by default
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270971 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0f017e73c1
Update script with change in value-> name in pattern attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270841 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0c276b68a7
Use correct extension for example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270788 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f0aec0feb7
Move g/b zip stuff into new library
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270787 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9005ee85f3
Made the version attribute a required attribute of build file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270767 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
99a9f19403
Add a sample to script to test the functionlaity of the -ref attribute expansion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270760 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a848f41345
Add some examples to help with the testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270691 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
8090e7a1d4
Add a target to help debug the new level enum of log task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270431 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ac928606f5
Add some tests for fail and update the taskdef test for new package hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270262 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c1f679cc78
Rename Echo task to Log as that is what it is actually doing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270237 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
339e3993e5
Added code to allow type libraries to depend upon "Optional Packages" aka "Extensions".
Also add code to seltest type library so that it verifies that classes loaded from extension are available in the same ClassLoader as the tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cc0bf7e707
Separated myrmidon out into several jars.
myrmidon-container.jar (all the container classes)
myrmidon-api.jar (the API used to write tasks and other types)
myrmidon-framework.jar (the framework that makes writing tasks easier)
myrmidon-launcher.jar (executable jar used to setup classloaders and run myrmidon)
The ClassLoader hierarchy is now
System CL <--- api/framework CL <--- container
<--- type library 1
<--- type library 2
<--- type library 3
<--- type library 1
<--- type library 1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269874 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3f918df70a
Update manifest and build file to reflect addition of new task file-manip-test.
Also change in pattern from name->value for include/exclude etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1c204914d0
Updated so that each project has a separate Deployer (that writes to separate TypeManager).
Updated so that TypeLib (ie import of type libs in build file) will actually be obeyed and import types in as appropriate. Currently type libs are only loaded from <base-dir>/ext/*.atl however this will be exapnded in the future.
Updated examples to reflect the new working TypeLib system and so as cross-project deployer can be verified.
Updated build process so that the self testing code is placed in dist/ext and thus has to be explicitly loaded via an import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269251 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b91a25c851
Updated to allow PIs to specify template and parameters to template.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269247 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e4c765d38a
Rearranged location for final tasks still left in ant namespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269240 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bf7c0c19e5
Updated sample to show using ant1 style tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269186 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6c5fc99a2f
Modify to demonstrate X-Project DAG.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269172 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3b8aee8b39
Change extention of ant libraries to "atl" for Ant Type Library. (more representative of content than .tsk).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269148 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a3d6441dd0
Split test targets into many. Include an "all" target and moved primitive tests to another build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269140 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3808ad11fb
Update sample build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269129 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
190db7ce1a
Updated to use latest ant/avalon jars.
Settings are now passed to aspect as appropriate. Empty ones passed to aspects that do no have any defined on task.
Attributes/elements that have namespace marked but have no equivelent aspect cause a TaskException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269114 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
794a883964
Updated to work with JAXP1.1 and crimson (as it is smaller).
Also implemented infrastructure for aspect handling. Aspects are now called out to and can do all the things we have discussed. The only thing not implemented is actually passing parameters and elements to aspect handler for each task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269111 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
68145035f0
Update sample
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269086 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5e33dfd5be
Changed sample file extentnion to .ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268705 13f79535-47bb-0310-9956-ffa450edef68
25 years ago