Peter Reilly
a0359662be
Do now allow multiple attribute and elements of the same
name for macrodef.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275641 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
Peter Reilly
38bc40702e
Change default uri from ant:core to antlib:org.apache.tools.ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275581 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
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
22e068597c
Add jar required for IBM JDK's to the classpath, PR 23922, Submitted by Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275541 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
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
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
8df483ff2c
Mono 0.28 on MacOS X comes with a JIT but fails miserably, disable it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275420 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
fb25c836b4
Translate task does not remove tokens when a key is not found. It logs a verbose message. Bugzilla Report 13936.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275414 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
da4e81bbbf
Merge from ANT_16_BRANCH
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275389 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
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
Stefan Bodewig
8e460fba0c
Make CSC tests pass on Mono again
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275295 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
89e17e984c
the fix to DotnetCompile forced vbc to explicitly reference things. hmm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275291 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
c23f87c249
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275241 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
4adfc6f679
Make easier to read
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275225 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3aeba65220
Fix typo.
Actually I dodn't mean to include this file with my last commit, but
now that it's in ...
This is part of my ongoing effort to run the .NET tests against a fink
installed mono-0.23 on my iBook (there no jit for PPC yet).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275223 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b8fe8d10ba
Correct pointer to Antidote, submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275222 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
eb409a2265
Fix new style test so that it pases on Linux. There appeared
to be a clock granularity problem where the output and the stylesheet
both have the same timestamp. I have change the test in XSLTProcess to
run the xslt in this case. Also added a more meaningful message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275221 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
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
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
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
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
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
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
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