-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from rwth-acis/develop
version v0.1.2-alpha
- Loading branch information
Showing
14 changed files
with
412 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
#! /bin/bash | ||
#!/bin/bash | ||
|
||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd ${SCRIPTDIR}/../ | ||
BASE=${PWD} | ||
export CLASSPATH="${PWD}/lib/*" | ||
|
||
if [[ "$#" -ne 2 ]]; then | ||
echo "Syntax error!" | ||
echo "" | ||
echo "Usage: start_ServiceAgentGenerator <service.canonical.class.name> <service.password>"; | ||
else | ||
java -cp "${CLASSPATH}" i5.las2peer.tools.ServiceAgentGenerator $1 $2 | ||
fi | ||
# this scripts generates a xml file for the specified ServiceClass with the desired ServicePass | ||
# pls run the script form the root folder of your deployment, e. g. ./bin/start_ServiceAgentGenerator.sh | ||
|
||
java -cp "lib/*" i5.las2peer.tools.ServiceAgentGenerator "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
#! /bin/bash | ||
#!/bin/bash | ||
|
||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd ${SCRIPTDIR}/../ | ||
BASE=${PWD} | ||
export CLASSPATH="${PWD}/lib/*" | ||
# this scripts generates an user agent as xml file in order to upload it via the startup folder | ||
# pls run the script form the root folder of your deployment, e. g. ./bin/start_UserAgentGenerator.sh | ||
|
||
if [[ "$#" -ne 3 ]]; then | ||
echo "Syntax error!" | ||
echo "" | ||
echo "Usage: start_UserAgentGenerator <user.name> <user.pass> <user.mail>"; | ||
else | ||
java -cp "${CLASSPATH}" i5.las2peer.tools.UserAgentGenerator $2 $1 $3 | ||
fi | ||
java -cp "lib/*" i5.las2peer.tools.UserAgentGenerator "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
:: this script starts a las2peer node providing the example service of this project | ||
:: pls execute it from the bin folder of your deployment by double-clicking on it | ||
:: this script is autogenerated by 'ant | ||
startscripts' | ||
:: it starts a LAS2peer node providing the service 'de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService' of this project | ||
:: pls execute it from the bin folder of your deployment by double-clicking on it | ||
|
||
%~d0 | ||
cd %~p0 | ||
cd .. | ||
set BASE=%CD% | ||
set CLASSPATH="%BASE%/lib/*;" | ||
%~d0 | ||
cd %~p0 | ||
cd .. | ||
set BASE=%CD% | ||
set CLASSPATH="%BASE%/lib/*;" | ||
|
||
java -cp %CLASSPATH% i5.las2peer.tools.L2pNodeLauncher -w -p 9012 uploadStartupDirectory('etc/startup') startService('de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService','TemplateServicePass') startWebConnector interactive | ||
pause | ||
java -cp %CLASSPATH% i5.las2peer.tools.L2pNodeLauncher -p 9012 uploadStartupDirectory startService('de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService@0.1','Passphrase') startWebConnector interactive | ||
pause | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# this script starts a las2peer node providing the example service of this project | ||
# pls execute it from the root folder of your deployment, e. g. ./bin/start_network.sh | ||
# this script is autogenerated by 'ant startscripts' | ||
# it starts a LAS2peer node providing the service 'de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService' of this project | ||
# pls execute it from the root folder of your deployment, e. g. ./bin/start_network.sh | ||
|
||
java -cp "lib/*" i5.las2peer.tools.L2pNodeLauncher -p 9011 uploadStartupDirectory\(\'etc/startup\'\) startService\(\'de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService\',\'TemplateServicePass\'\) startWebConnector interactive | ||
java -cp "lib/*" i5.las2peer.tools.L2pNodeLauncher -p 9012 uploadStartupDirectory startService\(\'de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService@0.1\',\'Passphrase\'\) startWebConnector interactive | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.