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
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
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
Erik Hatcher
15ebfccec9
adding category to Perforce tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273975 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f245585ec3
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273971 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a1a910e2df
New perforce functionality
PR: 15707
Submitted by: Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273968 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Bruce Atherton
63ec7ba4ca
Added an option to the ContainsSelector to ignore whitespace.
Submitted by Elizabeth Cooper (with some modifications)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273967 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
773a2273ed
Close original archive after checking for old manifest in <jar> -
otherwise the file may still be locked on Windows and friends when we
try to rename it.
Submitted by: Antoine Levy-Lambert <levylambert at tiscali dash dsl dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273965 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ed82cb69e8
Added a revision attribute, a synonym for label
PR: 13847
Submitted By: Steven Newton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273964 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
122f9d8751
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273958 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
b74a667c1d
JDK 1.1 does not like 0 for initial size of hashtables
PR: 15445
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273957 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
98a9c95a45
Add support for filesets to ccmcheckout
PR: 14857
Submitted By: Benoit Moussaud
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273948 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
d794c8efab
Minor edit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273947 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
2e26643d83
Avoid perforce task lockup when only output on stderr
PR: 16544
Submitted by: Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273945 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
8513609d9c
Rename the reuseloadedstylesheet to reloadstylesheet with inverted sense
Make the TraxLiason cache the templates instance
Reset the transformer if a new stylsheet is set
PR: 13589
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273944 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
243adc40d5
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273940 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6e99aad0bf
Add encoding attribute to <replaceregexp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273939 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6ceeb5d3da
Much better solution to unterminated output - better backward compat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273938 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
f3a629c227
jasper4.1 name mangling support via new name mangler, a new compiler in the factory (jasper41), and various new tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273936 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
8e5f6ab828
little code cleanup and remove trace line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273935 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
fa0d41a830
oh look, a new name mangler for jasper41 and up
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273934 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
3266a2abee
making helper methods public for foreach to use
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273933 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
d14064da9c
definition of whichresource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273932 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
7ad9af7a82
something I wrote to track down too many copies of log4j.properties on my classpath. Docs I leave to xdoc, tests will be written (remind me!). I am still a bit unsure that <whichresource class="foo" > works in jars, though I've seen it work on the file system.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273931 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
987c943d07
Flush output of Java task when finished.
Propagate indication of whether line is terminated or not
through to project and tasks
PR: 16555
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273930 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a43382c633
Add in new perforce task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273929 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f7c9d087d9
Perforce task to show differences between local source repository and
p4 repository and report on files that still not under revision control.
PR: 13928
Submitted by: Miha
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273928 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
82d37706ea
Make Create-By attribute in manifest compliant with spec by listing
the java implementation version and vendor. Add an Ant-Version field to
show the Ant version
PR: 12219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273926 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
00d14d398f
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273925 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
3f1bc55590
iAllow several views per label
PR: 12585
Submitted By: Steve Hunter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273920 13f79535-47bb-0310-9956-ffa450edef68
23 years ago