Stefan Bodewig
2807b6e3f6
New <isreference> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273309 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
2479f91a7a
Feature support from Nick Pellow, nick.pellow@mindmatics.de.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273307 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
078be842a4
Make sure the prompt is visible even in -quiet mode.
PR: 10729
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273296 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f0c70acd8f
Make cvstagdiff inherit from AbstractCvsTask
PR: 12119
Submitted by: Rob van Oostrum <rvanoo@xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273295 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
80377e9c76
getParentFile may return null.
Reported by: Bayyapu, Pavan <pavan.bayyapu@sap.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273286 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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
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
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
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
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
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
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
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
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
Peter Donald
12e8a63e2f
Remove redundent assignments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273156 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
ef45079a18
Remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273150 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
d1dfe60650
Remove javadoc for throws that no exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273149 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
89cec29e1d
fix should go into 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273145 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
aa07dd4611
Make task replacements recreate their child elements when they get redefined.
PR: 10904
This should also fix the Axis build failure Sam has reported.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273144 13f79535-47bb-0310-9956-ffa450edef68
23 years ago