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