71 Commits

Author SHA1 Message Date
Peter Reilly
e3706a1f7b add o.a.t.a.property to bootstrap compilation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568513 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 08:43:46 +00:00
Jan Materne
4260131ac7 Should make Gump happy:
# Start Time: Tue, 19 Sep 2006 00:26:54 (PDT)
    # End Time: Tue, 19 Sep 2006 00:27:10 (PDT)

    BUILD FAILED
    /x1/gump/public/workspace/ant/build.xml:1072: The following error occurred while executing this line:
    /x1/gump/public/workspace/ant/build.xml:500: resourcecount doesn't support the nested "intersect" element.

<intersect> is a Resource and Resources were not part of the thin-layer of Ant's bootstrap.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447800 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 10:29:36 +00:00
Stefan Bodewig
a1a3ac5d3d copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439448 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 20:04:18 +00:00
Antoine Levy-Lambert
3cb816afad Copyright owner The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276068 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 21:37:26 +00:00
Antoine Levy-Lambert
05a31e3b42 Added the NOTICE to the metainf dir of ant.jar, ant-launcher.jar and ant-nodeps.jar
and also to the distribution files
Updated the copyright notice in bootstrap.sh


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276025 13f79535-47bb-0310-9956-ffa450edef68
2004-02-05 20:44:02 +00:00
Stefan Bodewig
5c39697bd9 Fix bootstrap scripts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274872 13f79535-47bb-0310-9956-ffa450edef68
2003-07-21 08:56:13 +00:00
Conor MacNeill
12ad2ad389 Set JAVA_HOME for MacOSX users in bootstrap.sh and build.sh
PR:	17100
Submitted by:	Jesse Stockall


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274072 13f79535-47bb-0310-9956-ffa450edef68
2003-02-16 01:12:14 +00:00
Magesh Umasankar
ca91f8cb7e Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 12:26:43 +00:00
Stephane Bailliez
ed9509b024 Moving from Crimson 1.1.3 to Xerces 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272467 13f79535-47bb-0310-9956-ffa450edef68
2002-04-16 12:15:34 +00:00
Stefan Bodewig
c0c176e892 2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272233 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 07:16:42 +00:00
Conor MacNeill
8ccf522d81 JDK 1.1 memory must be set. Use ANT_OPTS and introduce new variable
for bootstrap's Javac usage


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272231 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 03:24:52 +00:00
Stephane Bailliez
96576e5e7d - Make the script fail if compilation or bootstrap fail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270957 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 19:25:29 +00:00
Stefan Bodewig
f51abba170 Add some more copyright notices.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270659 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 14:18:42 +00:00
Stefan Bodewig
2b673beb3f Don't keep old testcases around when doing a bootstrap build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270116 13f79535-47bb-0310-9956-ffa450edef68
2001-12-11 14:02:51 +00:00
Stefan Bodewig
52bb31a081 Make Cygwin detection work with newer versions of it.
Submitted by:	Bill Burton <billb@progress.com>

This is more or less untested (I can verify it doesn't break building
on Linux or FreeBSD 8-) as I don't run Windows or even Cygwin.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270104 13f79535-47bb-0310-9956-ffa450edef68
2001-12-10 09:37:07 +00:00
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
2001-11-22 16:16:47 +00:00
Peter Donald
f1718f0db6 Fix up packaging of bzip utilities.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269926 13f79535-47bb-0310-9956-ffa450edef68
2001-11-16 09:49:19 +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
e812438e4e Add documentation for the replaceregexp task
Submitted by:	Matthew Inger <matti@sedonacorp.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269900 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 11:26:48 +00:00
Sam Ruby
9c1d332ce5 Bootstraps are not cleaning up after themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269812 13f79535-47bb-0310-9956-ffa450edef68
2001-10-23 06:10:50 +00:00
Conor MacNeill
656070c3d5 Cygwin support in bootstrap.sh
PR:	3014
Submitted by:	tpv@spamcop.net (Tim Vernum)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269526 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 02:59:57 +00:00
Stefan Bodewig
3c2825538a Explicitly compile the stuff that javac will pick up because of
dependencies anyway.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269481 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 05:45:16 +00:00
Stefan Bodewig
ef2c9e1a3c Make bootstrap process for JDK < 1.3 on Unix work again (bootstrap
uses the <chmod> task to make antRun executable which in turn needs an
executable antRun script ...)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269315 13f79535-47bb-0310-9956-ffa450edef68
2001-07-11 09:37:07 +00:00
Stefan Bodewig
b8f7af8729 Made scripts a little more consistent, they should now work with IBM's
JDK on AIX out of the box.

Ant will now prepend CLASSPATH to the jars in ANT_HOME/lib like it
always did for Windows - if this is not the correct order, change it
here and in the batch file. We need to be consistent.

Make sure :: doesn't slip into the CLASSPATH when adding the library
jars.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269015 13f79535-47bb-0310-9956-ffa450edef68
2001-05-08 11:21:27 +00:00
Stefan Bodewig
c3714c50a1 More JDK 1.1 issues. Culprits have been <pvcs>, <record> and the new
zip package.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268962 13f79535-47bb-0310-9956-ffa450edef68
2001-04-24 08:42:01 +00:00
Stefan Bodewig
aea2b0caa4 Make sure bootstrap.sh runs in a clean environment by removing build/classes.
bootstrap.bat already had this.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268849 13f79535-47bb-0310-9956-ffa450edef68
2001-03-16 09:22:36 +00:00
Stefan Bodewig
731144880d Don't hardcode junit.jar - it is not included in the source distribution.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268773 13f79535-47bb-0310-9956-ffa450edef68
2001-03-08 11:11:36 +00:00
Conor MacNeill
239b313fa1 Update to Jaxp 1.1
Also - handle spaces in classpaths


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268755 13f79535-47bb-0310-9956-ffa450edef68
2001-03-04 13:35:51 +00:00
Peter Donald
7f76769aba Added -emacs flag.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268737 13f79535-47bb-0310-9956-ffa450edef68
2001-02-27 02:16:06 +00:00
Conor MacNeill
5337488612 Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 12:32:01 +00:00
Conor MacNeill
a1edb69c09 Unix was alread correct.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268579 13f79535-47bb-0310-9956-ffa450edef68
2001-02-04 12:00:54 +00:00
Conor MacNeill
eac9c2d1b2 Copy - which is to save compiling files which have already been compiled
now goes to the right place.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268578 13f79535-47bb-0310-9956-ffa450edef68
2001-02-04 11:46:23 +00:00
Conor MacNeill
d44e0bc4ad Build process tweaks. Source distribution now builds out of box on
Solaris.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268560 13f79535-47bb-0310-9956-ffa450edef68
2001-02-02 04:58:54 +00:00
Stefan Bodewig
4887e48396 there ain't no bin dir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268549 13f79535-47bb-0310-9956-ffa450edef68
2001-01-31 15:59:22 +00:00
Conor MacNeill
05f470f1d0 Changes for Unix build process
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268544 13f79535-47bb-0310-9956-ffa450edef68
2001-01-31 06:15:03 +00:00
Conor MacNeill
90380952be Revert build process to old style for 1.3 release
Rewrote build.xml using most of the ideas from the new build process


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268542 13f79535-47bb-0310-9956-ffa450edef68
2001-01-30 15:08:30 +00:00
Peter Donald
d0117ae16c Work in almost all of Conors suggestions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268507 13f79535-47bb-0310-9956-ffa450edef68
2001-01-23 08:44:46 +00:00
Pier Fumagalli
14af9cb049 The C shell doesn't work with the script. Updated to BASH (linux folks
on other OSes sh!=bash).
Changed a forward slash with a back slash wich prevents bootstrapping on
unix machines.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268506 13f79535-47bb-0310-9956-ffa450edef68
2001-01-23 08:05:34 +00:00
Peter Donald
27491607d8 Checked in alpha version of new build system.
May not fully build on *nix platforms yet.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268504 13f79535-47bb-0310-9956-ffa450edef68
2001-01-23 05:10:39 +00:00
Stefan Bodewig
b2f6452301 Fixed Typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268467 13f79535-47bb-0310-9956-ffa450edef68
2001-01-16 16:34:56 +00:00
Stefan Bodewig
05d67d513e Make sure we are invoking the correct javac, remove old optional.jar
as well.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268466 13f79535-47bb-0310-9956-ffa450edef68
2001-01-16 16:30:03 +00:00
Jon Scott Stevens
a94814d513 remove unnecessary -f check cause -x does the job well enough
line wrap things to make it pretty.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268350 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 18:58:38 +00:00
Stefan Bodewig
2939f47aef Make sure JAVA_HOME/bin/java is executable as well. Only use a single
${JAVAC} command to compile all needed classes in one pass.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268347 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 09:34:10 +00:00
Jon Scott Stevens
83adaf1a2e since we depend on JAVA_HOME/bin/java to exist later in the script,
then we should check to make sure we can actually see the file
correctly.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268346 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 05:20:08 +00:00
Jon Scott Stevens
4eeccf29b5 added support for cygwin
re-organized things
fixed a couple bugs
correctly set environment variables
correctly execute the building of the ant distribution

all in all, i can now build Ant under cygwin on win98.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268302 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 07:14:14 +00:00
Stefan Bodewig
4c5c8d89be Moved the instantiation of the RE matcher to a factory. Users can now
choose an implementation of there own by setting a system property.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268264 13f79535-47bb-0310-9956-ffa450edef68
2000-11-29 11:50:08 +00:00
Stefan Bodewig
e4f0795f1f New Mapper type for regular expression replacements. Currently only
jakarta-regexp is supported, at least an ORO implementation will follow.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268257 13f79535-47bb-0310-9956-ffa450edef68
2000-11-28 15:10:38 +00:00
Stefan Bodewig
1375d72ba3 First part of the scanDir refactoring. This is just a starter to show
what I want to accomplish.

All tasks using a scanDir method to find the source files that are
newer than there targets should get a similar treatment as <copy>.

The major benefit is not to have the functionality in one place but
the added flexibility you get, when you allow the user to specify a
custom FileNameMapper to a task (not there yet).

Nothing (especially not the names) is carved into stone of course.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268190 13f79535-47bb-0310-9956-ffa450edef68
2000-11-15 17:45:41 +00:00
Stefan Bodewig
28100edfae Copy types/defaults.properties during bootstrap.
Submitted by:	Cheng-Wei Cheng <CCheng@gluecode.com>

Changed the JIKESON env variable from my last patch to ANT_OPTS to be
consistent with src/bin/ant. Made the same changes to bootstrap.bat.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268098 13f79535-47bb-0310-9956-ffa450edef68
2000-10-17 11:09:12 +00:00
Stefan Bodewig
7548efa18e Changed bootstrap.sh so that you can specify the compiler to use via
the JAVAC environment variable. This enables a bootstrap process using
jikes.

Submitted by:	GOMEZ Henri <hgomez@slib.fr>

Added a warning about the changed behavior of <delete dir> to WHATSNEW.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268097 13f79535-47bb-0310-9956-ffa450edef68
2000-10-17 11:00:38 +00:00