Antoine Levy-Lambert
09f141b765
Nested websphere element for ejbjar does not support spaces in file name.
This commit addresses this issue
PR: 21298
Submitted by: Lee Carver (leeca at pnambic dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274754 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9d09e6bde0
checkstyle fixes
PR: 21319
Submitted by: Patrick G. Heck (gus dot heck at olin dot edu)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274753 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e3cc7de84e
checkstyle fixes
PR: 21316
Submitted by: Gus Heck (Gus dot Heck at Olin dot edu)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274752 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8703d66ca0
Base <zip> and <zipfileset> on new ZipFile code.
This happens mainly for two reasons:
* preserve stored permissions unless the user explicitly overrides them
(PR 2130). This is now fixed for stored files, but not for directories.
* deal with filename encoding of existing archives. Supposed to work
properly now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274751 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6dea74459d
Improve algorithm that searches for the central directory - don't get fooled by signatures appearing inside payload.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274750 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6e2090b71a
Need to override isDirectory for situations where setName has been called
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274749 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d5570e5c65
Calendar.HOUR is different from Calendar.HOUR_OF_DAY
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274748 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f2eb856ffd
Add support for filename-encodings other than UTF8 to <untar>.
PR: 10504
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274746 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ad9c15103d
Finish implementation of ZipFile, use it in Expand (AKA <unzip>).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274743 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ec5e77ad32
Initial support for reading of ZIP files - uncomplete as you cannot
get an InputStream to the ZipEntrys yet.
Will be needed to fix PR 10504 as well as to preserve permissions when
updating an archive (no PR yet).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274742 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ea0ea86ba2
cancel previous change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274736 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
60af10ce5b
Try quick fix to make tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c1288a2b32
The translate task did not translate tokens that are placed too close together.
This change fixes this. Thanks Tom, sorry for the time it took to process your patch.
PR: 17297
Submitted by: Tom Eugelink (tom at tbee dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274730 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
4ffa9e1380
quick fix for Ant.java use of property in Ant#reinit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274726 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b36b67d9e2
New Launch facility. Separate jar now can be used to launch Ant which
takes over some of the functionality traditionally found in the Ant launch
scripts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274724 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9f6981d2a2
Get Project#getTaskDefinitions and Project#getDataTypeDefinitions
to emulate old behaviour
This fixs the <antstructure/> output.
Provide ComponentHelper#getAntTypeTable to provide the full table
Revert changes to ProjectTest
Update Typedef.java (forgot this in previous commit)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274723 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c858d88d08
opps - 2: set includedelims to the attribute in the C&P method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274722 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6453ac69c1
opps: set includedelims to the attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274721 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4ae9767592
Make filtersets preserve line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274720 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0f3d4a58ff
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274719 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8701272b24
Second patch from antlib update as described in
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
* unifies the type and task definitions into one table
* types and tasks are represented by a AntTypeDefinition object
* taskadapter has been generalized to a typeadapter
* <typedef/> has a number of new attributes:
- adapter
- adaptto
- onerror
* <taskdef/> html page updated to refer to <typedef/> page
PR: 19897
Submitted by: Peter Reilly
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
26f6bfe2be
Added ANTLR#setGlib(File)
Marked ANTLR#setGlib(String) as deprecated, and make it call
the new setGlib(File)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274717 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
84d3e4a158
All the tests in ANTLRTest.java involving a super-grammar file were failing on Windows.
This change fixes the problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274716 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a07fa67848
Remove paste error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274715 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b498a4535a
Use the new FileUtils#rename method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274714 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7f18b8f611
Make fixcrlf work even with /tmp on a separate filesystem
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274712 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b4cde9dabb
Use java.io.tmpdir as location for temporary files
in FileUtils#createTempFile (when the directory parameter is null)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274706 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
db672be888
2003 and some 'since' information
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274704 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
931a037496
#20767 - adding totalproperty and todir attributes to checksum task - submitted by Aslak Hellesoy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274702 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ab8b8ef566
Allow <touch>'s datetime attribute to accept seconds as well.
PR: 21014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274700 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
cdd1db5a99
PR: 17195
Submitted by: Markku Saarela
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274698 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0e3229eb49
Fix error message when filtersfile is missing.
PR: 20825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274697 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e4f004d939
Add support for nested dirsets to <apply> and thus to a couple of
subclass-tasks as well.
PR: 20687
Submitted by: Gus Heck <gus dot heck at olin dot edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274696 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a39aaa86b6
Create parent directories for destination files if they are missing.
PR: 20840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274695 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
02307f7dea
Make Expand behave like DirectoryScanner if a pattern ends with a
trailing slash or backslash.
PR: 20696
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274692 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
93c2ff54b0
PR: 20966
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274690 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
406fbb2aca
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274687 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5abbef537e
Fixed imports, replaced import java.io.*; by each of the 4 classes
really used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274686 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
f766a91473
Doc fixup. I have just started to use this: I like it, but still need to understand all that it does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274684 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
345fe8ef34
xdocs fixup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274683 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9b60f270d4
Allow JUnit to reuse the same classloader when fork is set to false
Submitted by: michael_beauregard at transcanada dot com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274682 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1a12c40a4c
Prevent <ejbjar> Borland implementation
from being blocked by java2iiop warning messages
PR: 19385
Submitted by: Benoit Moussaud (benoit dot moussaud at criltelecom dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274680 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
503e2b978e
Create the temporary file for output of FixCrLf in the default directory
of FileUtils#createTempFile
This default directory is presently the current directory where ant is running.
I think it should be changed to the java.io.tmpdir
PR: 20870
Submitted by: Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274678 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
03e9cb96be
fix the issue : VAJRemoteUtil calls getAbsolutePath instead of getPath
PR: 20457
Submitted by: Douglas Reith (douglas_reith at yahoo dot com dot au)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274677 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e00d04fd4a
Rework scriptdef to use DynamicConfigurator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274676 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a812b0a411
Add url attribute to the properties task
PR: 20749
Obtained from: Andrew Ferguson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274675 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5ba6ab78ce
get UpToDate task to log at verbose level when the target file does not exist
PR: 20848
Obtained from: Eli Tucker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274674 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
8b31f08c8e
Throw a build exception if a public constructor that takes in a Reader as its
sole argument is absent.
PR: 20768
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274673 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e64467f9c0
Added the mapper unpackage
PR: 18908
Obtained from: Brad Clark
Submitted by: Peter Reilly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274671 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
0b4c9ae65f
add cvsroot and package attributes to the output of <cvstagdiff/>
PR: 16081
Submitted by: Rob van Oostrum (rob at springwellfarms dot ca)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274670 13f79535-47bb-0310-9956-ffa450edef68
22 years ago