From: <dc...@us...> - 2012-04-19 22:10:27
|
Revision: 3645 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3645&view=rev Author: dcherix Date: 2012-04-19 22:10:21 +0000 (Thu, 19 Apr 2012) Log Message: ----------- files added for creating a debian package Added Paths: ----------- trunk/interfaces/CHANGES.txt trunk/interfaces/DebianPackageREADME.txt trunk/interfaces/log4j.properties trunk/interfaces/src/debian/ trunk/interfaces/src/debian/changelog trunk/interfaces/src/debian/control trunk/interfaces/src/debian/rules Added: trunk/interfaces/CHANGES.txt =================================================================== --- trunk/interfaces/CHANGES.txt (rev 0) +++ trunk/interfaces/CHANGES.txt 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1,2 @@ +release date=20:13 13.10.2009,version=0.2,urgency=low,by=Jens Lehmann,distribution=staging + * Test application Added: trunk/interfaces/DebianPackageREADME.txt =================================================================== --- trunk/interfaces/DebianPackageREADME.txt (rev 0) +++ trunk/interfaces/DebianPackageREADME.txt 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1,8 @@ +To create a debian package: + 1. use dch (apt-get install devscripts) to modify the changelog file in src/debian + 2. just copy the comments (only the comments) from the changelog file to CHANGES.txt + In CHANGES.txt the first line must be like release date=20:13 13.10.2009,version=0.2,urgency=low,by=Jens Lehmann,distribution=staging + paste the comments after this with one whitespace at begin of the line + 3. compile with mvn clean install -Pdebpackage + 4. the deb-package will be generate in target with a .changes file too + 5. sign the package and upload it to the stack \ No newline at end of file Added: trunk/interfaces/log4j.properties =================================================================== --- trunk/interfaces/log4j.properties (rev 0) +++ trunk/interfaces/log4j.properties 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1,29 @@ +log4j.rootLogger=INFO, stdout, file + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout + +log4j.appender.file=org.apache.log4j.FileAppender +log4j.appender.file.File=/var/log/dllearner/interfaces.log +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern= %-4r [%t] %-5p %c %x - %m%n + +# DL-Learner Logs +log4j.logger.org.dllearner=INFO + +log4j.logger.org.dllearner.server.nke.LogicalRelationStrategy=DEBUG + +# Eliminate most of the Spring Context Loading noise +log4j.logger.org.springframework=WARN + +## log4j.logger.org.joseki.server.http.LocatorServletContext=ALL + +# Jena, including the Joseki client +#log4j.logger.com.hp.hpl.jena=WARN + +## log4j.logger.com.hp.hpl.jena.util.FileManager=ALL +## log4j.logger.com.hp.hpl.jena.util.LocatorURL=ALL +## log4j.logger.com.hp.hpl.jena.util.LocatorClassLoader=ALL +## log4j.logger.com.hp.hpl.jena.util.LocatorFile=ALL +## log4j.logger.com.hp.hpl.jena.util.LocationMapper=ALL + Property changes on: trunk/interfaces/log4j.properties ___________________________________________________________________ Added: svn:executable + * Added: trunk/interfaces/src/debian/changelog =================================================================== --- trunk/interfaces/src/debian/changelog (rev 0) +++ trunk/interfaces/src/debian/changelog 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1 @@ + Added: trunk/interfaces/src/debian/control =================================================================== --- trunk/interfaces/src/debian/control (rev 0) +++ trunk/interfaces/src/debian/control 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1,9 @@ +Package: [[name]] +Version: [[version]] +Section: misc +Priority: optional +Architecture: all +Depends: openjdk-6-jre | sun-java6-jre +Maintainer: Jens Lehmann <le...@in...> +Description: This is a package that contains the cli component of the dl-learner. +Distribution: development \ No newline at end of file Added: trunk/interfaces/src/debian/rules =================================================================== --- trunk/interfaces/src/debian/rules (rev 0) +++ trunk/interfaces/src/debian/rules 2012-04-19 22:10:21 UTC (rev 3645) @@ -0,0 +1,21 @@ +#!/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 + +install: + mkdir /usr/share/dllearner/ + mkdir /usr/share/dllearner/log + chmod -R 777 /usr/share/dllearner/log + cp -r tmp/${PACKAGE_NAME}-${VERSION}/lib /usr/share/dllearner + cp ../dllearner-cli /usr/bin/dllearner-cli + chmod +x /usr/bin/dllearner-cli + +%: + dh $@ \ No newline at end of file Property changes on: trunk/interfaces/src/debian/rules ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |