Stefan Bodewig
7d24473197
Forgot to add a testcase for replace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268483 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9f05cd3fd9
And token attribute of <replacefilter> must not be empty either.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268482 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
06f6d787d2
Add some sanity checks. If we allow an empty token, we end up in an
endless loop - as demonstrated by unittest test4.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268481 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b3cb9a9d4f
Changed the handling of build.sysclasspath so that Ant should behave
the same way as Ant 1.2 did - if build.sysclasspath has not been set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268480 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
62d641e012
Brainstormed list of requested features for Ant2. This is far from
being a functional-requirements document, just a start.
Most of it taken from an email by Peter Donald
<http://marc.theaimsgroup.com/?l=ant-dev&m=97721709607672&w=2 > and my
response to it
<http://marc.theaimsgroup.com/?l=ant-dev&m=97722025813209&w=2 >. Added
some additional stuff to the end of the controversial section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268479 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
adbdf5d6c8
rolling back Josh's changes until he provides a better patch. :-)
-jon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268478 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jon Scott Stevens
9d48fbb8c3
added ability to define the begin/end tokens for the filtering.
line wrapped ProjectHelper.java to 80 cols.
thanks to Josh Lucas <josh@stonecottage.com>
-jon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268477 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
18931f719f
Added more panels to build wizard, and created state machine framework.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268476 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Diane Holt
f9ddec7b87
Fix a few things that jumped out at me when Stefan put the Javac
change through. (And verify I can really commit!)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268475 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
a31bb63e4b
Fixed bug where change event was not getting fired.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268474 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
dba8c836d0
Added property editor for generic Object with no special property editor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268473 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
c87973d59c
Changed semantics of initializing with a null value. Now a default value is created.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268472 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
44ae47f5c6
Added editor for properties of type 'File'.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268471 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
2e364fd669
Testing rig. Not totally generallized, but helpful.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268470 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
ff8c3b2b36
Initial commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268469 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
faf459ad43
Successfully managed to expose myself to public embarassssment by mispellln'
"wizzzerd" all over the place. :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268468 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b2f6452301
Fixed Typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268467 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
05d67d513e
Make sure we are invoking the correct javac, remove old optional.jar
as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268466 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
28d98d0882
moved original specification to docs/ant2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268465 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
97ba08300d
moved original specification to here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268464 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
f8a715c362
Added first version of FSD
Submitted By: Siberski, Wolf
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268463 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6500a507bb
Handle directories with # in them by passing the parser
an inputstream, rather than a name.
Submitted by: Yossie Teitz <yossie@reachcast.co.il>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268462 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
6a4bbe2d7b
Made documents easier to peruse by adding frames
Submitted By: dIon Gillard <dion@multitask.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268461 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
1ca1ee1ab9
Documented replacefilter.
Submitted By: Thayer <thayer@rocketnetwork.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268460 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
65e71c5f84
Addition of ZipFileset facilities. Descibed by the author
---
With these patches, Zip (and derivative tasks such as Jar and War) can
merge the entries of multiple zip files into a single output zip file.
The contents of an input zip file may be selectively extracted based on
include/exclude patterns.
An included zip file is specified using a <fileset> with a "src" attribute,
as in:
<target name="jartest">
<jar jarfile="utils.jar">
<fileset
src="weblogic.jar"
includes="weblogic/utils/"
excludes="weblogic/utils/jars/,**/reflect/"
/>
</jar>
</target>
In this example, a subset of the "weblogic/utils" directory is extracted
from weblogic.jar, into utils.jar.
The fileset may also contain "prefix" and "fullpath" attributes (the
functionality of PrefixedFileSet has been retained in the new class
ZipFileSet). Prefixes apply to directory-based and zip-based filesets.
The fullpath attributes applies only to a single file in a directory-based
fileset.
The War task may extract entries from a zip file for all of its filesets
(including the files in "classes" and "lib").
The motivation for this change is:
1) There is significant overlap between "jlink" and "zip", and it seemed
better to combine them.
2) "jlink" does not support include/exclude patterns which are extremely
useful for writing packaging-type tasks such as Zip/Jar/War. This
was my main motivation.
3) By adding this functionality to the base task, it can also be used in
derivative tasks such as Jar and War.
---
Submitted By: Don Ferguson <don@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268459 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
54b84962a5
Addition of ZipFileset facilities. Descibed by the author
---
With these patches, Zip (and derivative tasks such as Jar and War) can
merge the entries of multiple zip files into a single output zip file.
The contents of an input zip file may be selectively extracted based on
include/exclude patterns.
An included zip file is specified using a <fileset> with a "src" attribute,
as in:
<target name="jartest">
<jar jarfile="utils.jar">
<fileset
src="weblogic.jar"
includes="weblogic/utils/"
excludes="weblogic/utils/jars/,**/reflect/"
/>
</jar>
</target>
In this example, a subset of the "weblogic/utils" directory is extracted
from weblogic.jar, into utils.jar.
The fileset may also contain "prefix" and "fullpath" attributes (the
functionality of PrefixedFileSet has been retained in the new class
ZipFileSet). Prefixes apply to directory-based and zip-based filesets.
The fullpath attributes applies only to a single file in a directory-based
fileset.
The War task may extract entries from a zip file for all of its filesets
(including the files in "classes" and "lib").
The motivation for this change is:
1) There is significant overlap between "jlink" and "zip", and it seemed
better to combine them.
2) "jlink" does not support include/exclude patterns which are extremely
useful for writing packaging-type tasks such as Zip/Jar/War. This
was my main motivation.
3) By adding this functionality to the base task, it can also be used in
derivative tasks such as Jar and War.
---
Submitted By: Don Ferguson <don@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268458 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
f0ffaff10c
Added documentation for threcent addition of ZipFileset facilities.
Submitted By: Don Ferguson <don@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268457 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
afe0093bd5
Make warning about unset properties only appear at VERBOSE level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268456 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
9b5fd7baa0
Change ejbjar so "up to date" is only printed in verbose mode.
Submitted by: Jason Rosenberg <jason@squaretrade.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268455 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
e99e5c5fc5
Wizzard tweaks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268454 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
bb67dc44d8
Initial framework for a build-file wizzard.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268453 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
b641968fad
Enhanced replace task - docs pending.
Submitted By: Thayer Robins <thayer@rocketnetwork.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268452 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
822028744f
Updated docs
Submitted By: "Stephane Bailliez" <bailliez@noos.fr>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268451 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
701a0156d2
Updated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268450 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
b2abffd01e
Added rough ability to add new tasks (javac only) and properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268449 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
237bbc8959
Added ability to add new targets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268448 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
df3ce6106d
Updates on the perforce tasks + documentation.
Submitted by: Les Hughes <leslie.hughes@rubus.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268447 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
98dab91716
VAJ IDE integration classes.
These should be moved to a contribution project
when one is created.
Submitted by: Wolf Siberski
Christoph Wilhelms
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268446 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
6ffa5bb1c6
Add missing gif files for VAJAntTool.html
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268445 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4ca5683c2a
<javac> rewritten to use a factory.
Submitted by: Jay Glanville <jayglanville@home.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268444 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
c1a5419faf
Made CMP warning only at verbose level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268443 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
c71214044f
Started rewrite of tree model to remove ACS dependency on TreeNode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268442 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
eb2f418887
Fix up line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268441 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
972b09b40e
Fixed bug where properties editor wasn't geting cleared when the project was
closed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268440 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
11b6cebd07
Added support for updating display based on property change events in the data
model.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268439 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
8f7d91aacd
Added initial support for creating a new, empty project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268438 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
51073339a0
Fixed bug where location wasn't getting set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268437 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
7f4d633591
Cleaned up standard ctor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268436 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
268ddaabdb
Cleanup and debug support.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268435 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
94ed3da958
Fixed documentation of Loggers and made default value of log level explicit.
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268434 13f79535-47bb-0310-9956-ffa450edef68
25 years ago