Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1024897 Details for
Bug 1220274
RFE/TECH DEBT: Create build script for Zanata
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
A script I use for my quick dev build & deploy
deploy-exploded-server (text/plain), 2.23 KB, created by
David Mason
on 2015-05-13 05:54:36 UTC
(
hide
)
Description:
A script I use for my quick dev build & deploy
Filename:
MIME Type:
Creator:
David Mason
Created:
2015-05-13 05:54:36 UTC
Size:
2.23 KB
patch
obsolete
>#!/bin/bash > ># Build Zanata server and deploy it to JBoss with an exploded deployment. > > ># bold and non-bold for text >B=$(tput bold) >b=$(tput sgr0) > >function show_help { > echo " > >${B}SYNOPSIS > $0${b} [OPTIONS] > >${B}DESCRIPTION${b} > Build Zanata server and deploy it to JBoss. > > If -c or -f is not specified, gwt will compile for all browsers, which > can take a long time. > >${B}OPTIONS${b} > ${B}-C${b} > do not clean before re-building (cleans by default) > ${B}-c${b} > compile gwt for google chrome > ${B}-f${b} > compile gwt for firefox > ${B}-n${b} > do not compile gwt > ${B}-h${b} or ${B}-?${b} > show this help > ${B}-p${b} > just print the command, do not run it >" >} > > ># Look for options >CLEAN='clean'; >CHROME=''; >FIREFOX=''; >PRINT_ONLY=false; >COMPILE_GWT=true; > > >OPTIND=1 # reset getopts in case it has been used before >while getopts "h?Ccfnp" opt; do > case "$opt" in > h|\?) show_help > exit 0;; > C) CLEAN='';; > c) CHROME=',chrome';; > f) FIREFOX=',firefox';; > n) COMPILE_GWT=false;; > p) PRINT_ONLY=true;; > esac >done >shift $((OPTIND-1)) # shift options params, leaving other args > # (not yet used by this script) > ># TODO if n, gwt = "nogwt" else it is both the vars >if [ "$COMPILE_GWT" = true ] > then GWT_PROFILE="${CHROME}${FIREFOX}"; > else GWT_PROFILE=",nogwt"; >fi > > >cd $HOME/src/zanata/zanata-server > ># this is what I have been running on my old computer to make it work: ># the jboss for arquillian I think has a different standalone.xml or something >#mvn -Pexplode,chrome clean install -DskipTests=true -DlatestGroovyCompiler -Darquillian.jboss.home=/home/damason/apps/jboss-for-arquillian/jboss-eap-6.1 > ># I will try it without the arquillian jboss, since I am skipping tests ># Setting it to firefox for now, until I have Chrome configured ># TODO colours >#mvn -Pexplode,chrome clean install -DskipTests=true -DlatestGroovyCompiler >#mvn -Pexplode,firefox clean install -DskipTests=true -DlatestGroovyCompiler > >COMMAND="mvn -Pexplode${GWT_PROFILE} ${CLEAN} install -DskipTests -DskipITs -DskipFuncTests -DskipArqTests -DlatestGroovyCompiler" > >echo "$COMMAND"; > >if [ "$PRINT_ONLY" = false ] > then $COMMAND; >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1220274
: 1024897