Stefan Bodewig
f2a9a0d896
test for Bug 37237
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@373154 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
500030a537
Make Zip#createEmptyZip be called again when empty zips need to be created
(similar for overrides in superclasses)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278143 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
6e72941062
Make it possible to create manifest only jars with the option duplicate="preserve"
PR: 32802
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277264 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4ab55dc0c9
More shadows and statics that make Jikes whine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277240 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
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
Stefan Bodewig
90a2a192dc
This test has been randomly failing on Unix systems ever since their
file system is considered to have a granularity of a second. Give it
the same treatment as Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276189 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
Stefan Bodewig
1a3ed5bfc3
some more variables named enum
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275866 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
566ea426c3
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5d135bf963
Demonstrate bug 16972
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274385 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
af00b2e81d
Make sure that streams get closed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274380 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
59d49ed44c
Demonstrate bug 10262
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274377 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
75a944cb28
currently failing testcase to demonstrate PR: 17780
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274240 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6528412d21
Avoid NPE in <zip> and friends for empty <fileset>s.
Submitted by: Nico Seessle <nico at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274176 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
388d534f97
Make sure streams get closed so that the temporary files can be deleted
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274155 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
34dc5127ac
fix the 'is the manifest up-to-date?' checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273991 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9f7aebabbb
ZIP-Entries always use forward slashes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273890 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
10d0c2b6bb
Add some tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273858 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
bf37341e1a
Take care of the original manifest when updating a jar.
PR: 12651
Based on code submitted by: Ben Jenkins <bjenkins at dynamicsoft dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273822 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a6dc398196
Add (disabled) tests for 12651
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273821 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
745031fad7
Add (disabled) tests for 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273820 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d0fd746309
License police on testcases and stylesheets:
Make sure all years in which the file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e01d1142c
Move responsibility for cleanup to the test themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3f37290d4a
Initial cut at Manifest tests. This is in preparation for handling multiple
Class-Path entries. More to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269912 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3572b96ca9
Move all tests to BuildFileTest from TaskdefsTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269911 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
321c9dc68e
assert -> assertTrue in all testcases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269814 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
635c56e2db
Make testcases independent of current working directory - add one for <copy>.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268778 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4fefc6bcdd
Make <jar> fail early if a specified manifest file doesn't exist.
Submitted by: Erik Meade <emeade@geekfarm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268255 13f79535-47bb-0310-9956-ffa450edef68
25 years ago