[SCM] eclipse - Powerful IDE written in java - Debian package. branch, master, updated. be2538cbcdbbfba50f746ca302ebfdc921f8b16f
Niels Thykier
nthykier-guest at alioth.debian.org
Sun Feb 7 22:42:39 UTC 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "eclipse - Powerful IDE written in java - Debian package.".
The branch, master has been updated
via be2538cbcdbbfba50f746ca302ebfdc921f8b16f (commit)
from 54742912614d8fe6472baf02485e7c3cb1cf39ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit be2538cbcdbbfba50f746ca302ebfdc921f8b16f
Author: Niels Thykier <niels at thykier.net>
Date: Sun Feb 7 23:42:32 2010 +0100
Discard everything but the manifest from source jars.
-----------------------------------------------------------------------
Summary of changes:
debian/patches/source-jars.patch | 7 ++++---
unjar-jar | 5 +++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/patches/source-jars.patch b/debian/patches/source-jars.patch
index 28cd9ca..d0a08ed 100644
--- a/debian/patches/source-jars.patch
+++ b/debian/patches/source-jars.patch
@@ -45,7 +45,7 @@ new mode 100755
index e69de29..876789f
--- a/unjar-jar
+++ b/unjar-jar
-@@ -0,0 +1,179 @@
+@@ -0,0 +1,180 @@
+#!/usr/bin/perl
+
+use strict;
@@ -154,8 +154,9 @@ index e69de29..876789f
+ }
+ close(MANIFEST) or choke("Writing $tmp/manifest: $!");
+ close(MANIFEST_ORIG);
-+ system("rm -fr \"$tmp/META-INF/\" && find \"$tmp\" -name '*.class' -o -name '*.java' -delete") == 0 or choke("Could not clean $file");
-+ system("cd \"$tmp\" && zip -r \"$wdir/$file\" * && jar umf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
++# system("rm -fr \"$tmp/META-INF/\" && find \"$tmp\" -name '*.class' -o -name '*.java' -delete") == 0 or choke("Could not clean $file");
++# system("cd \"$tmp\" && zip -r \"$wdir/$file\" * && jar umf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
++ system("cd \"$tmp\" && jar cmf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
+ info("Replaced $file");
+ return 1;
+}
diff --git a/unjar-jar b/unjar-jar
index 876789f..2bc85ce 100755
--- a/unjar-jar
+++ b/unjar-jar
@@ -106,8 +106,9 @@ sub repack {
}
close(MANIFEST) or choke("Writing $tmp/manifest: $!");
close(MANIFEST_ORIG);
- system("rm -fr \"$tmp/META-INF/\" && find \"$tmp\" -name '*.class' -o -name '*.java' -delete") == 0 or choke("Could not clean $file");
- system("cd \"$tmp\" && zip -r \"$wdir/$file\" * && jar umf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
+# system("rm -fr \"$tmp/META-INF/\" && find \"$tmp\" -name '*.class' -o -name '*.java' -delete") == 0 or choke("Could not clean $file");
+# system("cd \"$tmp\" && zip -r \"$wdir/$file\" * && jar umf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
+ system("cd \"$tmp\" && jar cmf \"$tmp/manifest\" \"$wdir/$file\" && rm -fr \"$tmp/\"*") == 0 or choke("Could not create replacement jar.");
info("Replaced $file");
return 1;
}
hooks/post-receive
--
eclipse - Powerful IDE written in java - Debian package.
More information about the pkg-java-commits
mailing list