Steve Loughran
dd8be3b5fd
set properties in nested strings. not tested.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271894 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f9c551b16e
Promote Filter Reader proposal to main trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271759 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ab1950bd8
Zip task
duplicate (attribute): behavior when a duplicate file is found. Valid values are add, preserve, and fail. The default value is add.
zipgroupfileset (nested fileset): allows for multiple zip files to be merged into the archive. Each file found in this fileset is added to the archive the same way that "zipfileset src" files are added.
Jar task
duplicate/zipgroupfileset: same as in Zip task
filesetmanifest (attribute): behavior when a Manifest is found in a zipfileset or zipgroupfileset file is found. Valid values are skip, merge, and mergewithoutmain. mergewill merge all of manifests together, and merge this into any other specified manifests mergewithoutmain merges everything but the Main section of the manifests. Default value is skip
manifest (existing attribute): this attribute now also accepts the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/Manifest.mf
Submitted by: Brian Deitte <bdeitte@macromedia.com>
PR: 5667, 5036
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271698 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5c5b959ca7
1. Fix bug where <move> ignored <filterset>s.
2. Add filterset based test to CopyTest.
3. Add MoveTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271675 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
dc7f97a932
Added reference to the <tag> option in JavaDoc.
(Is this the correct position? Someone hit me with a cluestick if I should
have added it at the top of the section or in a different section.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271602 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
dd2124bdb1
Add new 'listfiles' attribute to allow for listing the source files being
handed off to the compiler.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271591 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0005305ea6
time checking on gzip, with tests.
submitted by Jeff Martin <jeff@custommonkey.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c28fbe7d76
<style> tried to tranform all children of directories that matched the
include patterns - even children that are themselves directories.
Throw in a check that the thing we want to transform is not a
directory and an attribute to avoid this non-standard (among directory
based tasks) behavior.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271564 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf72dc9e50
Add an attribute to avoid <junit>'s classpath magic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271554 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
0012fd2723
Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.
Sorry for the multiple commits - got a lock error when trying all files at once
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271520 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1a5a8f7e64
info on loadfile and echoproperties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271513 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
d382599b16
Added blurbs about <propertyfile>. The "never" removal may change before release, depending on feedback from this change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271504 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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