Add test for LazyFileOutputStream.
Make sure that output files get created, even if they are empty. This
is for backwards compatibility.
Found and removed an attempt to close the same stream twice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275156 13f79535-47bb-0310-9956-ffa450edef68
can contain tests from two different classes but with the same method
name.
Add a new classname attribute to the <testcase> element in the
XML report so that people know which test the report is talking about.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275144 13f79535-47bb-0310-9956-ffa450edef68
method gets chosen. This ensures that a JDK 1.4 compiled Ant can be
run on JDK 1.2. Well, makes it more likely.
PR: 22705
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275142 13f79535-47bb-0310-9956-ffa450edef68
replaced by an accessor way into tasks.
Remove too some unused variable declaration and some unused imports.
PR: 22515
Submitted by: Emmanuel Feller ( Emmanuel dot Feller at free dot fr)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275133 13f79535-47bb-0310-9956-ffa450edef68
I need to change the inner class AntFTPFile so that it scans subdir
on case sensitive systems when case sensitive is set to false
and a path element is not found with its original spelling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275129 13f79535-47bb-0310-9956-ffa450edef68
I was using the image task to create thumbnails and couldn't figure out
how to keep proportions of an image but keep it within a fixed size.
My solution was to change the keepproportions attribute to be a little cleverer.
The keepproportions attribute is no more and has been replaced by the proportions
attribute, which has been added with the following features:
proportions="ignore" - treat the dimensions independently (==keepproportions="false" and is default)
proportions="width" - keep proportions based on the width (==keepproportions="true")
proportions="height" - keep proportions based on the height
proportions="fit" - keep proportions and fit in the supplied dimensions
proportions="cover" - keep proportions and cover the supplied dimensions
Submitted by: Rob Oxspring (roxspring at imapmail dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275127 13f79535-47bb-0310-9956-ffa450edef68
Note that the diffs of StyleTest.java is big, the file contained
control M characters at the end of each line
PR: 22549
Submitted by: J.M. (Martijn) Kruithof ant at kruithof dot xs4all dot nl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275123 13f79535-47bb-0310-9956-ffa450edef68
The same problem was seen on JDK 1.3 on FreeBSD
PR: 22549
Submitted by: J.M. (Martijn) Kruithof ant at kruithof dot xs4all dot nl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275122 13f79535-47bb-0310-9956-ffa450edef68
to the ones introduced in DirectoryScanner.
There is a gain when
- the include patterns look like some/very/long/path
- the remote file system is case sensitive
- the casesensitive and followsymlinks options of the fileset are set
to true (the default)
PR: 20103
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275120 13f79535-47bb-0310-9956-ffa450edef68
Make the order of the headers of plain mail predictable by using
two parallel vectors instead of a hashset to store the headers internally.
Style corrections
PR: 22088
Submitted by: Michael Davey (michael dot davey at coderage dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275119 13f79535-47bb-0310-9956-ffa450edef68
addresses containing also the name such as name <address> or (name) address.
This allows these syntaxes to be used in the attributes from, tolist, cclist, replyto
of the email task.
PR: 22474
Submitted by: Michael Davey ( michael dot davey at coderage dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275114 13f79535-47bb-0310-9956-ffa450edef68
used to check if a new definition overriding a previous
definition is actually the same definition via a ant or
antcall command
* remove pointless check for antlib: in setUri
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275106 13f79535-47bb-0310-9956-ffa450edef68
* change nested element name from param to attribute
(now the same as scriptdef)
* expermintal testing for @attribute notation - controlled
by an attributeStyle attribute
* checking if correct attribute/element names are used
* samedefinition method overloaded
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275105 13f79535-47bb-0310-9956-ffa450edef68
derive from DefBase and use the uri for the name
this change also provides the classloader attributes
and elements from DefBase to ScriptDef
use the DefBase classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275101 13f79535-47bb-0310-9956-ffa450edef68
so that the newer attribute can take into account time differences between local
machine and remote server.
PR: 19358
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275097 13f79535-47bb-0310-9956-ffa450edef68