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
Peter Donald
1a3c586744
Fix bug in Ant where the system properties would not be placed into new Project when inheritall=false. (This was due to confusion between variable naming).
Submitted by: Jason Brittain <jasonb@collab.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269695 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e4957c5f19
Oops I used the wrong convention!!!
This patch corrects it so that the old zipfile attribute is now tofile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269692 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9cd6074a06
Super is redundent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269691 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
876a3660c2
Deprecated zipfile in favour of file to follow siuit with the other tasks that deal with archives.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269688 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
14d5788636
Deprecated earfile in favour of file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269687 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6c0ef6993f
remove super. as it is redundent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269686 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1409fd33f6
Remove deprecated tag as that method is NOT deprecated - gotta love copy-paste documentation ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269685 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
16e0c28649
Unify the attribute of the archive to "file" rather than having three separate attributes (zipfile, jarfile and warfile).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269684 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1cbab00e16
Added in perforce p4add task.
Submitted by: Anli Shundi <ashundi@tibco.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269680 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
121bc0cda0
Added redundent statement to aid understanding (will be optimized out by compiler anyways).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269679 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ef9d413c7b
I added an XML declaration (<?xml version="1.0"?>) to the XML log file.
Also, I removed some extra spaces in XmlLogger.java.
Submitted by: "Ingmar Stein" <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
da882e14dc
Updated Get task so that it supports authenticated URLS.
Submitted by: Gautam Guliani <gautamg@grassroots-tech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269674 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8477db5860
Fixed links.
Submitted by: Jeff Turner <jeff@socialchange.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269673 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e598dc86b6
I have used the pvcs task and have come up with a patch that
I believe will address Bug ID 3219 in a slightly more flexible
way, and also allows the archive filename extension to vary
from the format hardcoded in the createFolders() method in
Pvcs.java
Submitted by: Steven Newton <snewton@standard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269672 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
beb6031606
Merge from fix in 1.4 branch for gump test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269590 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
23b43fc4b8
Exclude files were not working
PR: 3050
Submitted by: tpv@spamcop.net (Tim Vernum)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269527 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
72be7d7f00
Convenient description task that allows a multiple line description of a buildfile
with a <description> element.
Submitted by Craeg K. Strong <cstrong@arielpartners.com>
Not committed in the first shot..er..forgot to add them.
Thank to Craeg for paying attention.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269524 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
48428f7b4c
Convenient description task that allows a multiple line description of a buildfile
with a <description> elment.
Submitted by Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269523 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
25484253db
Move resolveFile methods to FileUtils, add a normalize method there.
Make sure Ant normalizes whatever it takes as its basedir - since
we've dropped canonicalPath
ant -f foo.xml
and
ant -f ./foo.xml
would have given different results (the . needed to be stripped).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269522 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bdd7cc0e97
New Threadsafe (needs more testing) version of the XMLLogger. Used the
concept of a TimedElement from Thomas' patch but not the rest of it
since I didn't want to modify other components. Tracks what happens
on each thread.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269521 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ea3777ec4
Set the executable.
Submitted by: Brian Deitte <bdeitte@macromedia.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269520 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
66810782a6
Does this pass on Windows?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
616dd57d1a
Fixes to the borland ejbjar component to get it to handle non-windows
builds. Make work with ejb-naming schemes
Submitted by: Tom Palmer <tomp@uk.uu.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269517 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2030358e5e
Ignore any classes from java. and javax hierarchies. This allows
classes such as java.math.BigDecimal to be used as keys.
I also turned the missing file exception into a warning. Who knows
maybe the app server can find it even if ejbjar can't.
Submitted by: Luis Miguel Hernanz <luish@germinus.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269516 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e8d51c354
Testcase for Project.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269515 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cbbb182eae
testcase for FileUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269514 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3c3b2c3abc
Changed the systemid to have a valid one with file:/// rather than file:.
Some xalan code are doing some check on file:, file:/, file://, file:///, file:///
But I'd rather take file:/// which is normally the valid one.
Reported by Michael J. Hudson <mhudson@blueprinttech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269513 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f7ce826bb3
Get the stylesheets from the xsl package since there is one...
Stylesheets have to be copied to xsl directory after compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269507 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
0c10f4889a
This is no more needed since it has been replace by xsl in src/etc:
junit-frames.xsl for framed reports.
junit-noframes.xsl for non-framed reports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269506 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Nico Seessle
480e64cc18
property environment=.. failed under JDK 1.2 with a NPE because WinNTCommandLauncher.exec() got a null working directory and a null Project - reported by <Aimee.Ukasick@med.ge.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269505 13f79535-47bb-0310-9956-ffa450edef68
24 years ago