Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
2ce327371f
Exclude ProjectTest from being executed (hopefully :), because of testDuplicateTarget.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276164 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
085edaf823
allow ./build.sh test to work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276133 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
ef9e8aca03
Let 'testcase'-property choose the right target for running tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276106 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
22 years ago
Peter Reilly
5c2fb3d31e
Date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275914 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7aa2a82665
correct fix for 25698
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275912 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6b6b21223c
stop corruption of .zip files in docs
PR: 25698
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275910 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
566ea426c3
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8dd4e0ba76
Change ${x} to @{x} for attribute notation of macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275731 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
05afdcffb3
exclude jdepend test until dos problem with the test is sorted
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275726 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
86a183cc1f
Allow typedef resource to pick up all the resources
of the name in the classloader, not just the first
PR: 24024
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275567 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b3d2f33791
Fix and test for unresolved references due inability
to create the reference object to give to scripts.
PR: 23915
Reported by: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275537 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
838afc68d8
Include checkstyle stylesheets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275534 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
58e7162913
Reintroduce ant-jdepend.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275422 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
828e2dc47d
Give a little <macrodef> demo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275405 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3e4dcc0c43
merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275404 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d0f2e06b64
Good bye optional.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275357 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
127199510d
AssertionsTest needs a javac that supports assert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275306 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b8bf84b852
Merge fix for 23320 from 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275281 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c77ef9c163
StyleTest seems to require a TraX implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275175 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
77c4393863
Copy parser jars into the bootstrap and dist areas. Makes it
easier to run Ant from the result of dist-lite
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275054 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
0a21bb2257
new test for ftp, disabled by default.
requires ftp.properties with your password in it in ant's root directory
also requires a local ftp server
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275015 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
02e1648724
Refactor script related tasks into single ScriptRunner utility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274866 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b6a46d131
get the tasks imported using <import> to be placed
in-line and not at the end of the current tasks
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274836 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
86bd63cdcd
Remove explicit mention of Parser jars in the manifest classpath
Set the context loader to allow parser to be found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274813 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
2b3ae7a244
Remove warning about JAVA_HOME as it isn't required anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274801 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
453b98bd11
TranslateTest is now fixed, removing the exclude.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274737 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5fc7e5fb6c
exclude TranslateTest, does not work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274734 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b36b67d9e2
New Launch facility. Separate jar now can be used to launch Ant which
takes over some of the functionality traditionally found in the Ant launch
scripts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274724 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b198322c41
Allow tasks to be defined on the fly using scripts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274654 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e1fc0ae7ec
Remove dependency to JavaMail for MailLogger by using the Mailer class
and Class.forName() instead of the MimeMailer class directly
Also remove another bug in the MailLogger which would have forbidden to send plain mail
PR: 5969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274629 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cf50c9f624
MailLogger has compile time dependency on JavaMail - at least for now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274628 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f24b9340dd
Remove directories explicitly matched with includes.
PR: 11732
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274593 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6349d03555
Disable currently failing move tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274590 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0d7f1ce40f
You can now limit the parallelism of <apply> and <chmod> by using the
new maxparallel attribute.
Submitted by: Frank A. Hunleth <fhunleth at cs dot wustl dot edu>
used in build.xml to fix PR: 17640
With the new addsourcefile attribute, you can make <apply> ommit the
source file names from the command line.
PR: 13654
<apply> and <chmod> now support nested <filelist>s as well.
PR: 15929
<apply> and <chmod> will display a summary if you set the new verbose
attribute to true.
PR: 19883
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274587 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8b5e371c7b
Add <rexec> to accompany <telnet> and/or <sshexec>.
PR: 19541
Submitted by: Fran�ois Rey <francois dot rey at capco dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274566 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7cd7c4e5f8
Big VAJ changes, in particular if they have ever worked for anybody,
they probably won't do so any longer.
Make the servlets work by using IBM's servlet classes
PR: 10016
URL-encoding in <vaj*port> didn't work properly.
The VAJ tasks now support a haltonfailure attribute to conditionally
keep building even if they fail.
It is now possible to use the latest (versioned or unversioned)
edition in <vajload> by using special wildcard characters.
PR: 2236.
Submitted by: Martin Landers <landers at in dot tum dot de>
Francois Rey <francois dot rey at capco dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274553 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1ef4674dd9
Disabled the test by accident
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274526 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
adb971260c
Enable mixed-case task names inside task-containers while trying to
keep backwards compatibility for all other cases (all "normal" nested
element names get converted to lower case).
PR: 19323
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274525 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
dd7dcb7477
1 more @tag to ignore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274517 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
d958f9c2a3
Add 2 new @tags that should be ignored by <javadoc>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274516 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
078e8aaeaa
Improve OS/2 support:
* Apparently the vmlauncher in OS/2's JDK 1.3 doesn't work properly,
disable it.
* Add REXX scripts to run Ant.
* Add OS/2 specific notes to the docs.
Submitted by: Zdenek Wagner <wagner at cesnet dot cz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274507 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
9eb6d592ed
Enable previously disabled head-tail tests.
Make StripJavaComments recognize and retain Mac line endings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274506 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9e1f5e1853
Add testcase for containsregexp selector.
Submitted by: Jay <jvandermeer2 at comcast dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274503 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
e596d350ae
filter readers modify lineendings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274499 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
80bf50a177
Add destfile attribute to <gzip> and <bzip2>.
PR: 11102
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274478 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
1fd75097c9
HeadTailTest reportedly fails on Mac OS-X and Linux. A correct solution is probably to address PR 18476. Acknowledging this issue while working on a fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274465 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
9f6552fadb
New tokenfilter for filterchain
PR: 18312
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274449 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9e6324ee63
Simplify build file, now that JDK 1.2 is a given
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274429 13f79535-47bb-0310-9956-ffa450edef68
22 years ago