From: <hee...@us...> - 2011-09-22 08:12:16
|
Revision: 3282 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3282&view=rev Author: heeroyuy Date: 2011-09-22 08:12:08 +0000 (Thu, 22 Sep 2011) Log Message: ----------- -debian paket zeug Added Paths: ----------- trunk/components-core/src/deb-package/ trunk/components-core/src/deb-package/build_debpkg.sh trunk/components-core/src/deb-package/debian/ trunk/components-core/src/deb-package/debian/README trunk/components-core/src/deb-package/debian/README.Debian trunk/components-core/src/deb-package/debian/README.source trunk/components-core/src/deb-package/debian/changelog trunk/components-core/src/deb-package/debian/compat trunk/components-core/src/deb-package/debian/components-core.substvars trunk/components-core/src/deb-package/debian/control trunk/components-core/src/deb-package/debian/copyright trunk/components-core/src/deb-package/debian/dl-learner-components-core.install trunk/components-core/src/deb-package/debian/docs trunk/components-core/src/deb-package/debian/files trunk/components-core/src/deb-package/debian/rules trunk/components-core/src/deb-package/debian/source/ trunk/components-core/src/deb-package/debian/source/format trunk/interfaces/src/deb-package/ trunk/interfaces/src/deb-package/build_debpkg.sh trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.Debian trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.source trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/changelog trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/compat trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/control trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/copyright trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.install trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.substvars trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/docs trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/files trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/rules trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/source/ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/source/format trunk/interfaces/src/deb-package/dllearner-CLI.sh trunk/interfaces/src/deb-package/dllearner-GUI.sh trunk/interfaces/src/deb-package/dllearner-cli trunk/interfaces/src/deb-package/dllearner-gui Added: trunk/components-core/src/deb-package/build_debpkg.sh =================================================================== --- trunk/components-core/src/deb-package/build_debpkg.sh (rev 0) +++ trunk/components-core/src/deb-package/build_debpkg.sh 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,17 @@ +#!/bin/sh +MODULE_NAME=components-core-0.5-SNAPSHOT +echo "Building Debian package for ${MODULE_NAME}" +echo +rm -rf ../../target/dl-learner-components-core-0.5 +mkdir -p ../../target/dl-learner-components-core-0.5/usr/share/dllearner +# Extract the tarball to the package workspace +#tar xfz data.tar.gz --directory ../../target/deb-pkg +# copy war file to package workspace +cp ../../target/components-core-1.0-SNAPSHOT-jar-with-dependencies.jar ../../target/dl-learner-components-core-0.5/usr/share/dllearner +# Add the Debian control files +cp -r debian ../../target/dl-learner-components-core-0.5 +cd ../../target/dl-learner-components-core-0.5/debian +dch -i +# Build the package and sign it. +cd ../../target/dl-learner-components-core-0.5 +debuild --check-dirname-level 0 Added: trunk/components-core/src/deb-package/debian/README =================================================================== --- trunk/components-core/src/deb-package/debian/README (rev 0) +++ trunk/components-core/src/deb-package/debian/README 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,6 @@ +The Debian Package components-core +---------------------------- + +Comments regarding the Package + + -- Heero Yuy <chr...@ya...> Mon, 04 Jul 2011 19:27:59 +0200 Added: trunk/components-core/src/deb-package/debian/README.Debian =================================================================== --- trunk/components-core/src/deb-package/debian/README.Debian (rev 0) +++ trunk/components-core/src/deb-package/debian/README.Debian 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,6 @@ +components-core for Debian +-------------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Heero Yuy <chr...@ya...> Mon, 04 Jul 2011 19:27:59 +0200 Added: trunk/components-core/src/deb-package/debian/README.source =================================================================== --- trunk/components-core/src/deb-package/debian/README.source (rev 0) +++ trunk/components-core/src/deb-package/debian/README.source 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,9 @@ +components-core for Debian +-------------------------- + +<this file describes information about the source package, see Debian policy +manual section 4.14. You WILL either need to modify or delete this file> + + + + Added: trunk/components-core/src/deb-package/debian/changelog =================================================================== --- trunk/components-core/src/deb-package/debian/changelog (rev 0) +++ trunk/components-core/src/deb-package/debian/changelog 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,5 @@ +dl-learner-components-core (0.5-1) lod2; urgency=low + + * Initial Release. + + -- Christian Kötteritzsch (Der Student) <chr...@ya...> Mon, 04 Jul 2011 19:27:59 +0200 Added: trunk/components-core/src/deb-package/debian/compat =================================================================== --- trunk/components-core/src/deb-package/debian/compat (rev 0) +++ trunk/components-core/src/deb-package/debian/compat 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +7 Added: trunk/components-core/src/deb-package/debian/components-core.substvars =================================================================== --- trunk/components-core/src/deb-package/debian/components-core.substvars (rev 0) +++ trunk/components-core/src/deb-package/debian/components-core.substvars 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +misc:Depends= Added: trunk/components-core/src/deb-package/debian/control =================================================================== --- trunk/components-core/src/deb-package/debian/control (rev 0) +++ trunk/components-core/src/deb-package/debian/control 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,14 @@ +Source: dl-learner-components-core +Section: misc +Priority: extra +Maintainer: Jens Lehmann <le...@in...> +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Homepage: http://dl-learner.org +#Vcs-Git: git://git.debian.org/collab-maint/components-core.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/components-core.git;a=summary + +Package: dl-learner-components-core +Architecture: all +Depends: openjdk-6-jre | sun-java6-jre +Description: This is a package that contains the core components of the dl-learner. Added: trunk/components-core/src/deb-package/debian/copyright =================================================================== --- trunk/components-core/src/deb-package/debian/copyright (rev 0) +++ trunk/components-core/src/deb-package/debian/copyright 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: components-core +Source: <url://example.com> + +Files: * +Copyright: <years> <put author's name and email here> + <years> <likewise for another author> +License: Apache-2.0 + +Files: debian/* +Copyright: 2011 Heero Yuy <chr...@ya...> +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. Added: trunk/components-core/src/deb-package/debian/dl-learner-components-core.install =================================================================== --- trunk/components-core/src/deb-package/debian/dl-learner-components-core.install (rev 0) +++ trunk/components-core/src/deb-package/debian/dl-learner-components-core.install 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +../components-core-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/share/dllearner \ No newline at end of file Added: trunk/components-core/src/deb-package/debian/docs =================================================================== Added: trunk/components-core/src/deb-package/debian/files =================================================================== --- trunk/components-core/src/deb-package/debian/files (rev 0) +++ trunk/components-core/src/deb-package/debian/files 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +components-core_0.5_all.deb misc extra Added: trunk/components-core/src/deb-package/debian/rules =================================================================== --- trunk/components-core/src/deb-package/debian/rules (rev 0) +++ trunk/components-core/src/deb-package/debian/rules 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ Added: trunk/components-core/src/deb-package/debian/source/format =================================================================== --- trunk/components-core/src/deb-package/debian/source/format (rev 0) +++ trunk/components-core/src/deb-package/debian/source/format 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +3.0 (native) Added: trunk/interfaces/src/deb-package/build_debpkg.sh =================================================================== --- trunk/interfaces/src/deb-package/build_debpkg.sh (rev 0) +++ trunk/interfaces/src/deb-package/build_debpkg.sh 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,31 @@ +#!/bin/sh +MODULE_NAME=interfaces-0.5-SNAPSHOT +echo "Building Debian package for ${MODULE_NAME}" +echo +rm -rf ../../target/dl-learner-interfaces-0.5 +mkdir -p ../../target/dl-learner-interfaces-0.5/usr/share/dllearner +mkdir -p ../../target/dl-learner-interfaces-0.5/usr/share/pixmaps +mkdir -p ../../target/dl-learner-interfaces-0.5/usr/share/applications +# Extract the tarball to the package workspace +#tar xfz data.tar.gz --directory ../../target/deb-pkg +# copy war file to package workspace +cp ../../target/interfaces-jar-with-dependencies.jar ../../target/dl-learner-interfaces-0.5/usr/share/dllearner +cp dllearner-gui dllearner-gui.desktop +cp dllearner-cli dllearner-cli.desktop +mv -v dllearner-gui.desktop ../../target/dl-learner-interfaces-0.5/usr/share/applications +mv -v dllearner-cli.desktop ../../target/dl-learner-interfaces-0.5/usr/share/applications +cp ../../target/appassembler/bin/StartCLI ../../target/appassembler/bin/dllearner-CLI.sh +cp ../../target/appassembler/bin/StartGUI ../../target/appassembler/bin/dllearner-GUI.sh +mv ../../target/appassembler/bin/dllearner-CLI.sh ../../target/dl-learner-interfaces-0.5/usr/share/dllearner +mv ../../target/appassembler/bin/dllearner-GUI.sh ../../target/dl-learner-interfaces-0.5/usr/share/dllearner +cp ../../../images/logos/dllearner_small.png ../../target/dl-learner-interfaces-0.5/usr/share/pixmaps +# Add the Debian control files +cd dl-learner-interfaces-0.5/debian +dch -n +cd .. +cp -r debian ../../../target/dl-learner-interfaces-0.5 +cd ../../../target/dl-learner-interfaces-0.5/debian +# Build the package and sign it. +cd ../../../target/dl-learner-interfaces-0.5 +debuild --check-dirname-level 0 + Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,6 @@ +The Debian Package dl-learner-interfaces +---------------------------- + +Comments regarding the Package + + -- Heero Yuy <chr...@ya...> Thu, 07 Jul 2011 20:16:12 +0200 Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.Debian =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.Debian (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.Debian 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,6 @@ +dl-learner-interfaces for Debian +-------------------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Heero Yuy <chr...@ya...> Thu, 07 Jul 2011 20:16:12 +0200 Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.source =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.source (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/README.source 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,9 @@ +dl-learner-interfaces for Debian +-------------------------------- + +<this file describes information about the source package, see Debian policy +manual section 4.14. You WILL either need to modify or delete this file> + + + + Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/changelog =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/changelog (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/changelog 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,11 @@ +dl-learner-interfaces (0.5-2) lod2; urgency=low + + * Added start scripts for the interfaces + + -- Christian Kötteritzsch (Der Student) <chr...@ya...> Thu, 14 Jul 2011 12:36:41 +0200 + +dl-learner-interfaces (0.5-1) lod2; urgency=low + + * Initial Release. + + -- Christian Kötteritzsch (Der Student) <chr...@ya...> Thu, 07 Jul 2011 20:16:12 +0200 Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/compat =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/compat (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/compat 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +7 Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/control =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/control (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/control 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,15 @@ +Source: dl-learner-interfaces +Section: misc +Priority: extra +Maintainer: Jens Lehmann <le...@in...> +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Homepage: http://dl-learner.org +#Vcs-Git: git://git.debian.org/collab-maint/dl-learner-interfaces.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/dl-learner-interfaces.git;a=summary + +Package: dl-learner-interfaces +Architecture: all +Depends: openjdk-6-jre | sun-java6-jre, dl-learner-components-core +Description: This package provides interfaces to use DL-Learner: + a commandline interface, a graphical user interface and a web service. You can start them using the commands dl-learner-cli, dl-learner-gui and dl-learner-ws. Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/copyright =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/copyright (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/copyright 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: dl-learner-interfaces +Source: <url://example.com> + +Files: * +Copyright: <years> <put author's name and email here> + <years> <likewise for another author> +License: Apache-2.0 + +Files: debian/* +Copyright: 2011 Heero Yuy <chr...@ya...> +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.install =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.install (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.install 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,6 @@ +../interfaces-jar-with-dependencies.jar /usr/share/dllearner +../dllearner-gui.desktop /usr/share/applications +../dllearner-cli dllearner-cli.desktop /usr/share/applications +../dllearner_small.png /usr/share/pixmaps +../dllearner-CLI.sh /usr/share/dllearner +../dllearner-GUI.sh /usr/share/dllearner \ No newline at end of file Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.substvars =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.substvars (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/dl-learner-interfaces.substvars 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +misc:Depends= Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/docs =================================================================== Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/files =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/files (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/files 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,2 @@ +dl-learner-interfaces_0.5-2.1_all.deb misc extra +dl-learner-interfaces_0.5-2.tar.gz Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/rules =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/rules (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/rules 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ Added: trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/source/format =================================================================== --- trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/source/format (rev 0) +++ trunk/interfaces/src/deb-package/dl-learner-interfaces-0.5/debian/source/format 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1 @@ +3.0 (native) Added: trunk/interfaces/src/deb-package/dllearner-CLI.sh =================================================================== --- trunk/interfaces/src/deb-package/dllearner-CLI.sh (rev 0) +++ trunk/interfaces/src/deb-package/dllearner-CLI.sh 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,100 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Copyright 2001-2006 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------- + +# Copyright (c) 2001-2002 The Apache Software Foundation. All rights +# reserved. + +BASEDIR=`dirname $0`/.. +BASEDIR=`(cd "$BASEDIR"; pwd)` + + + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_VERSION" ] ; then + JAVA_VERSION="CurrentJDK" + else + echo "Using Java version: $JAVA_VERSION" + fi + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# If a specific java binary isn't specified search for the standard 'java' binary +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java` + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +if [ -z "$REPO" ] +then + REPO="$BASEDIR"/repo +fi + +CLASSPATH=$CLASSPATH_PREFIX:"$BASEDIR"/etc:"$REPO"/org/dllearner/components-core/1.0-SNAPSHOT/components-core-1.0-SNAPSHOT-jar-with-dependencies.jar:"$REPO"/com/jamonapi/jamon/2.7/jamon-2.7.jar:"$REPO"/org/aksw/commons/sparql/0.2-SNAPSHOT/sparql-0.2-20110917.162637-14.jar:"$REPO"/org/aksw/commons/util/0.2-SNAPSHOT/util-0.2-20110920.143923-15.jar:"$REPO"/org/aksw/commons/collections/0.2-SNAPSHOT/collections-0.2-20110920.143941-14.jar:"$REPO"/org/aksw/commons/collections-scala/0.2-SNAPSHOT/collections-scala-0.2-20110917.162637-13.jar:"$REPO"/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar:"$REPO"/com/hp/hpl/jena/iri/0.8/iri-0.8.jar:"$REPO"/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar:"$REPO"/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar:"$REPO"/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.jar:"$REPO"/log4j/log4j/1.2.16/log4j-1.2.16.jar:"$REPO"/com/hp/hpl/jena/arq/2.8.8/arq-2.8.8.jar:"$REPO"/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar:"$REPO"/stax/stax-api/1.0.1/stax-api-1.0.1.jar:"$REPO"/org/apache/lucene/lucene-core/2.9.3/lucene-core-2.9.3.jar:"$REPO"/com/owldl/pellet/2.2.2/pellet-2.2.2.jar:"$REPO"/aterm/aterm-java/1.6/aterm-java-1.6.jar:"$REPO"/xsdlib/xsdlib/20030225/xsdlib-20030225.jar:"$REPO"/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar:"$REPO"/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.jar:"$REPO"/net/sourceforge/owlapi/owlapi/3.1.0/owlapi-3.1.0.jar:"$REPO"/com/openlink/virtuoso/virtjdbc3/6.1.2/virtjdbc3-6.1.2.jar:"$REPO"/com/openlink/virtuoso/virt_jena/6.1.2/virt_jena-6.1.2.jar:"$REPO"/com/google/guava/guava/r07/guava-r07.jar:"$REPO"/net/sourceforge/collections/collections-generic/4.01/collections-generic-4.01.jar:"$REPO"/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:"$REPO"/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:"$REPO"/com/hp/hpl/jena/sdb/1.3.4/sdb-1.3.4.jar:"$REPO"/com/hp/hpl/jena/tdb/0.8.9/tdb-0.8.9.jar:"$REPO"/com/hp/hpl/jena/arq-extra/2.7.0/arq-extra-2.7.0.jar:"$REPO"/velocity/velocity/1.5/velocity-1.5.jar:"$REPO"/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:"$REPO"/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:"$REPO"/oro/oro/2.0.8/oro-2.0.8.jar:"$REPO"/com/h2database/h2/1.2.143/h2-1.2.143.jar:"$REPO"/org/apache/solr/solr-core/3.3.0/solr-core-3.3.0.jar:"$REPO"/org/apache/solr/solr-solrj/3.3.0/solr-solrj-3.3.0.jar:"$REPO"/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:"$REPO"/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:"$REPO"/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:"$REPO"/commons-io/commons-io/1.4/commons-io-1.4.jar:"$REPO"/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar:"$REPO"/org/apache/zookeeper/zookeeper/3.3.1/zookeeper-3.3.1.jar:"$REPO"/jline/jline/0.9.94/jline-0.9.94.jar:"$REPO"/org/apache/solr/solr-noggit/3.3.0/solr-noggit-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-analyzers/3.3.0/lucene-analyzers-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-highlighter/3.3.0/lucene-highlighter-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-memory/3.3.0/lucene-memory-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-queries/3.3.0/lucene-queries-3.3.0.jar:"$REPO"/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar:"$REPO"/org/apache/lucene/lucene-misc/3.3.0/lucene-misc-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-spatial/3.3.0/lucene-spatial-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-spellchecker/3.3.0/lucene-spellchecker-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-grouping/3.3.0/lucene-grouping-3.3.0.jar:"$REPO"/org/apache/solr/solr-commons-csv/3.3.0/solr-commons-csv-3.3.0.jar:"$REPO"/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar:"$REPO"/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:"$REPO"/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar:"$REPO"/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:"$REPO"/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:"$REPO"/commons-chain/commons-chain/1.1/commons-chain-1.1.jar:"$REPO"/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar:"$REPO"/dom4j/dom4j/1.1/dom4j-1.1.jar:"$REPO"/sslext/sslext/1.2-0/sslext-1.2-0.jar:"$REPO"/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar:"$REPO"/antlr/antlr/2.7.2/antlr-2.7.2.jar:"$REPO"/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar:"$REPO"/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar:"$REPO"/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar:"$REPO"/edu/stanford/postagger/3.0.2/postagger-3.0.2.jar:"$REPO"/lbj/library/1.0/library-1.0.jar:"$REPO"/lbj/core/1.0/core-1.0.jar:"$REPO"/lbj/ner/1.0/ner-1.0.jar:"$REPO"/jaws/core/1.0/core-1.0.jar:"$REPO"/uk/ac/shef/wit/simmetrics/1.6.2/simmetrics-1.6.2.jar:"$REPO"/woodstox/wstx-api/3.2.0/wstx-api-3.2.0.jar:"$REPO"/org/apache/opennlp/opennlp-tools/1.5.1-incubating/opennlp-tools-1.5.1-incubating.jar:"$REPO"/org/apache/opennlp/opennlp-maxent/3.0.1-incubating/opennlp-maxent-3.0.1-incubating.jar:"$REPO"/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar:"$REPO"/com/aliasi/lingpipe/4.0.1/lingpipe-4.0.1.jar:"$REPO"/org/annolab/tt4j/org.annolab.tt4j/1.0.14/org.annolab.tt4j-1.0.14.jar:"$REPO"/org/ini4j/ini4j/0.5.2/ini4j-0.5.2.jar:"$REPO"/net/didion/jwnl/jwnl/1.4.1.RC2/jwnl-1.4.1.RC2.jar:"$REPO"/org/aksw/commons/model/0.2-SNAPSHOT/model-0.2-20110917.162637-16.jar:"$REPO"/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar:"$REPO"/org/dllearner/interfaces/1.0-SNAPSHOT/interfaces-1.0-SNAPSHOT.jar +EXTRA_JVM_ARGUMENTS="" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"` + [ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"` + [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"` +fi + +exec "$JAVACMD" $JAVA_OPTS \ + $EXTRA_JVM_ARGUMENTS \ + -classpath "$CLASSPATH" \ + -Dapp.name="CLI-Start" \ + -Dapp.pid="$$" \ + -Dapp.repo="$REPO" \ + -Dbasedir="$BASEDIR" \ + org.dllearner.cli.Start \ + "$@" Added: trunk/interfaces/src/deb-package/dllearner-GUI.sh =================================================================== --- trunk/interfaces/src/deb-package/dllearner-GUI.sh (rev 0) +++ trunk/interfaces/src/deb-package/dllearner-GUI.sh 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,100 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Copyright 2001-2006 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------- + +# Copyright (c) 2001-2002 The Apache Software Foundation. All rights +# reserved. + +BASEDIR=`dirname $0`/.. +BASEDIR=`(cd "$BASEDIR"; pwd)` + + + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_VERSION" ] ; then + JAVA_VERSION="CurrentJDK" + else + echo "Using Java version: $JAVA_VERSION" + fi + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# If a specific java binary isn't specified search for the standard 'java' binary +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java` + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +if [ -z "$REPO" ] +then + REPO="$BASEDIR"/repo +fi + +CLASSPATH=$CLASSPATH_PREFIX:"$BASEDIR"/etc:"$REPO"/org/dllearner/components-core/1.0-SNAPSHOT/components-core-1.0-SNAPSHOT-jar-with-dependencies.jar:"$REPO"/com/jamonapi/jamon/2.7/jamon-2.7.jar:"$REPO"/org/aksw/commons/sparql/0.2-SNAPSHOT/sparql-0.2-20110917.162637-14.jar:"$REPO"/org/aksw/commons/util/0.2-SNAPSHOT/util-0.2-20110920.143923-15.jar:"$REPO"/org/aksw/commons/collections/0.2-SNAPSHOT/collections-0.2-20110920.143941-14.jar:"$REPO"/org/aksw/commons/collections-scala/0.2-SNAPSHOT/collections-scala-0.2-20110917.162637-13.jar:"$REPO"/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar:"$REPO"/com/hp/hpl/jena/iri/0.8/iri-0.8.jar:"$REPO"/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar:"$REPO"/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar:"$REPO"/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.jar:"$REPO"/log4j/log4j/1.2.16/log4j-1.2.16.jar:"$REPO"/com/hp/hpl/jena/arq/2.8.8/arq-2.8.8.jar:"$REPO"/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar:"$REPO"/stax/stax-api/1.0.1/stax-api-1.0.1.jar:"$REPO"/org/apache/lucene/lucene-core/2.9.3/lucene-core-2.9.3.jar:"$REPO"/com/owldl/pellet/2.2.2/pellet-2.2.2.jar:"$REPO"/aterm/aterm-java/1.6/aterm-java-1.6.jar:"$REPO"/xsdlib/xsdlib/20030225/xsdlib-20030225.jar:"$REPO"/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar:"$REPO"/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.jar:"$REPO"/net/sourceforge/owlapi/owlapi/3.1.0/owlapi-3.1.0.jar:"$REPO"/com/openlink/virtuoso/virtjdbc3/6.1.2/virtjdbc3-6.1.2.jar:"$REPO"/com/openlink/virtuoso/virt_jena/6.1.2/virt_jena-6.1.2.jar:"$REPO"/com/google/guava/guava/r07/guava-r07.jar:"$REPO"/net/sourceforge/collections/collections-generic/4.01/collections-generic-4.01.jar:"$REPO"/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:"$REPO"/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:"$REPO"/com/hp/hpl/jena/sdb/1.3.4/sdb-1.3.4.jar:"$REPO"/com/hp/hpl/jena/tdb/0.8.9/tdb-0.8.9.jar:"$REPO"/com/hp/hpl/jena/arq-extra/2.7.0/arq-extra-2.7.0.jar:"$REPO"/velocity/velocity/1.5/velocity-1.5.jar:"$REPO"/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:"$REPO"/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:"$REPO"/oro/oro/2.0.8/oro-2.0.8.jar:"$REPO"/com/h2database/h2/1.2.143/h2-1.2.143.jar:"$REPO"/org/apache/solr/solr-core/3.3.0/solr-core-3.3.0.jar:"$REPO"/org/apache/solr/solr-solrj/3.3.0/solr-solrj-3.3.0.jar:"$REPO"/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:"$REPO"/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:"$REPO"/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:"$REPO"/commons-io/commons-io/1.4/commons-io-1.4.jar:"$REPO"/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar:"$REPO"/org/apache/zookeeper/zookeeper/3.3.1/zookeeper-3.3.1.jar:"$REPO"/jline/jline/0.9.94/jline-0.9.94.jar:"$REPO"/org/apache/solr/solr-noggit/3.3.0/solr-noggit-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-analyzers/3.3.0/lucene-analyzers-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-highlighter/3.3.0/lucene-highlighter-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-memory/3.3.0/lucene-memory-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-queries/3.3.0/lucene-queries-3.3.0.jar:"$REPO"/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar:"$REPO"/org/apache/lucene/lucene-misc/3.3.0/lucene-misc-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-spatial/3.3.0/lucene-spatial-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-spellchecker/3.3.0/lucene-spellchecker-3.3.0.jar:"$REPO"/org/apache/lucene/lucene-grouping/3.3.0/lucene-grouping-3.3.0.jar:"$REPO"/org/apache/solr/solr-commons-csv/3.3.0/solr-commons-csv-3.3.0.jar:"$REPO"/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar:"$REPO"/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:"$REPO"/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar:"$REPO"/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:"$REPO"/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:"$REPO"/commons-chain/commons-chain/1.1/commons-chain-1.1.jar:"$REPO"/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar:"$REPO"/dom4j/dom4j/1.1/dom4j-1.1.jar:"$REPO"/sslext/sslext/1.2-0/sslext-1.2-0.jar:"$REPO"/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar:"$REPO"/antlr/antlr/2.7.2/antlr-2.7.2.jar:"$REPO"/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar:"$REPO"/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar:"$REPO"/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar:"$REPO"/edu/stanford/postagger/3.0.2/postagger-3.0.2.jar:"$REPO"/lbj/library/1.0/library-1.0.jar:"$REPO"/lbj/core/1.0/core-1.0.jar:"$REPO"/lbj/ner/1.0/ner-1.0.jar:"$REPO"/jaws/core/1.0/core-1.0.jar:"$REPO"/uk/ac/shef/wit/simmetrics/1.6.2/simmetrics-1.6.2.jar:"$REPO"/woodstox/wstx-api/3.2.0/wstx-api-3.2.0.jar:"$REPO"/org/apache/opennlp/opennlp-tools/1.5.1-incubating/opennlp-tools-1.5.1-incubating.jar:"$REPO"/org/apache/opennlp/opennlp-maxent/3.0.1-incubating/opennlp-maxent-3.0.1-incubating.jar:"$REPO"/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar:"$REPO"/com/aliasi/lingpipe/4.0.1/lingpipe-4.0.1.jar:"$REPO"/org/annolab/tt4j/org.annolab.tt4j/1.0.14/org.annolab.tt4j-1.0.14.jar:"$REPO"/org/ini4j/ini4j/0.5.2/ini4j-0.5.2.jar:"$REPO"/net/didion/jwnl/jwnl/1.4.1.RC2/jwnl-1.4.1.RC2.jar:"$REPO"/org/aksw/commons/model/0.2-SNAPSHOT/model-0.2-20110917.162637-16.jar:"$REPO"/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar:"$REPO"/org/dllearner/interfaces/1.0-SNAPSHOT/interfaces-1.0-SNAPSHOT.jar +EXTRA_JVM_ARGUMENTS="" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"` + [ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"` + [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"` +fi + +exec "$JAVACMD" $JAVA_OPTS \ + $EXTRA_JVM_ARGUMENTS \ + -classpath "$CLASSPATH" \ + -Dapp.name="GUI-Start" \ + -Dapp.pid="$$" \ + -Dapp.repo="$REPO" \ + -Dbasedir="$BASEDIR" \ + org.dllearner.gui.StartGUI \ + "$@" Added: trunk/interfaces/src/deb-package/dllearner-cli =================================================================== --- trunk/interfaces/src/deb-package/dllearner-cli (rev 0) +++ trunk/interfaces/src/deb-package/dllearner-cli 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=DL-Learner CLI Start +Name[de]=DL-Learner CLI Start +Comment=This is the start button for the DL-Learner CLI interface +Comment[de]=Das ist die Startdatei für das DL-Learner CLI Interface +Exec=/usr/share/dllearner/dllearner-cli.sh +Icon=dllearner_small +Terminal=true +Type=Application +Categories=Development; +StartupNotify=false Added: trunk/interfaces/src/deb-package/dllearner-gui =================================================================== --- trunk/interfaces/src/deb-package/dllearner-gui (rev 0) +++ trunk/interfaces/src/deb-package/dllearner-gui 2011-09-22 08:12:08 UTC (rev 3282) @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=DL-Learner GUI Start +Name[de]=DL-Learner GUI Start +Comment=This is the start button for the DL-Learner GUI interface +Comment[de]=Das ist die Startdatei für das DL-Learner GUI Interface +Exec=/usr/share/dllearner/dllearner-gui.sh +Icon=dllearner_small +Terminal=true +Type=Application +Categories=Development; +StartupNotify=false This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |