Conor MacNeill
d189eb07a3
Mark entry and exit of <ant> and <antcall>
PR: 22718
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275227 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e525cc2182
Old entry point is deprecated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275226 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
Conor MacNeill
6330dbe30f
Fix some incorrect comments
PR: 23042
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275220 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8f218f2d09
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275218 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2d0bb7d9c0
close the socket created by the socket condition
I have tested the issue. With the new code, within approximatively 100 milliseconds,
the socket is gone while ant keeps running.
PR: 23040
Submitted by: John C. Kendall (jkendall at technologist dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275217 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ef72b8b0b9
Another typo!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275216 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
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