Stefan Bodewig
df52f7a2f8
Add meta section: FAQ about the FAQ.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269991 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
6687927529
Close HTML tags.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269987 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
7c913046ab
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269981 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a140cecc40
add faq about defaultexcludes.
Submitted by: Jonathan Chawke <j_chawke@hotmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269980 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
427d2d0491
add pointer to list of default excludes to the fileset documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269979 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
df88acfa80
Some blabber about new features to unjar, untar, unwar and unzip.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269975 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
Steve Loughran
dc00bd536b
Fix Bug 4991; add more examples of other options.
This should mark the last change to echo.html for a while. Except.
We say that message is required unless text is provided, but in fact
<echo/> is perfectly valid, is it not?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269972 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
75970c6bfb
add bzip2 compressed tarballs to distribution target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269970 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
Steve Loughran
b904b3ac0b
Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd' message to handle the other cases :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269968 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
cbd09b7071
typo fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269967 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
Magesh Umasankar
d9d5e24a71
1. GZip still uses zipFile and not tofile.
2. Added reference to the new optional task - translate
3. Checking CVS write access ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269965 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
e444e91c26
donaldp@apache.org --> peter@apache.org
yea - now no one will call me Donald!!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269959 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89822c2740
Remove out of date design doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269958 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
d1f286d911
Try not breaking the build with the Sitraka tests that requires regexp support and trax at some point
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269951 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