Stefan Bodewig
32da696de4
Add testcases for the inheritall/dir attribute combinations and their
results on the new project's basedir - clarify documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269838 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
36fa373b09
initialize the new project first so that loggers have been configured
before we fiddle with its properties.
Don't carry over user properties for basedir and ant.file from the
second to the third call in a chain of <ant> invokes <ant> ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269837 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cb2e8a1e24
skipemptyfilesat and parallel didn't play nicely together.
PR: 4347
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269836 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bdeeb01ee7
Fixed imports accidentely removed during cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269835 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c6d10f6ffc
formatters assumed that only one test could be running at the same
time, this is not true.
PR: 2442
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269834 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
76f5174e7c
Fixed imports accidentely removed during cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269833 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
65c82879ee
Make <style> support Exolab's new Adaptx processor.
Submitted by: Arnaud Blandin <blandin@intalio.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269832 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e02b6c98aa
Remove misleading javadoc comment so that we start getting less questions about it ;)
PR: 4398
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269824 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
24f9888af6
Allow ant script to gracefully handle spaces in $HOME variable
PR: 4395
Submitted by: rick_price@email.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269823 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
be53ecfdc2
Add testcases for the substitution methods (and make them work 8-)
Add testcase for <replaceregexp>, this task now works with ORO,
Jakarta Regexp and JDK 1.4 if you use \1 to refer to parens in the
regular expression.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269822 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
dfc1957328
testcases for case insensitive matches as well as multiline versus
singleline mode.
Note 1: doStartTest1 fails with ORO 2.0 but works with 2.0.4, better
use the latest release 8-)
Note 2: doEndTest2 fails with Jakarta Regexp 1.2, I've disabled it for
the time being, but may look into it later (file a bug report,
and so on).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269821 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ffea0a9f74
Rewritten part of the regexp stuff, adding substitution and options.
New optional replaceregexp tasks that takes advantage of it.
Submitted by: Matthew Inger <matti@sedonacorp.com>
This doesn't really work (but doesn't break anything either), but I
wanted to get the stuff committed now, I will put work into it
tomorrow. See mail to the list for details.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269820 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
fcd6548344
"Finally I managed to finish a new version of the VAJ tasks. The most
important new feature is the ability to execute VAJ tasks from the
command line by exploiting the Remote Tool Access feature of VAJ."
Submitted by: wolf.siberski@tui.de
Some patches look a lot larger as I had to remove stray CRs, I also
killed TABs wherever I stumbled over them.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269819 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6cf09d26ff
A fix to make the cleanUp method do full cleanup.
PR: 4366
Submitted by: acl1@notes.ntrs.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269818 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9ec1930ae7
add some extra savety measures.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269817 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8c8d8c5f27
Only override subbuild's basedir if inheritall has been set to false.
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
Get rid of annoying warning that <property> has been redefined in
<ant> and <antcall>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269816 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8d66f263f5
make sure <propertyfile> closes the file it's been reading from.
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269815 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
321c9dc68e
assert -> assertTrue in all testcases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269814 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
07e96569da
Account for a change in JUnit - TestCase.name() has been removed.
Now use reflection to invoke either getName or name, whichever is
available, so that the formatters will still support JUnit prior to
version 3.7 - once we decide to drop this support, this workaround
will be backed out.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269813 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5306e0b587
improve "could not create task" error message.
PR: 3919
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269809 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
451b31643e
At least print a warning if users try to redefine tasks or datatypes.
PR: 3205
This doesn't really solve the original problem, which cannot be solved
in Ant 1.x IMHO, that's why I didn't close the bug.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269808 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1fabe3a610
added uriroot and uribase options
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269804 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1f2d7b9b3b
a full second of leeway on the clock during sleep tests to address scheduling/timing issues across different platforms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269803 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
09a7def3cd
Make <propertyfile>'s default attribute work as expected.
PR: 3955
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269802 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
59fcd9ab82
Add initial testcase for the optional propertyfile task.
Submitted by: Levi Cook <lcook@gr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269801 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
490a7cd059
remove redundant code from FileUtils, handle Netware case in
IntrospectionHelper's testcase.
Submitted by: Jeff Tulley <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269800 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89aa7775a8
Added some javadocs for OS condition.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269798 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
fe05ef0ff3
Allow for an ANT_ARGS environment variable, for setting things like
using a different logger or including the -find flag.
(runant.pl, also add a check for cygwin for path separator, fix ANT_OPTS.)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269797 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
11d421035c
I've just put together a patch for the JDepend task to use xml
output. A new
attribute "format" has been added that can take either "xml" or "text"
defaulting to the latter. �Appropriate changes have been made to the
documentation, and additionally a .xsl file is attached to
produce html with
a similar style to that of junitreport.
Submitted by: "Rob Oxspring" <roxspring@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269796 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
84ca9ada49
Add support for extracting names from Volumes on NetWare.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269789 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
471322b9ae
I made a lot of changes here, to almost every test case in the "testConstructor" test. �Partly this code is system-dependent, but it is also testing that the paths are tokenized or split into individual paths correctly, so that system dependence is probably ok here. �I simply added in a NetWare case everywhere there was a UNIX and Windows(really, "else") case.
Submitted By: Jeff Tulley �(jtulley@novell.com )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269788 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d02271456d
Check for Os set to netware.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269787 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
72f5630bdb
Remove some tabs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269786 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d81ef5ce76
Add comments regarding future netware integration.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269785 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bd699bf0c5
PathConvert does not allow NetWare as a targetOS. There was also a problem with the logic of PathConvert treating everything that did not have a targetOS=Windows as UNIX, where in this case the Windows assumptions are actually more correct for NetWare. �(The assumptions are the type of classpath separator, ";" on Windows and NetWare, and the directory path separator, and NetWare can deal with either "/", or "\\" equally well).
Patch fixes these issues.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269784 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1be070bb5a
Ignore NoSuchMethod exceptions when looking for setProject in non
Task classes being used as tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269783 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8cb8f75cdd
If a fileset defines a single file, allow the Copy and Move tasks to work with the toFile attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269779 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
382b3c9bf1
Removed some tabs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269778 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
201b39cc14
Added task to create a manifest easily from build file.
Submitted by: thomas.kerle@pd.admin.ch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269777 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
d1d47e9813
Handle continuations in section names
PR: 4075
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269776 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
11f6c1a20b
Merge across from Ant 1.4.1 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269771 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e4a95755b9
Add support for ejb2.0 local interfaces
Submitted by: Josh Lannin <jlannin@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269769 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Sam Ruby
2f9c8a56fa
Fix syntax error - leftover line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269768 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
651b15a3e5
D'Oh - didn;t resolve all conflicts :-( - done now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269767 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
92705e1168
Add support for message beans
Submitted by: Josh Lannin <jlannin@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269766 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
17db332c6b
iFix up stylesheet PI
PR: 3989
Submitted by: Eric.Smith@NextPage.com (Eric James Smith)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269763 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1c87db68f3
Added ability to resolve entitys to local files.
Submitted by: Holger Engels <hengels@mercatis.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269760 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6ffc1671f3
Make sure file for reading patterns is closed.
Submitted by: tbsandee@pobox.com (Ben Sandee)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269759 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
50cd7c54a8
Enabled encoding option for gcj Java compiler.
Submitted by: "Takashi Okamoto" <tokamoto@rd.nttdata.co.jp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269758 13f79535-47bb-0310-9956-ffa450edef68
24 years ago