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
Peter Donald
d1798179b8
Delegate to Task.perform() instead which has better error checking rather than reimplementing in this class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269713 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
602c461fed
Made the -projecthelp only print out targets that have coresponding descriptions unless loglevel is verbose or debug.
Don't you hate it when you forget to commit changes?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269712 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
795c7c88da
Clean whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269711 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c23845a32
I noticed that when a task is created using taskdef, all messages were
being logged against the target.
Submitted by: Garrick Olson <Garrick.Olson@Aceva.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269710 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bab6532e41
use FileUtils' resolution method for the dir/antfile logic
committed in this branch to see whether it has broken something in
next GUMP run.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269708 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
532f474417
make merge easier by manually merging this file (added encoding decl).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269706 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f9e06784d0
Made codebase not violate the JLS recomendations by removing redundent access specifiers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269701 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bf7ed063e3
Removed redundent access specifiers so that Ant compiles cleanly in jikes pedantic mode. They are "strongly discouraged" by the JLS spec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269700 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dccafad30a
Removed ; characters in innapropriate places to get rid of jikes warning:
Warning: An EmptyDeclaration is a deprecated feature that should not be used - ";" ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269699 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7eeecccd2c
First cut at a generic jspc task/facade system.
Submitted by: Matthew Watson <mattw@mortbay.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269698 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3d047d54a2
Reworked task to use files internall rather than strings so that the task doesn't have to try and resolve things internally.
Based on Daniel Hoppe <hoppe@sitewaerts.de> 's patch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269697 13f79535-47bb-0310-9956-ffa450edef68
24 years ago