summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorLisa Stillwell <lisa@localhost.localdomain>2012-05-09 13:43:30 (GMT)
committer Lisa Stillwell <lisa@localhost.localdomain>2012-05-09 13:43:30 (GMT)
commit098d8216bddcda207857323d02de35ab5947822b (patch)
treea8803fd96c1620bb595162f2db805ef7a804f86f /packaging
parent65a66813ed49b796a4db737a8641bda3ee83ad59 (diff)
downloadQCG-Data-098d8216bddcda207857323d02de35ab5947822b.zip
QCG-Data-098d8216bddcda207857323d02de35ab5947822b.tar.gz
QCG-Data-098d8216bddcda207857323d02de35ab5947822b.tar.bz2
[#769] added readme.txt and groovy config file
Diffstat (limited to 'packaging')
-rw-r--r--packaging/idrop-web-config.groovy179
-rw-r--r--packaging/readme.txt7
2 files changed, 186 insertions, 0 deletions
diff --git a/packaging/idrop-web-config.groovy b/packaging/idrop-web-config.groovy
new file mode 100644
index 0000000..2beeda6
--- /dev/null
+++ b/packaging/idrop-web-config.groovy
@@ -0,0 +1,179 @@
+/*
+ * Configuration for idrop-web - iDROP Cloud browser
+ * Project page: https://code.renci.org/gf/project/irodsidrop/
+ *
+ * Deployment instructions:
+ *
+ * 1) Set configuration for your deployment server. Set the name in production below to the URL you want to use. This value is used by Grails to
+ * compute links, so it should be the front end for your application (e.g. if you run Apache HTTP server in front of Tomcat with SSL, this would be
+ * the end-users 'https://' URL
+ *
+ */
+environments {
+ /*production { grails.serverURL = "http://lifetime-library.ils.unc.edu/${appName}" }
+ production { grails.serverURL = "http://iren-web.renci.org:8080/${appName}" }
+ production { grails.serverURL = "http://srbbrick15.ucsd.edu:1525//${appName}" }
+ production { grails.serverURL = "http://www.irods.org" } */
+ production { grails.serverURL = "http://127.0.0.1:8080/idrop-web" }
+ development { grails.serverURL = "http://127.0.0.1:8080/idrop-web" }
+ test { grails.serverURL = "http://127.0.0.1:8080/idrop-web}" }
+}
+
+/*
+ * 2) If you want to set things up so that the idrop web browser automatically points to a certain grid (i.e. only user ID and password show, then do something like below.
+ * Take the following outside of the comment block and configure here
+ *
+ idrop.config.preset.host="diamond.ils.unc.edu"
+ idrop.config.preset.port="2247"
+ idrop.config.preset.zone="lifelibZone"
+ idrop.config.preset.resource="lifelibResc1"
+ */
+
+/*
+ * 3) iDROP web includes the idrop-lite Java applet, which is launched from the iDROP web interface. The interface needs to know where to find this jar file.
+ * The Jar file should be placed on a web server in an accessible directory, and configured below
+ *
+ *
+ idrop.config.idrop.lite.applet.jar="idrop-lite-1.0.0-SNAPSHOT-jar-with-dependencies.jar"
+ idrop.config.idrop.lite.codebase="http://iren-web.renci.org/idrop-web/applet"
+ idrop.config.idrop.lite.use.applet.dir=false
+ idrop.config.idrop.lite.applet.jar="idrop-lite-1.0.0-SNAPSHOT-jar-with-dependencies.jar"
+ idrop.config.idrop.lite.codebase="https://lifetime-library.ils.unc.edu/llclient"
+ idrop.config.idrop.lite.use.applet.dir=false
+ */
+
+idrop.config.idrop.lite.applet.jar="idrop-lite-1.0.0-SNAPSHOT-jar-with-dependencies.jar"
+idrop.config.idrop.lite.codebase="http://127.0.0.1:8080/idrop-web/extras"
+idrop.config.idrop.lite.use.applet.dir=false
+
+/*
+ * 4) iDROP web includes a link to launch the iDROP desktop GUI, using Java WebStart. WebStart looks for a jnlp file and the accompanying
+ * lib directories. This should be deployed on a web server at some accessible location and referred to here
+ *
+ * idrop.config.idrop.jnlp="http://iren-web.renci.org:8080/idrop/idrop.jnlp"
+ *
+ * idrop.config.idrop.jnlp="https://lifetime-library.ils.unc.edu/llclient/idrop.jnlp"
+ */
+
+idrop.config.idrop.jnlp="http://127.0.0.1:8080/idrop-web/extras/idrop.jnlp"
+
+/*
+ * 5) Customization properties
+ */
+
+// do I support tickets? This determies whether the ticket feature is available via the interface, it also requires ticket support in iRODS itself (version 3.1+)
+idrop.config.use.tickets=true
+
+/*
+ * Some properties may be set in an external configuration file, as configured below
+ */
+
+// locations to search for config files that get merged into the main config
+// config files can either be Java properties files or ConfigSlurper scripts
+/*
+ * "file:/etc/idrop-web/idrop-web-config.groovy"
+ grails.config.locations = [
+ "file:${userHome}/.grails/${appName}-config.groovy"
+ ]
+ if(System.properties["${appName}.config.location"]) {
+ grails.config.locations << "file:" + System.properties["${appName}.config.location"]
+ }
+ */
+
+/* ll config*/
+/*idrop.config.idrop.lite.applet.jar="idrop-lite-1.0.0-SNAPSHOT-jar-with-dependencies.jar"
+ idrop.config.idrop.lite.codebase="https://lifetime-library.ils.unc.edu/llclient"
+ idrop.config.preset.host="diamond.ils.unc.edu"
+ idrop.config.preset.port="2247"
+ idrop.config.preset.zone="lifelibZone"
+ idrop.config.preset.resource="lifelibResc1"
+ idrop.config.idrop.lite.use.applet.dir=false
+ idrop.config.idrop.jnlp="https://lifetime-library.ils.unc.edu/llclient/idrop.jnlp"
+ */
+grails.views.enable.jsessionid=true
+grails.project.groupId = org.irods.mydrop // change this to alter the default package name and Maven publishing destination
+grails.mime.file.extensions = true // enables the parsing of file extensions from URLs into the request format
+grails.mime.use.accept.header = false
+grails.mime.types = [ html: [
+ 'text/html',
+ 'application/xhtml+xml'
+ ],
+ xml: [
+ 'text/xml',
+ 'application/xml'
+ ],
+ text: 'text/plain',
+ js: 'text/javascript',
+ rss: 'application/rss+xml',
+ atom: 'application/atom+xml',
+ css: 'text/css',
+ csv: 'text/csv',
+ all: '*/*',
+ json: [
+ 'application/json',
+ 'text/json'
+ ],
+ form: 'application/x-www-form-urlencoded',
+ multipartForm: 'multipart/form-data'
+]
+
+// URL Mapping Cache Max Size, defaults to 5000
+//grails.urlmapping.cache.maxsize = 1000
+
+// The default codec used to encode data with ${}
+grails.views.default.codec = "none" // none, html, base64
+grails.views.gsp.encoding = "UTF-8"
+grails.converters.encoding = "UTF-8"
+// enable Sitemesh preprocessing of GSP pages
+grails.views.gsp.sitemesh.preprocess = true
+// scaffolding templates configuration
+grails.scaffolding.templates.domainSuffix = 'Instance'
+
+// Set to false to use the new Grails 1.2 JSONBuilder in the render method
+grails.json.legacy.builder = false
+// enabled native2ascii conversion of i18n properties files
+grails.enable.native2ascii = true
+// whether to install the java.util.logging bridge for sl4j. Disable for AppEngine!
+grails.logging.jul.usebridge = true
+// packages to include in Spring bean scanning
+grails.spring.bean.packages = []
+grails.validateable.packages = ['org.irods']
+
+// set per-environment serverURL stem for creating absolute links
+
+// log4j configuration
+log4j = {
+
+ root {
+ warn()
+ additivity = true
+ }
+
+ // Example of changing the log pattern for the default console
+ // appender:
+ //
+ // appenders {
+ // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
+ // }
+
+ error 'org.codehaus.groovy.grails.web.servlet', // controllers
+ 'org.codehaus.groovy.grails.web.pages', // GSP
+ 'org.codehaus.groovy.grails.web.sitemesh', // layouts
+ 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
+ 'org.codehaus.groovy.grails.web.mapping', // URL mapping
+ 'org.codehaus.groovy.grails.commons', // core / classloading
+ 'org.codehaus.groovy.grails.plugins', // plugins
+ 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
+ 'org.hibernate',
+ 'net.sf.ehcache.hibernate'
+
+ warn 'org.irods.mydrop'
+ warn 'org.irods.jargon'
+ warn 'org.irods.jargon.spring.security'
+ warn 'org.springframework'
+ debug 'grails.app'
+
+ warn 'org.mortbay.log',
+ 'grails.app.controller',
+ 'org.springframework.security'
+}
diff --git a/packaging/readme.txt b/packaging/readme.txt
new file mode 100644
index 0000000..c48f02c
--- /dev/null
+++ b/packaging/readme.txt
@@ -0,0 +1,7 @@
+These scripts will build an RPM or DEB install package for iDrop Web.
+In addition to the normal build prerequisites for idrop-swing and idrop-lite (i.e. Maven 3+, JDK 1.6+, and Jargon) the following software needs
+to be installed in the build environment:
+EPM 4.2+ - ESP Package Manager - http://fossies.org/unix/privat/epm-4.2-source.tar.gz
+Grails 2+ - http://www.grails.org/Download
+For building RPMs: rpm-devel and rpm-build
+