Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

スクリプトを整理。

  • Loading branch information...
commit e66b4dd263ce06b16a2a1d77c10a996d6558c5ff 1 parent fec312e
@sasasin authored
View
32 sreader/script/build.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# SReader is RSS/Atom feed reader with full text.
+#
+# Copyright (C) 2011, Shinnosuke Suzuki <sasasin@sasasin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of
+# the License, or any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program.
+# If not, see <http://www.gnu.org/licenses/>.
+#
+
+BASEDIR=$(cd $(dirname $0);pwd)
+
+cd $BASEDIR/../
+
+# シェルスクリプト実行に必要なライブラリ収集
+mvn dependency:copy-dependencies -DoutputDirectory=lib_ext
+
+# アプリのコンパイル
+mvn clean compile package
+cp $BASEDIR/../target/*.jar $BASEDIR/../lib_ext
+
View
30 sreader/script/run_eftrule.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# SReader is RSS/Atom feed reader with full text.
+#
+# Copyright (C) 2011, Shinnosuke Suzuki <sasasin@sasasin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of
+# the License, or any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program.
+# If not, see <http://www.gnu.org/licenses/>.
+#
+
+BASEDIR=$(cd $(dirname $0);pwd)
+
+cd $BASEDIR/../
+
+# FeedReaderの実行
+java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
+ net.sasasin.sreader.EftRulesDriver
+
+cd $BASEDIR
View
9 sreader/script/run_feedreader.sh
@@ -27,19 +27,10 @@ cd $BASEDIR/../
java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
net.sasasin.sreader.SingleAccountFeedReader
-# FeedReaderの実行
-java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
- net.sasasin.sreader.EftRulesDriver
-
java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
net.sasasin.sreader.ContentHeaderDriver
java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
net.sasasin.sreader.ContentFullTextDriver
-# GMailで配信
-# gmail_login_infoテーブルに、データを入れておかないと、空回りして悲しい
-java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
- net.sasasin.sreader.publish.GMailPublisher
-
cd $BASEDIR
View
31 sreader/script/run_publisher.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# SReader is RSS/Atom feed reader with full text.
+#
+# Copyright (C) 2011, Shinnosuke Suzuki <sasasin@sasasin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of
+# the License, or any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program.
+# If not, see <http://www.gnu.org/licenses/>.
+#
+
+BASEDIR=$(cd $(dirname $0);pwd)
+
+cd $BASEDIR/../
+
+# GMailで配信
+# gmail_login_infoテーブルに、データを入れておかないと、空回りして悲しい
+java -cp $BASEDIR/../lib/\*:$BASEDIR/../lib_ext/\* \
+ net.sasasin.sreader.publish.GMailPublisher
+
+cd $BASEDIR
Please sign in to comment.
Something went wrong with that request. Please try again.