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
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
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
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
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
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
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
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