Stephane Bailliez
3b2f961a60
tstamp now supports a timezone attribute for a custom format.
PR: 5000
Reported by: max@eos.dk (Max Rydahl Andersen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270005 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
aac9052b05
Rewrote the xsl that allows to visualize ant build logs.
Should be a little bit more sexy than the original that
was there for a long time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270004 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
718426d318
Fixed a comment...in case it is useful to someone
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270003 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
82cc947b98
Added name, arch, version as attributes to Os.
This would let one to, say, run different things on sparc or x86 solaris...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270001 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3c83a07344
Typo fix
PR: 5029
Submitted by: Jesse Glick "jesse.glick@netbeans.com"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270000 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
cd1fb76798
Remotedir need not be specified for ftp to work.
PR: 4821, 5053
Submitted by:
Erik Hatcher "jakarta@ehatchersolutions.com"
Remco Slotboom "remco.slotboom@ctp.com"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269999 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0551fff524
flush logfile while logging - otherwise tail -f get's boring.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269998 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c4ee8d1bc8
Fixed typo. excludesfiles is an attribute not an element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269994 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
419936a246
XSL that allows automatic update from deprecated tasks to non-deprecated tasks.
At the moment it handles the following tasks:
apply, javadoc2, deltree, copydir, copyfile, rename.
Alternatively it handles the deprecation of the attributes jarfile and zipfile of jar
and zip tasks that will be deprecated starting from Ant 1.5
As suggested by Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269993 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9d58506eaa
Add a little logging to checksum.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269990 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5aae1b3e8d
Erik's big javadoc fixup, bugzilla ID #4992
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269989 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
8f54029ad7
Erik's big javadoc fixup, bugzilla ID #4992
In this set making sure Stefan gets the support emails :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269988 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b7f51d116b
Classic compiler, so long as it is not Version 1.0 or 1.1.x, also recognizes
debuglevel.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269986 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
95fa304e14
1. As suggested by Peter, nixed the attributes outfile & verbose
previously added to Untar, Unjar, Unwar and Unzip, so that these tasks stay
focussed on unarchival and nothing but it.
2. If the Src attribute represents a directory, an exception is thrown, as Stefan
suggested. Nested Filesets to be used instead.
3. Testcase added to catch this exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269985 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e22d7c5093
remove tabs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269984 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
67fd3299e3
handle target files as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269983 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
45660d1b2d
Add a "relative" attribute to <apply> - this allows users to pass
relative paths on the command line instead of absolute.
Submitted by: Matthew O'Haire <mohaire@trysoft.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269982 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ee7a81d646
Add testcase for untar, improve testcases for zip/unzip/tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269978 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
29c2017667
remove abuse of the Touch task (that I would have missed if t had not
been for Magesh's patch).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269977 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
470a4695e9
Reverted to 1.9
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269976 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fb90584e35
Lines in manifest that have nothing but spaces are treated as empty lines just like JDK's Jar utility does.
PR: 4840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269974 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
80d371a3b4
1. Refactored Untar to extend from Expand, as untar is very similar to unjar, unwar and unzip.
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
072028843a
New debuglevel attribute for Javac - will be used only when the modern
complier is used.
PR: 4127
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269971 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
60f1c746a3
fix checksum's handling of nested filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269969 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b7cfa6d516
1. Ensure javac does not report deprecation warnings.
2. Close fileoutputstream for every iteration.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269966 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1942efc118
add real tests fro the gzip and bzip2 tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269964 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
495b7c4688
Add testcase for <checksum>, clarify its documentation when used as a
condition and create checksums in Ant's distribution target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269963 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a6ed69b0f7
An initial cut at getting the RPMs for Ant to build as part of the
distribution build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269962 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
150b0c8bba
Make <replace> more robust by:
(1) making sure that files will be closed
(2) deleting temporary files
even if something goes wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269961 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4db248f63f
add method that compares file contents to FileUtils, use it in FixCrLf.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269960 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d5e9b4accd
Added support for specifying CVS_RSH in ant CVS task.
Submitted by: john.giacomoni@colorado.edu
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269957 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8b4c0066b0
Make sure, the test fails for the reason it is supposed to fail.
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269956 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
060110dab4
fix reversal of logic I introduced with my last patch
Submitted by: Ilya A. Kriveshko <ilya@kaon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269955 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2a0da3b953
LineNumberTable has been sent to the recycle bin...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269954 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c315c3823
Make sure that the full stacktrace is logged to
the build file, otherwise you will end up guessing
the failure reason. It is pretty disappointing for
build that last a long time.
The full stacktrace is appended as a 'stacktrace'
element with a CDATA section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269953 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
90dcced6ab
ANTLR task will now work with the jar being in ${ant.home}/lib rather than in the classpath.
Bug 4899 reported by David Holscher <David.Holscher@nav-international.com>
I copied the code snippet that Stefan did for JUnit. Thanks Stefan.
I added the possibility to specify a classpath and jvm args to ANTLR and fixed the code so that the working dir is not mandatory as specified in the docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269952 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4402ecacdc
Fixed a couple of messages to make them more meaningful
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269950 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
41344d212c
testing for XMLReport...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269949 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
373c7a1c37
Sample JProbe Coverage report obtained from running a Ant compile with a java.* filter.
I commented the doctype so that the dtd does not bother us when parsing
the document.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269948 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
277a8471ba
better incomplete than nothing...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269947 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
19fc830a16
Uh ! Found stupid bugs while doing some code review:
1) classes were indexed by their name instead of their fullname...
It means that a class X in package Y could shadow class X in package Z. Great !
2) I was looking for duplicate not by the key but the value.
Obviouslly it could never work, fortunately due to
heavy memory usage, I did not used this method in XMLReport.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269946 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
cadfecbbe8
Removing tabs and cleaning up imports ( the layout feature of IntelliJ is great! )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269945 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f19ecd4d89
Removed useless import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269944 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
aa51279001
Removing import that is no more needed... wiped out. :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269943 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
62f7d9f2ca
bad naming....remove this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269942 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9a1b892736
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269941 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
812fa3e8ca
little testcase to ensure that I did not break too many things will refactoring aggressively the code behind the hood.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269940 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
18854fe65a
trying to remove useless files...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269939 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1db29d1744
This is now an interface...
all the code that was there is now useless.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269938 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c1b263f473
Applied patch from Garrick Olson <garrick.olson@aceva.com>
I refactored the bytecode reading to avoid keeping unnecessary data and wasting memory.
I will do a second pass to remove all useless classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269937 13f79535-47bb-0310-9956-ffa450edef68
24 years ago