Erik Hatcher
cb2a0a80b1
Applied Bill's DVSL work and template patch. Also added "docs" target to main build.xml to <ant> to the HTML generation build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271637 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cd75662033
Added IDEA config for Avalon style.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271636 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
129bfa374a
Wrap block with finally to make sure System.exit is called and with correct exitCode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271635 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c54524cf25
Remove scoping for the time being as it wasn't really being used
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271634 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
357537149c
Decouple exceptions from CascadingException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271633 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0faa41f92b
Update to latest Avalon for ExceptionUtil changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271632 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed4d23fb8a
Make it easier to generate the documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271628 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
22f32dcc7d
restyle via IDEA
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271627 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e67dc0b9f9
Allow v7 format tar files
(Patch copied from main source tree)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271626 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
769fac8323
Remove unused descriptors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271624 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f32bf0bc50
* Reorganised build to use new <antlib-descriptor> task.
* The "builtin" and "selftest" descriptors are now generated.
* Fixed ant-descriptor.template to handle @ant:type tag properly.
Submitted by Darrell DeBoer [darrell@apache.org ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
62088bc6f1
Added task to generate antlib descriptors from Java source.
Submitted by Darrell DeBoer [darrell@apache.org ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271622 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7288026e05
New filter reader that gets those lines that match a regular expression pattern.
Requested by: Adam Murdoch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b5de47561b
Merge changes with the 1.14 revision from the main tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271620 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c9f7dca90e
Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271618 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
43e62b81ff
1. ExpandProperties filter introduced as envisioned by Steve.
2. String readFully(Reader) added to FileUtils.java (main trunk revision 1.13)
3. Doc changes
4. Removed the attribute evaluateproperties from <loadfile> as it is no longer necessary.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271617 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
dfd61de939
Use StringBuffer to assemble String.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271614 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4a5b5fd1ea
Split processStream into two methods to facilitate streamed reads...
Reader getAssembledReader()
String readFully(Reader)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271613 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
faf931435a
Skip must use this.read() and not in.read() - Thanks, Adam, for catching this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271612 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
22e36e493c
Misplaced null check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271611 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4e222b97c6
As suggested by Adam, use java.util.Properties.load(InputStream) instead of reinventing the wheel.
Introduced a new class - StringInputStream
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271610 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
87f806d3e4
Refactored code (as suggested by Costin and Adam) - first run.
1. Moved ChainReaderHelper.java to filters/util
2. Moved setInitialized, getInitialized to base class.
3. Introduced BaseParamFilterReader that implements Parameterizable and has setParameter
4. Null check introduced for LoadFile
5. Convenience method readLine() introduced into BaseFilterReader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
1e18358da6
* Started writing up the VFS and the data types.
* Moved selectors into their own package.
* Added <is-empty> selector.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271599 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
606ec5fe58
this gets rid of some XDoclet warnings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271598 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
a8acf1646b
removed mandatory requirement for category (at least for now)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271597 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
434fa8175a
Changes by Bill Burton to collect tasks into categories rather than package space. Very cool, thanks!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271596 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
9f7f6c9aba
made it easier to short-circuit and only run one class, no need to prefix package info
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271595 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef4a11096f
1. Move a couple of common methods to an abstract base class.
2. Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271594 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ff6d329e5
Empty line check inserted.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271593 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
cfa964e51d
Oops... missed adding this as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271590 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef53e158d6
Oops... missed adding this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271589 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3347fc0270
FilterReaderSet -> FilterChain as this is more representative of the collection.
Documentation updates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271588 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6f30444010
Add License.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
88f297a15d
Add License.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271586 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e91ef17bb5
CloneableReader -> ChainableReader
Reader clone(Reader) -> Reader chain(Reader)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271585 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6067cc8261
1. Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet) can have a better syntax.
2. Remove double-quotes from javadoc and replace with "
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271584 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
5634baae78
open 'er up! lets just see what shakes out from this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271583 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
2d9c339208
Fixed some issues with defaults.properties generation. Fixed issue with build having to be run twice because of directory being removed from the path (*arg*!).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271581 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7899d6c4a6
Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet can have a better syntax.
For example, HeadFilter can be added to filterset as this:
<filterreaderset>
<filterreader classname="org.apache.tools.ant.HeadFilter">
<param name="lines" value="3"/>
</filterreader>
</filterreaderset>
or this:
<filterreaderset>
<headfilter lines="3"/>
</filterreaderset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271580 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
3c3d9033a4
Added more stuff to the todo list.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271578 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
dbab858d18
Changes to the VFS data types:
* Added FileSelector interface.
* <v-fileset> now takes file selectors, instead of include and exclude patterns.
* Added a bunch of file selector implementations:
* <and>, <or>, <not> for combining selectors.
* <name>, <basename>, <url> for testing bits of the file name against
an Ant 1 style pattern, or a regular expression.
* <is-file>, <is-folder>, <exists> for testing file type.
* Added <flat-fileset>, which combines nested file sets and paths into a
single directory. This allows explicit path -> fileset conversion.
* Added <filtered-path>, which applies selectors to nested file sets and paths.
* Added <list-fileset> debug task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271577 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
67e530be60
Added support for the @ant:type tag, for general-purpose type definitions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271576 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
db1c54b55c
Added the TaskFactory and modified Project.
This is not organized as a 'project' - the files here needs to replace
the ones in the main tree. I'll probably import the rest of the core
and make it a standalone replacement, so it's easy to review.
The goals are to:
- make ant more 'embeddable'
- integrate it better in other tools
- support SAX2 and namespaces
- support pluggable behavior for the XML reader
- support pluggable task factories - the factory will have full control
over the class loader
- better support and integration with existing java beans.
All that while maintaining full compatibility with ant1.4 - all
the code here is just an additional set of hooks, with the previous
behavior preserved and remaining as default.
Eventually this can be refactored into a standalone component
that will implement a task engine for ant1.x.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271572 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
a2e24afd0b
First pass at XDoclet generation of Ant task documentation.
(sorry for the multiple commits, still getting a lock error on big commit attempts)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271570 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7a8bfa7b10
First pass at XDoclet generation of Ant task documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271569 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
abda44570c
Some doco updates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271568 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
939efc95cd
Changes to <property>:
* No longer implements Configurable, uses a set() method instead.
* The property value can be included as the text content of
the <property> element.
* Added test-cases.
* Added some alternative executeTarget() methods to
AbstractProjectTest, to expect a particular set of log messages,
or a particular failure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271567 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
4d3eebbdb6
Error message tidy-ups.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271566 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
d74af2e5e4
All that effort to get the right context, and it wasn't even being used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271565 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
4e2558dd26
Make Ant1 containers work in mutant. Provide mutant versions of parallel and
sequential
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago