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
Stefan Bodewig
ede07a7c22
Add new <isset> condition, simplify ConditionBase by using ProjectComponent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269756 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
361eba4355
Make FileUtils.resolveFile more robust - modelled after File(File, String).
This avoids the explicit checks for null directories in
SourceFileScanner as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269755 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
03820a8206
Add reference to current task instance under the name "self" to
<script> task.
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269754 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7eee353dda
Task thats add delete capability to the P4 suite of tasks.
Submitted by: "Mike Roberts" <mike@tmorph.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269753 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
b6f5be4643
Merge across fixes from 1.4 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269750 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bec2a0777e
Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1fa5ccf568
Make the project accessible via consistent name ("project").
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269743 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
74664ce5dd
Added the ability to set the loader-file as a parameter
Submitted by: Marcus B�rger <Marcus.Boerger@post.rwth-aachen.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269742 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
585a091567
Fix logic of last patch to make <zipfileset src="foo.zip" /> work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269726 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7a132746eb
Fixed case where
<zip zipfile="test.zip">
<zipfileset src="test1.jar"
includes="META-INF/taglib.tld"
fullpath="tld/taglib.tld"/>
</zip>
would fail to copy source file to fullpath.
Submitted by: "Bordet, Simone" <Simone.Bordet@compaq.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269724 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
effcb7ade9
Remove whitespace at end of lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269723 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e90841384e
Fix up cut and paste error - oops - Thanks Sam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269722 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
304895ce62
Add encoding to <replace> task so that replace can work on double byte
characters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269721 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2b0ab1d4d0
Add an encoding attribute so SQL statements can be double byte
PR: 3080
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269719 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
35e92352f4
Revert to old gzip interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269714 13f79535-47bb-0310-9956-ffa450edef68
24 years ago