message.
This happens when ant is embeded ( if no logger is set ).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273242 13f79535-47bb-0310-9956-ffa450edef68
Added 'org.sax' and 'sun.reflect' to the list of system pacakges. There are
problems when using JDK1.4 with 'endorsed' not set up corectly. This allows
using a different parser, but doesn't allow the overriting of system classes.
Made loadClass synchronized. Yes, it must be - there is a race condition,
we check if the class was not loaded and then load it, but 2 threads
may end up loading the class, and the second will get an exception.
This happen when using tomcat in ant for example - probably other
multithreaded tasks as well.
I left the stack trace in, it shouldn't happen in normal cases ( AFAIK ),
but when something strange happens it helps a lot to know what was wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273239 13f79535-47bb-0310-9956-ffa450edef68
The escaping has been removed because this case is not adressed by the
xslt specs. Xalan 2.4D1 unescape & in the attribute while Saxon 7.1 does.
See PR 1604 for more information.
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273226 13f79535-47bb-0310-9956-ffa450edef68
docs but this is what I get on my machine so far) though it is clear that unlike
all cvs commands the timezone is in UTC so I added an additional setup
to configure the format with the utc timezone.
The hour format has been changed from hh to HH to accomodate 24h.
PR: 11582
Reported by: m.mehrmann@fernuni-hagen.de (Mathias Mehrmann)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273224 13f79535-47bb-0310-9956-ffa450edef68
(I changed the font size since it was not that readable for me, switched to a
loose dtd otherwise we have to work more on the html and I encoded
the entity '&' so that it is correct in the html attribute.)
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273223 13f79535-47bb-0310-9956-ffa450edef68
I typically have properties that refer to a JAR file, but its very difficult to construct a fileset to copy it or include it in a WAR/EAR - so this change fixes this. <fileset file="${some.jar}"/>
If this change is ok with everyone I'll take care of documenting it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273222 13f79535-47bb-0310-9956-ffa450edef68
XMLDOC is a typedes that can be used in the embed proposal.
It loads an xml file as a DOM, thus making it available to jxpath.
Note:
This is different from the XML task that loads each element
as a property. Eventually we should merge the 2 - after 'embed'
is proposed for the main branch and if it is accepted.
Note2: It would be interesting to explore the other side of
jxpath, i.e. setting. And then saving the xml file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273217 13f79535-47bb-0310-9956-ffa450edef68
1. Removes the extraneous "cd `dirname $PRG`" line that causes the
script to break when Ant is invoked with from a relative path
(i.e. ../jakarta-ant/bin/ant).
2. Properly quote all environment variables that may contain paths.
The script would break if any of these environment variables
contained paths with spaces in them (a common occurrence on Windows).
3. Invoke Java using the "exec" shell command. There really is no need
to create a child process to run the JVM and by using the "exec"
command, there is less chance that killing the script will fail to
kill Ant.
PR:
Obtained from:
Submitted by: Patrick Luby <patrick.luby@sun.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273200 13f79535-47bb-0310-9956-ffa450edef68
-emacs as well as build.compiler.emacs to Ant.
PR: 11056, 11057
Submitted by: Ville Skytt� <ville.skytta@iki.fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273184 13f79535-47bb-0310-9956-ffa450edef68
beans are turned into tasks - it allows to specify the method name.
It'll also be extended to support mbeans or other types of tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273177 13f79535-47bb-0310-9956-ffa450edef68