Stefan Bodewig
fb92b3da3b
Don't add extra linefeed in <replaceregexp>
PR: 12407
Submitted by: Stefan Moebius <stmoebius at yahoo.com>
Note that the byline="true" case is still broken (and a commented-out
test confirms this) - I'll look into it later this week.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273330 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e1ef86cb25
Support name() accessors as well.
Submitted by: Andrew Everitt <Andrew.Everitt at gbr.xerox.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273328 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
8d3464f4e6
IDEA reformat, and changed destdir to be File type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273325 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
686cb8ffd1
Provide a resonable name value for test implementations that are not
TestCase subclasses - user their getName method if present.
This should give better reports for tests that use jFunc or similar
frameworks.
PR: 11531
Submitted by: <ender at one.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273322 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
38495bec11
Release references to the child project when <ant*> has been done.
PR: 12499
Submitted by: <gregm at bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273321 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
263a1d74de
I'm always scared of changing the core classes, so would be more reluctant to commit this if it wasnt needed so much by Axis. Once committed. I'm going to do more soak testing.
Purpose of fix: use weak references on Java1.2+ for the createdTasks list.
We may want to think of cleaning this list up for extra leak prevention.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273320 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
56a71a0076
a reference that is hard on 1.1, weak on 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273319 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
0695ed1416
This is a fractional refactor of the class to split task creation from adding it to the list of tasks we know about. As the factored out method is private, external routines still cannot create tasks that arent added to the list...this change does not alter the external API of Project, just makes it possible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273317 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
aa139d2ab9
rolling back feature support till it works on 1.1 and looks more like xstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273313 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c4e987aea8
Merge fix from 1.5 branch.
PR: 5781 and 11630
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273312 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ea5d48a63b
Supply location when complaining about empty target names.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273311 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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