The following commit has been merged in the master branch:
commit 16f7384b355d99d0fb0ea1b60681c6482d1f78b5
Author: Jakub Adam <jakub.a...@ktknet.cz>
Date:   Sun Mar 25 00:08:05 2012 +0100

    Updated d/get-orig-source

diff --git a/debian/get-orig-source b/debian/get-orig-source
index e7e040d..60b7269 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -2,8 +2,8 @@
 set -e
 
 NAME=eclipse-mylyn
-VERSION=3.6.5
-DEB_VERSION=${VERSION}+dfsg1
+VERSION=3.7.0
+DEB_VERSION=${VERSION}
 
 MYLYN_GIT_WEB=http://git.eclipse.org/c/mylyn/
 
@@ -21,7 +21,6 @@ rm -rf ${NAME}-${VERSION}
 VERSION_UNDERSCORE=$(echo $VERSION | sed "s/\./_/g")
 
 downloadSnapshot() {
-       echo "down"
        MODULE_NAME=$1
 
        MODULE_DIR=$MODULE_NAME-R_$VERSION_UNDERSCORE
@@ -32,6 +31,15 @@ downloadSnapshot() {
        mv $MODULE_DIR $MODULE_NAME
 }
 
+unzipTestProject() {
+       PROJECT_NAME="$1"
+       mkdir $PROJECT_NAME
+       unzip $PROJECT_NAME.zip -d $PROJECT_NAME
+       rm -rf $PROJECT_NAME/bin $PROJECT_NAME.zip
+       find $PROJECT_NAME -type d -name CVS | xargs rm -r
+       find $PROJECT_NAME -type f -name .cvsignore -delete
+}
+
 downloadSnapshot org.eclipse.mylyn.all
 cd org.eclipse.mylyn.all
 rm *.sh
@@ -45,20 +53,25 @@ done
 
 find -type f -name .gitignore -delete
 rm -f 
org.eclipse.mylyn.builds/org.eclipse.mylyn.hudson.tests/testdata/org.eclipse.mylyn.builds.sample.ant/junit.jar
+rm -f 
org.eclipse.mylyn.commons/org.eclipse.mylyn.commons.sdk.util/testdata/keystore
 rm -rf org.eclipse.mylyn.commons/org.eclipse.mylyn.discovery.ui/lib-e3.*
-rm -rf org.eclipse.mylyn.docs/org.eclipse.mylyn.htmltext/ckeditor
+rm -rf org.eclipse.mylyn.docs/org.eclipse.mylyn.htmltext.ui/ckeditor
+rm -f 
org.eclipse.mylyn.docs/org.eclipse.mylyn.docs.epub.help/docs/source/Illustrations.key
+rmdir -f org.eclipse.mylyn.docs/org.eclipse.mylyn.docs.epub.help/docs/source
+rmdir -f org.eclipse.mylyn.docs/org.eclipse.mylyn.wikitext.mediawiki.core/lib
 
 # Remove precompiled classes and CVS data from test archives, keep them 
uncompressed
 # for easier handling in version control.
-cd org.eclipse.mylyn.context/org.eclipse.mylyn.context.tests/testdata/projects
-mkdir project1 project2
-unzip project1.zip -d project1
-unzip project2.zip -d project2
-rm -rf project1/bin project2/bin project1.zip project2.zip
-find -type d -name CVS | xargs rm -r
-find -type f -name .cvsignore -delete
-cd ../../../../..
+cd 
org.eclipse.mylyn.context/org.eclipse.mylyn.context.sdk.java/testdata/projects
+unzipTestProject project1
+unzipTestProject project2
+cd ../../../..
+cd org.eclipse.mylyn.context/org.eclipse.mylyn.java.tests/testdata/projects
+unzipTestProject project1
+unzipTestProject project2
+cd ../../../..
 
+cd ..
 mv org.eclipse.mylyn.all $NAME-$VERSION
 
 echo "Creating tarball '${NAME}_${DEB_VERSION}.orig.tar.bz2'..."

-- 
eclipse-mylyn - Plug-in for eclipse - Debian package.

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to