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
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
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
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
Stephane Bailliez
ce8272e144
Huge summer cleanup to the code...
- takes advantage of Xalan redirect extension, therefore I don't need extra code to split the document several pieces and process them with different stylesheets.
- now using a strategy to determine a valid Xalan executor at runtime. It first check for Xalan2 then for Xalan1.
As a convenience the Xalan version is displayed in the output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269504 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e6a50fe317
Handle situation where the descriptor is out of date with respect to the
EJB classes but the descriptor text has not changed.
Submitted by: Sean Bowman <SBowman@webb.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269493 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
4d2ea9df2b
fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269492 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3572ac711f
If it is not a build exception best to get the full story
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269490 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aa4eb280ad
Ignore fork attribute if build.compiler doesn't point to a JDK javac.
Submitted by: Brian Deitte <bdeitte@macromedia.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269488 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9092eca069
Make sure system properties as accessible in subbuilds in the
inheritAll=false case as well.
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ffc9cedabb
Make sure <move> doesn't try to move a file to itself
PR: 2515
Try the less costly File.rename before copying a file byte by byte.
PR: 2424
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269486 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aa8f01df3c
update .NET tasks for the beta2 release
changes
-removed 'owner' attribute from ILASM (it just prints a warning and is
stripped from the docs)
-changed the referenced dlls to the beta-2 set
-added some options to csc:
fullpaths
win32res
noconfig
utf8output
Submitted by: Steve Loughran <steve_l@iseran.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269485 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0bcf1432f2
give a better name to FileUtil's factory method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269482 13f79535-47bb-0310-9956-ffa450edef68
24 years ago