111 Commits

Author SHA1 Message Date
Stefan Bodewig
9ded403f70 checksum task and condition.
I promise to add testcases later 8-)

Submitted by:	Magesh Umasankar <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269929 13f79535-47bb-0310-9956-ffa450edef68
2001-11-16 12:30:58 +00:00
Steve Loughran
088e18fc19 Wow, I never knew that echo had a reporting level. Time it got written up.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269925 13f79535-47bb-0310-9956-ffa450edef68
2001-11-16 06:44:33 +00:00
Stephane Bailliez
2d37437702 Allow port specification for the mail task.
RFE requested by Andrew McConnell <mcconnell@socketware.com>
Heavily based on the patch from Magesh Umasankar <umagesh@rediffmail.com>
Errh, I just realized the full patch was in the first attachment, I though Magesh forgot to update the mail task. Doh ! :-(


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269923 13f79535-47bb-0310-9956-ffa450edef68
2001-11-15 22:11:28 +00:00
Peter Donald
918d6fe305 Remove uneccessary cruft at top of file.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269922 13f79535-47bb-0310-9956-ffa450edef68
2001-11-15 20:00:16 +00:00
Peter Donald
c657b5ef73 Here are two new ant tasks - BZip2 and BUnzip2. �These
two tasks use the BZip2 compression algorithm (Visit:
http://sourceware.cygnus.com/bzip2/�for more info.) for
packing and unpacking.

These tasks resemble GZip and GUnzip tasks in input,
input validation, etc. �Hence, I refactored GZip and
GUnzip tasks as well so that the tasks GZip and BZip2
extend from a common base class named Pack, and
GUnzip and BUnzip2 extend from a common base class named
Unpack. �This lays the foundation for creating more Pack
tasks based on different algorithms like lzop, etc. in
the future.

The BZip2 and BUnzip2 tasks depend upon 4 classes:
BZip2Constants.java
CBZip2InputStream.java
CBZip2OutputStream.java
CRC.java

Keiron Liddle (keiron@aftexsw.com) has graciously
accepted to contribute the above code files he has
authored, under ASF license - many thanks to him. �I
have packaged them under org.apache.tools.bzip2,
mimicking the package naming style that has been used
for zip and tar tools we already have. �I have also
given proper credits to him in the code. �Perhaps, this
needs to exist under jakarta-commons, as Stefan had
suggested, but till then...

Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269919 13f79535-47bb-0310-9956-ffa450edef68
2001-11-15 09:14:10 +00:00
Stefan Bodewig
8e37dd0ba2 Add encoding attribute to <fixcrlf>
PR: 961


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269904 13f79535-47bb-0310-9956-ffa450edef68
2001-11-13 13:46:04 +00:00
Steve Loughran
24d47a5c0f backing out of antjar/antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269901 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 17:02:13 +00:00
Steve Loughran
aea7142b1d correct taskname in example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269899 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 07:54:58 +00:00
Steve Loughran
1e469669cf Jose Alberto Fernandez's ant descriptor loader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269898 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 07:46:27 +00:00
Stefan Bodewig
45463e16cc JARs are never empty.
PR: 4448

This probably is not what the reporting user intended ...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269886 13f79535-47bb-0310-9956-ffa450edef68
2001-11-08 16:16:08 +00:00
Stefan Bodewig
0ba89b453f Add a way to pass compiler specific command line arguments to <javac>.
PR: 4406

heavily based upon a Submission by:	Stephen Anderson <anderson@berbee.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269869 13f79535-47bb-0310-9956-ffa450edef68
2001-11-05 15:19:21 +00:00
Stefan Bodewig
30b11d18c9 Make name of the javac executable configurable in fork mode.
PR: 4119


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269868 13f79535-47bb-0310-9956-ffa450edef68
2001-11-05 13:13:39 +00:00
Stefan Bodewig
0e9239cb27 fix capitalization of NetWare.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269864 13f79535-47bb-0310-9956-ffa450edef68
2001-11-05 08:14:17 +00:00
Stefan Bodewig
0b1e459d5c Add OS/2 as Os family
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269846 13f79535-47bb-0310-9956-ffa450edef68
2001-10-31 11:02:23 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Stefan Bodewig
32da696de4 Add testcases for the inheritall/dir attribute combinations and their
results on the new project's basedir - clarify documentation.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269838 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 08:42:14 +00:00
Stefan Bodewig
65c82879ee Make <style> support Exolab's new Adaptx processor.
Submitted by:	Arnaud Blandin <blandin@intalio.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269832 13f79535-47bb-0310-9956-ffa450edef68
2001-10-29 11:16:49 +00:00
Stefan Bodewig
986b213cec typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269831 13f79535-47bb-0310-9956-ffa450edef68
2001-10-29 09:38:48 +00:00
Stefan Bodewig
7c2ec95158 clarify documentation for <ant> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269830 13f79535-47bb-0310-9956-ffa450edef68
2001-10-29 09:33:27 +00:00
Stefan Bodewig
cbcfff6e27 add documentation for <cvs>'s failonerror attribute.
PR: 4205


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269810 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 08:47:14 +00:00
Stefan Bodewig
3ff51a6adc state that properties are case sensitive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269807 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 06:26:33 +00:00
Stefan Bodewig
482c675f6a add "netware" as possible value for the <os> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269799 13f79535-47bb-0310-9956-ffa450edef68
2001-10-17 09:43:53 +00:00
Peter Donald
323591f86b Updated documentation for Move to reflect the ability to create filesets with single files that move to another file.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269782 13f79535-47bb-0310-9956-ffa450edef68
2001-10-12 22:24:37 +00:00
Peter Donald
8cb8f75cdd If a fileset defines a single file, allow the Copy and Move tasks to work with the toFile attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269779 13f79535-47bb-0310-9956-ffa450edef68
2001-10-12 08:19:40 +00:00
Stefan Bodewig
ede07a7c22 Add new <isset> condition, simplify ConditionBase by using ProjectComponent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269756 13f79535-47bb-0310-9956-ffa450edef68
2001-10-01 14:14:22 +00:00
Conor MacNeill
bec2a0777e Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
2001-09-30 13:21:54 +00:00
Conor MacNeill
304895ce62 Add encoding to <replace> task so that replace can work on double byte
characters


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269721 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 12:10:25 +00:00
Conor MacNeill
2b0ab1d4d0 Add an encoding attribute so SQL statements can be double byte
PR:	3080


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269719 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 12:06:11 +00:00
Peter Donald
e4957c5f19 Oops I used the wrong convention!!!
This patch corrects it so that the old zipfile attribute is now tofile.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269692 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 16:43:26 +00:00
Peter Donald
d0c933c320 Deprecated zipfile in favour of file to follow siuit with the other tasks that d
eal with archives.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269689 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 15:23:41 +00:00
Peter Donald
14d5788636 Deprecated earfile in favour of file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269687 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 15:19:47 +00:00
Peter Donald
16e0c28649 Unify the attribute of the archive to "file" rather than having three separate attributes (zipfile, jarfile and warfile).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269684 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 14:21:43 +00:00
Nico Seessle
c6124454ff - Applied manual patches supplied by Daniel Martin <dtmartin24@home.com>
- Fixed some other places too.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269675 13f79535-47bb-0310-9956-ffa450edef68
2001-09-08 01:05:18 +00:00
Conor MacNeill
a8d4391240 Merge from 1.4 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 13:23:14 +00:00
Conor MacNeill
b8d229b18c Description of sequential task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269530 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 11:03:39 +00:00
Conor MacNeill
12fb88e093 Description of parallel task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269529 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 10:48:12 +00:00
Stefan Bodewig
2fb9b9ca21 Documentation for <condition>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269528 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 05:48:49 +00:00
Stephane Bailliez
8730c548ee Must be in CoreTypes..not CoreTasks.
This is really not a good day....


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269525 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 21:13:56 +00:00
Stephane Bailliez
72be7d7f00 Convenient description task that allows a multiple line description of a buildfile
with a <description> element.
Submitted by Craeg K. Strong <cstrong@arielpartners.com>

Not committed in the first shot..er..forgot to add them.
Thank to Craeg for paying attention.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269524 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 20:18:34 +00:00
Conor MacNeill
c8691cff5b Clarify what happens in an antcall and why some targets are
evaluated twice

Submitted by:	Steve Loughran <steve_l@iseran.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269519 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 12:09:08 +00:00
Stefan Bodewig
aa4eb280ad Ignore fork attribute if build.compiler doesn't point to a JDK javac.
Submitted by:	Brian Deitte <bdeitte@macromedia.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269488 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 11:53:43 +00:00
Stefan Bodewig
deadaf0b01 fix typo
I must save the files before I commit, I must save the files before I
commit, I must save the files before I commit, I must save the files
before I commit, ...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269484 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 05:59:58 +00:00
Stefan Bodewig
4ad42dc531 clarify tarfileset documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269483 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 05:58:12 +00:00
Stefan Bodewig
8bde1a4491 leave it to the imagination of the users what may happen if you
specify both, eol and cr.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269480 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 15:10:41 +00:00
Stefan Bodewig
bdf4456a77 New task dependset
Submitted by:	Craeg K. Strong <cstrong@arielpartners.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 14:32:46 +00:00
Stefan Bodewig
329021e4de update documentation for <fixcrlf>
PR: 1053
Submitted by:	Peter B. West <pbwest@powerup.com.au>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269468 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 09:15:14 +00:00
Stefan Bodewig
00e45341a1 Add support for Symantec's javac.
Submitted by:	Don Ferguson <don@bea.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269467 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 09:04:26 +00:00
Stefan Bodewig
b162d6d5c4 Add fork attribute to <javac>.
PR: 383
Submitted by:	Brian Deitte <bdeitte@macromedia.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269453 13f79535-47bb-0310-9956-ffa450edef68
2001-08-03 14:36:48 +00:00
Stephane Bailliez
1228b336de doc update to reflect the addition of the -jar option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269447 13f79535-47bb-0310-9956-ffa450edef68
2001-08-02 22:07:47 +00:00
Stefan Bodewig
f9a500cd6b Support for kopi and gcc implementations of <javac>.
PR: 2476
Submitted by:	Takashi Okamoto <tora@debian.org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269434 13f79535-47bb-0310-9956-ffa450edef68
2001-08-01 15:54:24 +00:00