Conor MacNeill
4856ac66d8
Catch more than IOExceptions in stream pumper to take care of strange
close conditions where another thread can close the stream after the
ensureOpen check has been done.
PR: 13372
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274091 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
e9397e61f8
Try to make error message clearer
PR: 17033
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274089 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
160cf9673e
Make P4OutputHandler less greedy
PR: 16080
Submitted by: Matt Bishop
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274087 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
b1bc79be92
recognize local interfaces in <ejbjar>
PR: 15862
Submitted by: Colin Sampaleanu
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274086 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0eba6abe79
Add suffix support for ejbjar jboss element
PR: 14959
Submitted by: Jesse Stockall
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274084 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
abc9ae5a1b
Pickup missing merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274083 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f38a0348ee
Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274082 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0657acfd31
Also write manifets into JAR as UTF-8
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274076 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a4be70fbf0
Read/Write manifests in UTF-8
PR: 17075
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274074 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
18094d3d58
Minor edit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274073 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f04c145a44
Make message clear when updating and whenempty=skip
PR: 4448
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274067 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
039da0c823
Resolve DTD locations relative to project basedir
Also more into when dependency analyzer cannot be found.
PR: 13271
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274065 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6834a527ab
Only the TraX liaison is really supported.
PR: 16913
Submitted by: Ville Skytt� <ville dot skytta at iki dot fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274061 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
91a07a1f68
Remove the (at least for now) superfluous ResourceScanner interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274060 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
73b731154a
JDK 1.1 File parent determination is a bit lacking when the
path is a combined Windows/Unix path
PR: 16923
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274057 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
11f76e5f8d
Allow TaskContainers to have nested elements which take precedence
over tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274056 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2253cbd87d
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274055 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6409f0ec87
iStarteam - when checking out to a revision label, directories are
never created unless needed.
PR: 14295
Submitted By: Steve Cohen
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274054 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
225893c4b9
Add a thread count to the parallel task to stop it using too many threads
PR: 16906
Submitted by: Danno Ferrin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274053 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
88251d50a4
Don't use "cd /d" on OS/2.
PR: 16924
Submitted by: Zdenek Wagner <wagner at cesnet dot cz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274052 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
87728e14bd
CVS module move - Gump is going to nag us once 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274049 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ea2a9bba4b
New repository
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274048 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
55a7cf2fa5
Use ThreadGroups to link tasks to any threads they create
Make sure parallel creates a separate thread group for each
thread it spawns
PR: 7980
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274035 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
753f33937f
SOS tasks refactor.
PR: 16911
Submitted by: Jesse Stockall
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274033 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f25d3801bb
Make variables private with protected accessors
PR: 16910
Submitted by: Jesse Stockall
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274030 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1420622794
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274027 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
b50fd138f8
VSS Task refactor
PR: 16910
Submitted by: Jesse Stockall
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274025 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
dd5a678d41
Javadocing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274022 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
4a9153f9f2
Input handling framework
Non-forked Java tasks can now have their input redirected.
Note that it would be possible to add a noninteractive flag to
Ant preventing any input from System.in in any java classes
druing a build. Would prevent locking up waiting for input
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274021 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
984ad3c021
Refactor output handling from Exec into a new class Redirector and
use this in Java task to get access to features such as
separate error stream, redirected input, etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274020 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0022fa2365
Fix up new input stuff since input thread won't always exist
PR: 16891
Submitted by: paul at priorartisans
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274019 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
608424c650
PR: 11100
revisited. The original patch wouldn't pass Unzip's new
testPatternSetIncludeAndExclude test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274017 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
55641903fb
First cut at input redirection for <exec>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274016 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ab271c2c60
Testlet is dead
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274014 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f3ddbffe3c
Very quick fix for bug 16611
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274011 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7d868d2e29
Try to clean up after a failed copy.
PR: 16768
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274008 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
55640a285a
Adapt some @since tags after merge to 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274007 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
1ac2ab476a
Apply latest patch from Antoine
PR: 15707
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274005 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
e562c76491
Further development for 7330. Allow errors to be sent to the
Ant log when redirecting output.
PR: 7330
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274004 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
9606283711
Allow <exec>'s error and output streams to be redirected independently
This is primarily to address bug 7330 but it includes a few other changes.
You can now use both output and outputproperty. While it was not documented,
previously, these used to be mutually exclusive. A simple TeeOutptuStream
is used to write the value to both a property and a file, if required.
The LogStreamHandler is no longer used by Exec. The main thing it did over
the PumpStreamHandler was to close the output streams when the stream
handler's stop method was called. This needed to be done in the
PumpStreamHandler in any case or the output file would be left open.
The PumpStreamHandler can now close its streams on stop() although the
default is still to leave them open
There are new attributes "error" and "errorProperty" which if present
separate output and error streams. If not present the current
behaviour is unchanged.
PR: 7330
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274003 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a8126f6809
set URI resolver on transformer factory as well.
PR: 16809
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274002 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c71436048a
Remove sleep from the stream pumper. I can't see the reason for this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274001 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5c24249581
Make sure the splash screen disappears when the build is finished.
PR: 16818
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273996 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8cf73939c0
There are CVS snapshots
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273994 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1cea69ac67
Remove the ugly hack, but still ensure that jars always at least contain a manifest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273993 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
34dc5127ac
fix the 'is the manifest up-to-date?' checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273991 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
afa2b7af9e
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273988 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
07b710cc96
Refactor <zip> and friends.
PR: 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273986 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
b5a8292e57
adding category to Perforce tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273976 13f79535-47bb-0310-9956-ffa450edef68
23 years ago