* Remove dependency of <loadproperties> on StringInputStream
* Modify StringInputStream to support encoding
* Note that StringInputStream is not being used by any other Ant classes - the sole consumer was LoadProperties which no longer uses it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273132 13f79535-47bb-0310-9956-ffa450edef68
These build files rely on the fact that references to top level data
types get added before the data type's child elements have been
added. In a case like
<path id="foo">
<fileset dir="not-there" />
</path>
The toString method will return "" before the fileset has been added
but throw a BuildException afterwards. A logging statement in
Project#addReference will call toString and thus make the build fail,
while it would work in 1.5 as long as you never use the path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273127 13f79535-47bb-0310-9956-ffa450edef68
all othere targets depend on that one.
As a side effect, <description> is now handled by ProjectHelperImpl,
the data type has become unused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273116 13f79535-47bb-0310-9956-ffa450edef68
(1) making project's default attribute optional.
(2) don't run executeTarget(s) if not asked for one
Adapt documentation and <antstructure>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273111 13f79535-47bb-0310-9956-ffa450edef68
I think it has been Diane who said we could almost put the entire
script into quotes - she's been right.
PR: 9550
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273099 13f79535-47bb-0310-9956-ffa450edef68
(xsltc, xalan, saxon...) and to specify processor specific settings.
TraxLiaison has been completely refactored because the factory
needed to be created once everything was set up.
I don't think it is final state since it might be better to specify factory attributes
and element in a <factory> element rather than how it is now.
XSLTProcess starts to bevery difficult to read with all the inner classes as well...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273089 13f79535-47bb-0310-9956-ffa450edef68
Add sourcefile attribute that can read arbitrary files to the same task.
Submitted by: Ingmar Stein <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272806 13f79535-47bb-0310-9956-ffa450edef68
This is a partial merge of Ant.java from the 1.5 branch (only partial,
sorry Magesh) that is required to avoid a Gump build failure of
avalon-phoenix (which does several nested <ant>'s with varying
inheritall values and ends up with relying on a property that has been
set on the command line but has disappeared).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272796 13f79535-47bb-0310-9956-ffa450edef68
Got it in in the 11(and a half)th hour ;-)
Submitted by: Bruce Atherton <bruce@callenish.com>
Docs and testcases to follow in the next few days.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272630 13f79535-47bb-0310-9956-ffa450edef68
The resolver takes an extension and a set of operations that can be
used to get library coresponding to specified extension. The task
will run through each operation until required extension is found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272622 13f79535-47bb-0310-9956-ffa450edef68