This commit is contained in:
parent
d19ef10d21
commit
c37ff2ba16
@ -1,4 +1,4 @@
|
||||
--- apache-ant-1.10.14.orig/src/main/org/apache/tools/ant/taskdefs/Jar.java 2024-07-16 14:41:00.996055227 +0200
|
||||
--- apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Jar.java 2024-07-16 14:41:00.996055227 +0200
|
||||
+++ apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Jar.java 2024-07-16 14:52:07.583866195 +0200
|
||||
@@ -450,6 +450,13 @@
|
||||
serviceList.add(service);
|
||||
@ -42,8 +42,16 @@
|
||||
}
|
||||
}
|
||||
--- apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Zip.java 2024-07-16 14:41:00.999388566 +0200
|
||||
+++ apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Zip.java 2024-07-16 15:07:39.458825011 +0200
|
||||
@@ -1669,6 +1669,13 @@
|
||||
+++ apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Zip.java 2024-07-17 14:27:00.917945219 +0200
|
||||
@@ -682,6 +682,7 @@
|
||||
"Failed to create missing parent directory for %s",
|
||||
zipFile);
|
||||
}
|
||||
+ parent.setLastModified(currentTimeMillisOrSourceDateEpoch);
|
||||
|
||||
updatedFile = true;
|
||||
if (!zipFile.exists() && state.isWithoutAnyResources()) {
|
||||
@@ -1669,6 +1670,13 @@
|
||||
extra);
|
||||
}
|
||||
|
||||
@ -57,7 +65,7 @@
|
||||
/**
|
||||
* Add a directory to the zip stream.
|
||||
* @param dir the directory to add to the archive
|
||||
@@ -1708,7 +1715,7 @@
|
||||
@@ -1708,7 +1716,7 @@
|
||||
} else if (dir != null && dir.isExists()) {
|
||||
ze.setTime(dir.getLastModified() + millisToAdd);
|
||||
} else {
|
||||
@ -66,7 +74,7 @@
|
||||
}
|
||||
ze.setSize(0);
|
||||
ze.setMethod(ZipEntry.STORED);
|
||||
@@ -1794,7 +1801,11 @@
|
||||
@@ -1794,7 +1802,11 @@
|
||||
|
||||
if (!skipWriting) {
|
||||
final ZipEntry ze = new ZipEntry(vPath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user