2. patch to ilasm so that the default fileset is ignored when <src> elements are added and srcDir attr is undefined
3. tests!
ildasm has duff resource handling. It autogenerates the resources in the dir it runs, you cannot predict or control their names. So we CD to output dir, that is the dir of destFile unless an explicit res dir is provided. Ugly, ugly ugly.
And to think that they claim .net is better on account of the ease of development.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275190 13f79535-47bb-0310-9956-ffa450edef68
2. test cases to check for if and unless combinations are what we intended.
current behaviour is as follows:
if unless outcome
F F pass
T F fail
F T pass
T T pass
I am not sure this is what makes perfect sense, i'd expect if=F, unless=F to also fail, but what we have, we have. Though since it aint stated in the docs...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275188 13f79535-47bb-0310-9956-ffa450edef68
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
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
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
* 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
The scanner was working previously, but the retrieving of links was not working
because the followsymlinks attribute was not passed through.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275089 13f79535-47bb-0310-9956-ffa450edef68
requires ftp.properties in ant's root directory (with your password in it) and a local ftp server.
The test is disabled by default in build.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275016 13f79535-47bb-0310-9956-ffa450edef68
(a) so you can refer to versions off the path (useful for multiple versions)
(b) so you can use other implementations than the windows one.
Specifically, Mono Csharp compiler, msc, apparently uses the same syntax as csc if desired. We will have to test this... I suppose we could test Rotor too, but I cant be bothered
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275000 13f79535-47bb-0310-9956-ffa450edef68