Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d050f6a18c
remove enum variable
PR: 22336
Obtained from: Robert Stupp, using Jan Mat��rne's checkstyle check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275076 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d13027731c
Only calculate the CRC of STORED entries in <zip> if absolutely necessary.
PR: 21899
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2590a640ce
Remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274936 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9f66d99a5d
Add comments as suggested by Jan
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274885 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
4653e638dd
Don't use a data descriptor for deflated entries in ZipOutputStream if
we can seek the output. Use this feature in <zip>.
PR: 19195
Submitted by: Richard Evans <richard.evans@retek.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274883 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
66b5bf27b7
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274824 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
94ef2fbb4b
Make checkstyle a little happier.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274784 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
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
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c89a66172d
Preparing merge to 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274134 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a38deb31dc
Move the 'round up to next even second' logic to where it belongs -> out of the library and into the task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273907 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
99e9209146
forgot to run my script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273853 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a9353331a9
Initial fix for the <jar> doesn't update bug, will need some
refinement (see extra mail to list).
PR: 10755
Submitted by: Antoine Levy-Lambert <levylambert at tiscali-dsl dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273848 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
3255fa8ff4
Add support for Unix permissions to <zip> and friends, doing it the
Info-Zip way.
PR: 6492
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273629 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6c7ff01478
getting close to Info-Zip now, will enable it next week
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273617 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
28b02949e7
There is no reason to expect subclasses for ZipShort and ZipLong
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272468 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
03d0b81deb
Order of modifiers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6154080061
More coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
750999053f
Work around a bug in Kaffe - we can as well label it "optimization" 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271222 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 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
Stefan Bodewig
fc7cfffc89
Add encoding attribute to the zip tasks and the ZipOutputStream to
make the classes flexible enough to deal with non US-ASCII filenames
either consistent with the command line ZIP tools (it has been since
it uses the org.apache classes instead of java.util.zip) or the jar
command (which it has been up to Ant 1.3).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
218ad5fc4d
Work around a feature of the system classloader in some VMs - it
drops all classpath entries that are not present at VM start time.
PR: 2412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269271 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c3714c50a1
More JDK 1.1 issues. Culprits have been <pvcs>, <record> and the new
zip package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268962 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bb58f9a943
Reimplementation of ZipOutputStream along with a subclass of ZipEntry
to allow Ant generated zip/jar/war/ear files to be extracted on Unix
boxes without permission problems for directories.
This one uses external file attributes like InfoZip's zip does, this
is a rough cut - the infrastructure to set arbitrary permissions and
add user/group IDs via Zip's external fields is there, but not used
ATM. Directories will always get 755 permissions right now.
The testcases work on my box, and I can extract Ant created archives
without any trouble - can't await tomorrows Gump run.
package documentation for org.apache.tools.zip will follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268959 13f79535-47bb-0310-9956-ffa450edef68
25 years ago