Personal tools
You are here: Home BiNA Documentation BiNA Startup Parameters
Document Actions

BiNA Startup Parameters

by Andreas Gerasch last modified 2008-04-03 14:54

Introduction

Some BiNA features can be activated/configured using command-line parameters.  Such a parameter is  either called a flag or an argument. The difference is, that flags don't have values attached. To avoid conflicts between plugins - sharing the same parameter, the name of every plugin-specific parameter must start with the corresponding plugin-id.


So the structure of the parameters are:

-flag_name

-argument_name <argument_value>

A simple example for proxy configuration is given below:

java -jar BiNA.jar -useProxy -proxyHost myProxy -proxyPort 1234


An example specifying the data source used by the Core Plugin (bcp):

java -jar BiNA.jar -bcp.datasource bnpp_mysql_driver


Plugin Parameters

In this section, the most important plugin parameters are listed.


PARAMETER
Valuedescription

General

 


CONSOLELOG
-
writes all log information to the standard output
encryptOnly
text
encrypts the given text, can be used to encrypt a password



Standard Environment



singleUserMode
-
switches to single user mode - BiNA runs under the
 "default" user.



WebStart Environment



userId
user login
every BiNA Webstart application can have their own
user id associated, where properties are saved.



Proxy Configuration

  
useProxy
true/false disables/enables the http proxy 
proxyHostURL the http proxy host
proxyPort  number the http proxy port
   
GUI


perspective
perspective ID
selects the start up perspective.



Core Plugin (bcp)

 

 

datasourceplugin ID which data source driver should be used initially 
   
BN++ MySQL Driver (bnpp_mysql_driver)
  
host
URL
the server where the MySQL database is running
port
number
the port where the MySQL databse is listening
database
database name
name of the database
login
login name
database user
pw
password
the password in clear text
pw_c
encrypted password
the encrypted password
sqlverbose
-
writes SQL debug information to standard output



BN++ SQLite Driver (bnpp_sqlite_driver)


file
-
use the given file as data source
download
URL
downloads the given URL and use it a datasource
sqlverbose-
writes SQL debug information to standard output



GeneTrail Plugin (genetrail_project)



url
URL
download the expression platform file from the given URL
pathway
Pathway ID
displays the given BN++ Pathway
participants
Participants IDs
comma-separated list of BN++ Participant ID,
which should be displayed







Powered by Plone, the Open Source Content Management System