Peter Reilly
47fa568d32
fixes for presetdef's handling of attributes
PR: 24411
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275617 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
3838c6ba28
<nice> as a task; unit tests tested on windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275614 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
23bebfbdc2
make error message for bad imports a little better
When an buildexception is reported in the imported xml, add the importer
xml file to the build exception
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275610 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
1e7d5dd17b
fix timeout attribute of jdepend
add unit tests
add includeruntime to allow unittests to run
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275605 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fc760b24e7
Simplify assertion in testcase (remark of Martin Kruithof)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275570 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fc275eb2e5
Make org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest pass under
JDK 1.2
PR: 23919
Submitted by: Martijn Kruithof (ant at kruithof dot xs4all dot nl)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275568 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
86a183cc1f
Allow typedef resource to pick up all the resources
of the name in the classloader, not just the first
PR: 24024
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275567 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9734889750
Replace non ASCII characters by UNICODE escapes
PR: 23919
Submitted by: Martijn Kruithof (ant at kruithof dot xs4all dot nl)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275557 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
c0eecc68bb
fix for bug#19630; no handling large files. Needs testing on mono!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275555 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
33df219930
Test for PR 23862
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275545 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b3d2f33791
Fix and test for unresolved references due inability
to create the reference object to give to scripts.
PR: 23915
Reported by: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275537 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d3f03ad754
Merge from ANT_16_BRANCH
Fix problem with non absolute remote dirs
PR: 23833
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275510 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0a562a9fab
Make CommandlineJavaTest independent of lib/optional/junit.jar, PR 17402
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275496 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9ab8595b28
Fix bug for typedefed add() support with namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275472 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b14e61f604
Merge from ANT_16_BRANCH
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275463 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b0764108bb
Remove misleading debug output
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275441 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5d2160ae42
Tests for PR 23601
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275438 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7e0d189209
Testcase for PR 23639
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275435 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
27c89ead25
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275340 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
dd83ca0c78
fix encoding
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275338 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
9a060983bc
Unix filesystem is case sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275337 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fb28169fe9
Make replace tests pass on cygwin (test9 was failing)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275322 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
8a19a4e64f
Let ConcatFilterTest delete its files without exceptions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275321 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0997476f54
forgot to commit file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275313 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6c8567b428
Defer expansion of reference until the catalog gets used.
PR: 20965
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275312 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fa097d22ea
remove attributestyle attribute from macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275308 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
7d5a81af57
With these changes assertions now work, at least as far as the java tests are concerned...not tested junit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275293 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
4f0d6c5a1f
Add test for PR 21037
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275292 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
3d052904a8
1. remove the default library stuff from csc & the compiler.
2. remove the new standardlib flag needed to work around (1)
3. added a test for the jsharp compiler, and a fix to get the task to work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275274 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
53252afb1b
Dissallow <import> within targets
remove some commented out code in ImportTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275267 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
d1bc937f76
ConcatFilter: rename attributes after->append and before->prepend; added documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275266 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
b282f83f44
New filter <concatfilter>. Adds the content of file at the beginning
or end of a file.
Discussion started at http://marc.theaimsgroup.com/?l=ant-user&m=106336791228585&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275260 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
63f41f90c6
Add tests for <import> inside <target>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275257 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c18d49c605
Update antlib testcases to reflect restrictions in
tasks allowd in an antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275253 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3af30bdfca
JDK 1.3- compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275247 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
3c1db41ac7
New <modified> container.
Bugzilla Report 20474
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275236 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
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
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
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
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
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
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
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
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
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
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