This is an automated email from the git hooks/post-receive script. nomadium pushed a commit to annotated tag debian/0.0.337.1-2 in repository bnd.
commit 952dfcca8961f6848c4ccdaee00551dd2f98fe08 Author: Ludovic Claude <[email protected]> Date: Sun Aug 2 00:02:26 2009 +0000 * Release --- debian/changelog | 2 +- debian/orig-tar.sh | 6 +-- debian/rules | 3 +- debian/svn-transform.sh | 124 ++++++++++++++++++++++++------------------------ 4 files changed, 68 insertions(+), 67 deletions(-) diff --git a/debian/changelog b/debian/changelog index 72b97c7..217e3f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -bnd (0.0.337.1-0ubuntu1~ppa10) karmic; urgency=low +bnd (0.0.337.1-1) experimental; urgency=low * Initial release. (Closes: #539558) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh old mode 100644 new mode 100755 index a65170e..252266a --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -9,12 +9,12 @@ cvs -z3 -d:pserver:[email protected]:/cvsroot/bnd co -D $DATE -d # Use a script to transform the current codebase. # Hopefully the next release of BND will adopt this layout -chmod +x svn-transform.sh -svn-transform.sh bnd-cvs $DIR +chmod +x debian/svn-transform.sh +debian/svn-transform.sh bnd-cvs $DIR rm -r bnd-cvs tar -c -z -f $TAR $DIR -rm -rf $DIR ../$TAG +#rm -rf $DIR ../$TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then diff --git a/debian/rules b/debian/rules index 0962b10..73c9278 100755 --- a/debian/rules +++ b/debian/rules @@ -19,4 +19,5 @@ clean:: -rm -rf debian/tmp get-orig-source: - -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + #-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + debian/orig-tar.sh "" $(VERSION) diff --git a/debian/svn-transform.sh b/debian/svn-transform.sh index d47141f..92bdcfc 100644 --- a/debian/svn-transform.sh +++ b/debian/svn-transform.sh @@ -32,12 +32,12 @@ rsync --cvs-exclude -r --exclude '**/*.jar' $SRC/aQute.bnd/src/aQute/bnd/test $D rsync --cvs-exclude -r $SRC/aQute.bnd/META-INF $SRC/aQute.bnd/icons $DEST/core/src/main/resources/ rsync -avmr --filter='+ */' --filter='+ *.properties' --filter='- *' $SRC/aQute.bnd/src $DEST/core/src/main/resources/ -rsync --cvs-exclude -r --exclude 'com.acme' --exclude 'iht' --exclude 'include.bnd' --exclude 'repo' --exclude 'resourcesonly' --exclude 'signing' --exclude 'split' --exclude '*.jar' --exclude '*.class' --exclude '*.jclass' --exclude '*.clazz' --exclude '*.bnd' --exclude '*.mf' --exclude '*.prop' --exclude '*.info' --exclude '*.spring' $SRC/aQute.bnd/src/test $DEST/core/src/test/java/ -cd $SRC/aQute.bnd/src/test -rsync --cvs-exclude -r com.acme iht include.bnd repo resourcesonly signing split *.jar *.class *.jclass *.clazz *.bnd *.mf *.prop *.info *.spring $DEST/core/src/test/resources/test -cd - -rsync --cvs-exclude -r $SRC/aQute.bnd/test/ $DEST/core/src/test/resources/ -rsync --cvs-exclude -r $SRC/aQute.bnd/bnd $DEST/core/src/test/resources/ +#rsync --cvs-exclude -r --exclude 'com.acme' --exclude 'iht' --exclude 'include.bnd' --exclude 'repo' --exclude 'resourcesonly' --exclude 'signing' --exclude 'split' --exclude '*.jar' --exclude '*.class' --exclude '*.jclass' --exclude '*.clazz' --exclude '*.bnd' --exclude '*.mf' --exclude '*.prop' --exclude '*.info' --exclude '*.spring' $SRC/aQute.bnd/src/test $DEST/core/src/test/java/ +#cd $SRC/aQute.bnd/src/test +#rsync --cvs-exclude -r com.acme iht include.bnd repo resourcesonly signing split *.jar *.class *.jclass *.clazz *.bnd *.mf *.prop *.info *.spring $DEST/core/src/test/resources/test +#cd - +#rsync --cvs-exclude -r $SRC/aQute.bnd/test/ $DEST/core/src/test/resources/ +#rsync --cvs-exclude -r $SRC/aQute.bnd/bnd $DEST/core/src/test/resources/ mkdir -p $DEST/compilerversions/src/main/java mkdir -p $DEST/compilerversions/src/main/bnd @@ -64,20 +64,20 @@ cp $SRC/aQute.bnd/LICENSE $DEST cp $SRC/aQute.bnd/TODO $DEST cp $SRC/aQute.bnd/testreqs $DEST -echo "Perl back magic..." +#echo "Perl back magic..." #perl -p -i -e 's|src/test|src/test/java/test|g' $DEST/core/src/test/java/test/*.java #perl -p -i -e 's|"bin"|"target/test-classes"|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|"aQute\.bnd"|"core"|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|TargetFolder=test|TargetFolder=src/test/resources|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|\"/=src/test|"/=src/test/java/test|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|extends TestCase|extends BaseTestCase|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|new File\("bin"\)|binDir|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|new File\("src"\)|srcDir|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|new File\("(.*)"\)|locateFile("\1")|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|locateFile\("src/|locateFile("|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|locateFile\("test"\)|testSrcDir|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|contains\("src/test|contains("test|g' $DEST/core/src/test/java/test/*.java -perl -p -i -e 's|\"src\"|srcDir.getAbsolutePath()|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|"aQute\.bnd"|"core"|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|TargetFolder=test|TargetFolder=src/test/resources|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|\"/=src/test|"/=src/test/java/test|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|extends TestCase|extends BaseTestCase|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|new File\("bin"\)|binDir|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|new File\("src"\)|srcDir|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|new File\("(.*)"\)|locateFile("\1")|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|locateFile\("src/|locateFile("|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|locateFile\("test"\)|testSrcDir|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|contains\("src/test|contains("test|g' $DEST/core/src/test/java/test/*.java +#perl -p -i -e 's|\"src\"|srcDir.getAbsolutePath()|g' $DEST/core/src/test/java/test/*.java echo "Create Maven and Eclipse files..." cat > $DEST/pom.xml <<EOF @@ -527,50 +527,50 @@ cat > $DEST/core/.project <<EOF </projectDescription> EOF -cat > $DEST/core/src/test/java/test/BaseTestCase.java <<EOF -package test; - -import java.io.File; - -import junit.framework.TestCase; - -public class BaseTestCase extends TestCase { - - protected File binDir; - protected File srcDir; - protected File testSrcDir; - - protected void setUp() throws Exception { - super.setUp(); - binDir = new File("target/test-classes"); - if (!binDir.exists()) { - binDir = new File("bin"); - } - srcDir = new File("src/test/java"); - testSrcDir = new File(srcDir, "test"); - } - - protected File locateFile(String relPath) { - File found = null; - if (getClass().getResource("/" + relPath) != null) { - String path = getClass().getResource("/" + relPath).getPath(); - path = path.replace("file:", ""); - System.out.println(path); - found = new File(path); - if (!found.exists()) { - found = null; - } - } - if (found == null) { - found = new File("src/test/resources/" + relPath); - if (!found.exists()) { - found = new File("src/test/java/" + relPath); - } - } - return found; - } -} -EOF +#cat > $DEST/core/src/test/java/test/BaseTestCase.java <<EOF +#package test; +# +#import java.io.File; +# +#import junit.framework.TestCase; +# +#public class BaseTestCase extends TestCase { +# +# protected File binDir; +# protected File srcDir; +# protected File testSrcDir; +# +# protected void setUp() throws Exception { +# super.setUp(); +# binDir = new File("target/test-classes"); +# if (!binDir.exists()) { +# binDir = new File("bin"); +# } +# srcDir = new File("src/test/java"); +# testSrcDir = new File(srcDir, "test"); +# } +# +# protected File locateFile(String relPath) { +# File found = null; +# if (getClass().getResource("/" + relPath) != null) { +# String path = getClass().getResource("/" + relPath).getPath(); +# path = path.replace("file:", ""); +# System.out.println(path); +# found = new File(path); +# if (!found.exists()) { +# found = null; +# } +# } +# if (found == null) { +# found = new File("src/test/resources/" + relPath); +# if (!found.exists()) { +# found = new File("src/test/java/" + relPath); +# } +# } +# return found; +# } +#} +#EOF cat > $DEST/eclipse/.classpath <<EOF <?xml version="1.0" encoding="UTF-8"?> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bnd.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

