Stefan Bodewig
01b79d1810
Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
022ed20a99
Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
271c73b91c
Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by: Alex Rosen <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
27a9448849
sorry.... fat fingers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271249 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
b720f6461e
Documenting a feature that had been previously added (oops!).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271248 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ee84f4cf17
<mail> related changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271161 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
601b5e20b3
Oops -- never updated this file with info about ANT_ARGS.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271158 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8fa296bb51
New attributes to tarfileset to allow equivalent of tar -P option
PR: 5874
Submitted by: Stefan Heimann (mail@stefanheimann.net )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
26bfd9b1ec
The pattern definition **/._* has been added to the default excludes list.
PR: 5886
Requested by: gerti-apache@bitart.com (Gerd Knops)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271097 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
b57651f539
Add -propertyfile command-line option.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271043 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
dc060b5ab0
AnsiColorLogger is an extension of DefaultLogger. It provides colorized
messages based on the message level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271022 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4687c7dd41
add environment variable support to <junit> if VM is forked.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271001 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1df308115f
add environment variable support in <java> for forked VMs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271000 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3fe197c6e7
Modified the hack to initialize a class such that the side effect of having to create a valid object is not there anymore.
PR: 4107
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270780 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3b41e256ee
<fixcrlf> failed on Mac files.
Reported by: Matt McHenry <mmchenry@carnegielearning.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
9cc5b6eed4
note the new mapper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270611 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
eedb2957ed
and a change in the docs, expunging all record of the file attribute ever existing in an orwellian style revision of history.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270607 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9a7f0056b4
Removed references to ValidatedFileAttribute and PreferredAttribute.
Reverted IntrospectionHelper to previous version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270488 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
86003c2f15
Selection of PreferredAttributes over 'normal' attributes may break some
tasks that may have overridden setFoo(NormalAttribute).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270389 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
674ef2ee73
Add a BuildLogger that can send emails.
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270138 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3745d5dc70
Add a new inheritRefs attribute to <ant> with a default value of false
that controls implicit copying of references - i.e. we don't copy
anything by default.
Try to copy a clone before copying the real object.
inheritRefs="true" doesn't make any sense for <antcall> as all
references of the calling project will be defined in the new project
and wouldn't be overwritten. That's why <antcall> didn't even get
this attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270136 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ceb720e799
Make Manifest.java a full flegded task that allows you to write a
manifest file.
PR: 5190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270131 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b546691d3a
Add if/unless attributes to <fail>.
PR: 1380
This is the first step to remove the fail functionality from input and
waitfor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
05b5cb8f3d
Allow <ant> and <antcall> to pass references to the subbuilds.
Submitted by: Matthieu Bentot <mbentot@arantech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270105 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bd3509fb89
Don't punish people who want to modify the values of existing
properties in tasks of their own.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270084 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e241dd137f
Changes to <move> noted.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270082 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b06aed6911
Update to remove warnings generated by antcall due to last immutability tightening. Did this by adding a protected constructor to property.
Made sure that operations internal to Project could not generate these warnings by adding a new setPropertyInternal method that didn't do any checks.
Also made the getUserProperties and getProperties methods return copies of maps rather than direct references.
Updated WHATSNEW to warn about these issues.
Added some unit tests to verify that property immutability is enforced - where we actually do enforce it ;)
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270078 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8a7fce7e2e
If a task contains setFoo(String) and setFoo(Bar), setFoo(Bar) gets selected by the introspection mechanism.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270070 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
325e13a93d
added changes to exec, and a bit on the immutability fixes in the 'this may break things' section
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270059 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f6db0835f7
New task <input>
Submitted by: Ulrich Schmidt <ulrich.schmidt@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5021163e5c
New task <waitfor> that waits until a given condition gets true or a
timeout occurs.
Submitted by: Denis Hennessy <denis@network365.com>
As a side effect, <condition> gains two new conditions. This also
means we now have a way to check whether we are on a networked system
and run/omit testcases that require network to be established based on
such a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270050 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
23e4af92c5
Note mentioning new optional attributes - name, arch and version - to <os>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270002 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
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
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
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
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
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
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
139c54505c
will I ever learn to save all buffers before I commit?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269932 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
24 years ago
Peter Donald
8ceff1b470
Add a note about new BZip2 tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269920 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf64423184
don't assume a JUnit Test extends TestCase
PR: 4870
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269918 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
286537d1f8
Make <fixcrlf> work for long lines as well.
PR: 4186, 4646, 4709
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269907 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7e8bb3f17d
a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ba558a362e
Make <typedef> something that is useful.
PR: 4143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269893 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
24 years ago
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
24 years ago
Stefan Bodewig
c6d10f6ffc
formatters assumed that only one test could be running at the same
time, this is not true.
PR: 2442
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269834 13f79535-47bb-0310-9956-ffa450edef68
24 years ago