Conor MacNeill
07a3027bb2
Add a check in depend so that if a class file is out of date and the
source file cannot be determined, the class is not deleted and a warning
is given.
PR: 7312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272314 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c17d143ac3
swallow characters that are illegal in XML documents.
PR: 6351
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272312 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
959b74fcb6
Checkstyle setup for checking Ant code base.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272311 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
37fe632d83
Initial refactoring of <depend> task to make it a bit clearer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272309 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a1714edc18
Tolerance should not apply to source file checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272308 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f8cfa36161
Minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272307 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
8cab56ee0e
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272305 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a3d6a54f95
Test depend cache
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272304 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
3c96ebf5a3
<depend> task does not handle case where an inner and outer class are written at
different times since they have a mutual dependency. I have introduced a 100
millisecond tolerance to catch this situation
PR: 7529
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272303 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
6638f2ac2b
Move assertion statement inside try block and make the testcase pass on Windows environments with dubious java.home
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272301 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
8edaa455e6
Close PrintStreams if logfile is being used. Leaving the streams open causes test case failures on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272300 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e2aa7c41ea
Add -source switch to <javadoc>
PR: 5645
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272299 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d1549366e5
Make <java> handle exceptions gracefully if failonerror="true" in
non-forked mode as well.
PR: 6353
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272297 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
8f4aa8719c
Refactor to use a single DTDLocation instance
Still need to integrate XMLCatalog with these tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272296 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1f992c596b
rework inheritance tree for DirSet and FileSet, they are not
interchangeable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272294 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
2c3767a537
Add capability to classfileset to specify the root classes
using a fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272292 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0614659ed5
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272290 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
9f71c862fe
New depend checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272286 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
3c46d4557a
Create temp file in user.dir (PR 4590).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272285 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
23337b5063
adding inheritRefs to <antcall>, for better consistency with ant. The default is of course false.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272283 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
909ef56547
Setup to suport more test sets for depend task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272282 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
9b18f927fe
Make Sun coding standards (and Conor) happy :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272281 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
70b7bb1065
overide -> override; writer -> file; fix line-breaks/spacing so
the output's a bit neater.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272280 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
d29c41d16c
Add cygpath handling of JIKESPATH (PR 6943).
Also remove superfluous if on ANT_OPTS setting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272279 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
f563831080
Fix DIRLIBS to allow for space (iow, more quoting crud -- gack!)
(PR 5178)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272276 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
45fd3ec75d
Refector the new method into a separate set and get methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272270 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
0e481b8463
Seems I forgot to commit this...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272250 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
3963920268
Add in stylesheet forhangelog report.
Submitted by: Frederic Lavigne <fred@castify.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272248 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
435e643e23
Pass of all stream processing into another thread so that hopefully it wont block... maybe ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272247 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
145903b92b
Allow ejbjar dependency including behaviour to be controlled
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272246 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4c560e713a
make sure output of the spawned thread is attributed to the current
<java> task when using the timeout feature.
If you don't like the name of the method, change it 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272245 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6a44607ea6
Preserve ordering of taglets and tags by using one list
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272243 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5ec38ccd3f
Toplink element is no longer required. The standard weblogic element
can handle toplink based beans and has done so for a while
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272241 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
32452cc99f
stray debug statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272239 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
614713629b
Make not so strong, we don't really know whether we've managed to end
the spawned thread. Make the thread a daemon thread.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272238 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d463563bef
timeout support for <java>
PR: 5299
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272237 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
69b83f3213
Re-enable DependTest - no longer uses touch
Update many checks to handle optional tasks which require JDK 1.2+
Problems remain for builds with ORO present
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272236 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0d7515e6c3
refactor ExecuteWatchdog - extract a more generic timer. Preparation
to allow timeout attribute in <java fork="false">
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272235 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6258074cd0
Add append attributes to <exec>, <java> and <sql>
PR: 3234, part of 5299
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272234 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c0c176e892
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272233 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
8bd72d6533
Add taglets support to javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272232 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ae694da658
Tedious workaround for JDK 1.1 compilation issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272229 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ac7d747c92
iJDK 1.1 has trouble with inner class variable access - use method instead
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272228 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9fca9a56a5
JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272225 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
7196c156c9
Disable second half of this test for now. I'm not sure why you can't pass
a <dirset> to a <fileset> by reference.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272223 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ac65e76ac6
Test case for <classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272221 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c588308c64
Minor improvement to error message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272220 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
caa574d58e
Remove check which prevents fileset subclasses being passed by reference
where a fileset is expected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272219 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
bb34e52397
Fix up operation of classfileset to behave more like a normal fileset in
terms of what it returns. Also, do not ignore the <include> elements, etc
but allow it to control the basic set of classes which are examined.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272218 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c0a3bacdf9
Test cases for <depend> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272217 13f79535-47bb-0310-9956-ffa450edef68
23 years ago