Conor MacNeill
f26efe57b3
typo - sort of
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275215 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3344eb0d7c
Imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275214 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a0e49f25a
Refactor TraxLiasion initialization to remove dependency from
core Ant to optional packages.
PR: 11103
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275213 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2ae23a6a4b
Changes to <ant>
do not call the "" target (it gets run anyway)
allow duplicate params with the same name, last
param will be used.
Test cases for above
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275212 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7b90e493e8
It is legal to omit the target attribute in <ant>, don't die with a NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275211 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
da7ebd07b8
Antlib: set location before maybeConfigure as maybeConfigure could
throw an exception (invalid element/attribute for example)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275210 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
99b22a7da3
Change design for storing the current antlib uri
Allows deferred execution to work - for example
ant script in macro def.
Bugzilla report : 23029 from Yannick Menager
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275209 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3de1a4577e
fix typeofs
Patch from Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275207 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
3b92419d61
Remove dependency to bootstap version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275205 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
f1ed5195f0
Test if <style> generates new if the XSL is new.
Forgotten to "add" before "commit".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275203 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9e109bcbac
Typos found by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275201 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
f9314cc6b9
Checks that a property file is created when not present.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275197 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
6f5e89efb6
Undo change made by accident ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275193 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
f5ef612691
Test if <style> generates new if the XSL is new.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275192 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
b73592bce8
spell check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275191 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
7609ac7764
1. new ildasm command to disassemble .il files. So that you can disassemble the output of tlbimport, patch it and recompile it. Yes, that is the official way to get C arrays marshalled into .net
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
22 years ago
Steve Loughran
6f50296c91
factored out the FAT granularity constant into FileUtils, though I am sure it is used in many other places.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275189 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
a8d3085b01
1. autogenerate text messages from if and unless clauses, when there is no text. Because it is very useful.
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
22 years ago
Conor MacNeill
bdf630adb9
Make sure continuations of multi valued attributes (Class-Path) are
added to the correct instance
PR: 22816
Submitted by: Dan Douglas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275187 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
03d8b12829
Catch another simple to detect case of infinite antcall loops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275186 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
0c42e047b2
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275180 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
70ba81f024
Let Project.toBoolean(String) handle null as argument.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275179 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
1fcc1b6167
New shortcuts for ant options:
-d --> -debug
-e --> -emacs
-h --> -help
-p --> -projecthelp
-s --> -find
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275178 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
451172e226
Throw an exception instead of looping forever in top-level <*ant*> task.
PR: 22759
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275176 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a623009b85
Examples of infinite loops, PR 22759
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275174 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
468d6cb9f4
Add a reallyquiet attribute to <cvs>.
PR: 22774
Submitted by: Larry Shatzer <larry dot shatzer at spirent dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275167 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
86fdee1fa7
Display number of the column where the "error" occured (if present).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275166 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
665a5463e7
Place antlibs temp defintions in a ant:current namespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275163 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
543e74c784
Use again Permissions to catch non zero exit statuses when using the Java task
with FailOnError = "true"
PR: 22533
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275162 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
446a11fca8
Add cygwin support in runant.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275161 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ef842caeee
Sync runant.pl with the other scripts to use new Launcher
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275160 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d18b0ee1d9
Add Copyright lines, PR 22807
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275158 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
26eb04c78c
label and lock/unlock cannot be used at the same time in <stcheckout>.
PR: 22829
Submitted by: Steve Cohen <scohen at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275157 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
49672cb190
DelayedFileOutputStream -> LazyFileOutputStream (thanks, DD).
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
22 years ago
Antoine Levy-Lambert
1df7fd17ca
Rollback temporarily the setting of new permissions when failonerror="true"
and fork="false"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275155 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2ba8ddc0be
Adding a permission to read file.encoding in the default set of permissions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275154 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1de5995d90
Set default permissions appropriate to fail the builds when failonerror is
true (and fork false) and no other permissions were set.
Suggestion of Steve Loughran.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275153 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
417e81bb3c
Make the tests pass under Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275152 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
70802b2319
Make <sshexec> evaluate the exit code of the remote command.
PR: 19237
Based on a submission by: Rob Meyer <rob at bigdis dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275151 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
6585a8aa20
Save the nerves of future generations of committers,
by failing the JavaTest if tests-classpath.value is not set
Also removed an unused path definition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275150 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8fab9564d5
PR: 22533
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@275149 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1c2810aaff
whitespace changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275148 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ff6ef3c0c9
Don't connect to remote site when you know there is nothing to transfer.
also fixes PR: 22726
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275147 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8443b8b1a1
resolve relative paths in file and todir attributes like all other Ant tasks do - i.e. relative to basedir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275146 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8b92e3742c
Improve symmetry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275145 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3e2593fb20
A JUnit TestSuite can contain tests from multiple classes. In particular it
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
22 years ago
Stefan Bodewig
4141a91af1
Don't open the file used for <exec output="file"> and friends before
it gets actually written.
Needed to fix PR: 13652
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275143 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cfbc62561b
explicitly cast StringBuffer to Object so that the "right" append
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
22 years ago
Stefan Bodewig
5eb0e72366
Make tests pass on OpenVMS.
PR: 22696
Submitted by: Knut Wannheden <knut at paranor dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275141 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9f7f90efe4
remove must be synchronized, too. Thanks Antoine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275139 13f79535-47bb-0310-9956-ffa450edef68
22 years ago