Jan Materne
ce30fba6d8
Tutorial: Writing Tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275194 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
Stefan Bodewig
7d18fc9d21
leave it undefined to avoid feature lock-in
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275185 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
0c93012bc3
Update IDE info to include JBuilder
PR: 22923
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275183 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e0f7b5199c
Clarify antcall in presence of self-modifying build files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275182 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fd70ccb2c9
Some updates, machine name changes, adhere to Apache's beta distribution policy ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275181 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
Peter Reilly
0c06dd0c40
Describe incompatable change introduced with
enablemultiplemapping mode for copy and move.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275177 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
c77ef9c163
StyleTest seems to require a TraX implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275175 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
57f78f8111
Use valid URLs even in the text links, some people use copy'n'paste instead of clicking links
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275172 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
0c15aeca64
spell check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275171 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
67cde455ff
Add some infos about myself.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275170 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8dde1c7b99
fix inconsistent handling of cvs.found - fail if we cannot use CVS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275169 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
116be67214
exclude patch.txt and patch.tar.gz to make patch.xml more useful
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275168 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
Jan Materne
7298876120
Add myself to committers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
62e36bbd11
manual page for antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275164 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
Antoine Levy-Lambert
229b965e9c
Adding a line about file.encoding, adding also missing quotes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275159 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