Stefan Bodewig
a41c55cd1a
Make sure <available>'s isTask member gets reset if eval throws an
exception as well.
Some documentation and indentation patches.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272336 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
727faae625
Bug 7552 auditing of <exec> - dir may have been altered in execute.
Fix backwards incompatible API change I've introduced last week
(setTimeout's argument has been changed from Integer to Long).
Fix the code in <apply> that should ensure that dest has been
specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272335 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1d7d78ea0d
Bug 7552 auditing of <antstructure> - reset cache of visited elements
at the end of execute.
Add typedef to the child elements of project.
Fix some docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272334 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f37911b4e5
fix possible (but unlikely) NPE in <antcall>, add some docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272333 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
55adbd06c9
Bug 7552 auditing of <ant> - antFile, dir and target need to be reset
at the end of execute to get back to the state before execute has been
called.
Add some documentation while I was at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272332 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e390c09b6e
Really move the generated java files in rmic.
PR: 5781
Fixed some minor stuff in DefaultRmicAdapter while I was at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272331 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
d328f5e4ea
updated to release 1.0 of .NET.
stuck through jedit jstyle and idea variable renaming ops too
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272328 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
85ec35335d
Clean up imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272326 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
138a2b4793
Patch from Matt to use reflection to grab the java1.2 property save routine if available.
As an aside, this code could be factored out and put into a utility method to save property objects safely on java1.2 and 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272325 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0c253dc762
Coding standard conformance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272320 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6454a8ffac
In <zip> and <jara> only reset internal state at the end of execute,
not the attributes and child elements obtained via configuration.
Add a new method that allows the task instances to be reset to their
unconfigured state.
PR: 7552
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272319 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
69dc5eee02
convert fatal TransformerExceptions into BuildExceptions for TraxLiaison.
PR: 7405
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272318 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6270426641
improve Ant's error message if encoding decl of build file is invalid.
PR: 7825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272317 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5e7aa5c0e5
Javadoc and style updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272316 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
dd0e8824b4
capture System.out and System.err and pass it to the formatters in
<junit> with fork=yes as well.
PR: 5377
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272315 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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