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
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
Stephane Bailliez
37e1a66934
Stylesheet that will be used for non-framed report of JUnit.
It can still be useful for sending a short summary via mail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269503 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bb11efae4f
Latest Xalan2 has problems related to the format-number and decimal-format that are due to locale.
Scott Boag <scott_boag@lotus.com>, Gary Peskin <garyp@firstech.com> and David Marston <david_marston@lotus.com> are aware of this
but the problem is mostly due to specifications ambiguities with locale and default separators...
Just in case I'm redefining the separators used in format-number so that there will be no problems on non-us locale.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269502 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
Stefan Bodewig
bdf4456a77
New task dependset
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
21426bf475
Move FileUtils into util package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269478 13f79535-47bb-0310-9956-ffa450edef68
24 years ago