Magesh Umasankar
b522a2e89c
Merge from 1.5 Branch
PR: 11675
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273284 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
f914213e17
refactored to be 1.1 compatible and allow filenames that contain spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273281 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
aed89f6345
Add quotes when %JAVA_HOME% contains spaces
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273262 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
4e3c6c6dc3
More patches (+ test cases!) from Eric Pugh on the <image> task.
sorry for the multiple commits - getting lock errors otherwise
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273261 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9dd88b23e5
More patches (+ test cases!) from Eric Pugh on the <image> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273260 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
1f2eea24ca
changes submitted by Eric Pugh improving the <image> task. dest is now destdir - this breaks backwards compatibility, but its still in alpha so no worries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273250 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
435a5672f3
More batch hacking. JAVACMD was reset each time and was jumping right off without
appending tools.jar
Reported by Brian DeWeese <brd1_reuters@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273246 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
ea4bf0e8e7
Costins need reminded me to turn on the java version specific system library stuff; though I would still like a good test for this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273245 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
ad8dd9aa64
Add an extra attempt to load tools.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273244 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
3964229159
Allow the task type to be set from a differnet package. That elminate
the need to have RuntimeConfigurable2 in the same package.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273243 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
8716cc5480
If no logger is set, default to system.out instead of ignoring the
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
23 years ago
Costin Manolache
cef3b4c342
Added org.w3c.dom too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273241 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
aa5ace7d37
Few fixes ( I hope it won't brake anything ).
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
23 years ago
Bruce Atherton
01d744455a
Correct javadoc strings on methods that list deselected files and
directories to indicate that they do in fact list files that have
NOT been selected.
Submitted by: JimWright@quick.cz (Jim Wright)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273238 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
797446cd41
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273231 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
462f94f6c2
Clean up batch scripts with simplified syntax to avoid problems with some
w2k boxes and 4nt.
PR:11478, 11250
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273230 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
fd43fc2ad3
Add missing rmicoptions setter
PR: 9830
Submitted by: hengels@mercatis.de (Holger Engels)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273228 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
3e02062700
Make junit report more informative when looking for xalan
PR: 11067
Reported by: stevel@apache.org (Steve Loughran)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273227 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
6a12e3ec4f
Siwtch to strict dtd.
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
23 years ago
Stephane Bailliez
b996094b4f
Ooops. Bad IDEA configuration ruined the imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273225 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
4e0fc1b369
The date format seems to be in 24h format (did not have time to browse all
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
23 years ago
Stephane Bailliez
5090cd936d
Fix the xsl to produce a valid html
(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
23 years ago
Erik Hatcher
4f04b8d831
Why this has not been done before is beyond me, but its something I can't live without! :)
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
23 years ago
Stephane Bailliez
7c1da627d1
Revive int constructor for 1.4 compatibility
PR: 11207
Reported by: martin.brehovsky@sun.com (Martin Brehovsky)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273218 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
75cdf10211
here is the bugfix. concatSystemClasspath returns a new classpath, so if jasperc was in ant's lib it got lost along with everything else.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273215 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
94182a1dfa
this patch does not fix the failing of jspc test, it fixes two other bugs in bugzilla -NPE on inclusion of non jsp file, and webapp attr broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273214 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
ae4f3c881d
cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273213 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
04aa863d25
two new tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273212 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2ccf9c4224
Only set jikes.class.path if JIKESPATH is defined.
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273210 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
130a54050b
Make <arg line="''"/> closer to what a shell would do.
PR: 5906
Don't use <arg line="..." />!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273209 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
03bcc3e5cb
Fix a problem with HOME containing spaces on Cygwin.
PR: 10654
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273206 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0d370d68a7
Make <available> less noisy.
Merged from the 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273204 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
8d673eadc0
Submited the patch from Patrick.
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
23 years ago
Erik Hatcher
f052bb39d6
Applied patch from Romin Irani, thanks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273199 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Bruce Atherton
71c6478591
Added a check on Property names using the "if" and "unless" attributes
23 years ago
Conor MacNeill
270295d734
Include underlying exception message in exception. Makes it simpler to debug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273195 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
7a3141d683
Keep the kids happy - they need a project too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273193 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
5896b285fc
Add a getter for linkname.
Submitted by: njoneill@llnl.gov
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273190 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5e67dc2a68
merge bug fix from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273189 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
31fb6432cd
port ANTLR fix from 1.5 branch.
PR: 11222
Some copyright year fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273181 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
c647455d27
Kevin Grey's <image> task. A few modifications were made, most notably changes on setter types and removal of some unused variables flagged by IDEA.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273179 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f93b4f4fc8
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273168 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
de93400d04
Encapsulate some fields of DataType.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273167 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
74f104a7d1
Remove redudent assignments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273166 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
af97c64cb1
Make <project>'s default attribute required to stop the sky from falling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273163 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
8955734dc6
'java' attribute has never been used here. Get rid of it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273162 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
15c3ec9b26
Destroy the process in case the thread is interrupted
otherwise it may run forever.
PR: 10345
Submitted by: Hal.Hildebrand@hellblazer.com (Hal Hildebrand)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273160 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jon Skeet
c97bf5babb
Fixed up JavaDocs (where possible) to remove warnings (mostly about breakiterator).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273159 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago