Use JVM_OPT variable to set JVM options:
$ JVM_OPT="-Xmx1g" utgb server -g
Edit $(HOME)/.m2/settings.xml file and add proxies element as follows:
<settings>
...
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.somewhere.com</host>
<port>8080</port>
<username>proxyuser</username>
<password>somepassword</password>
</proxy>
</proxies>
...
</settings>
Update several libraries with the following command:
> utgb maven compile -U
Or remove temporary folders:
> rm -rf target
The utgb shell provides repair command for reproducing missing files and reverting the modified files:
> utgb repair
myapp> utgb repair
[ScaffoldGenerator] output folder: ./
[ScaffoldGenerator] package = myapp4
[ScaffoldGenerator] explodedWebappDir = target/utgb
[ScaffoldGenerator] projectName = myapp4
[ScaffoldGenerator] moduleName = myapp4.gwt.UTGBEntry
[ScaffoldGenerator] group = org.utgenome.track
[ScaffoldGenerator] create a directory: ./tomcat
[ScaffoldGenerator] create a directory: ./tomcat/webapps
[ScaffoldGenerator] create a directory: ./tomcat/webapps/ROOT
[ScaffoldGenerator] create a directory: ./tomcat/webapps/ROOT/WEB-INF
File ./config/track-config.xml already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: n
File ./db/README already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]:
File ./pom.xml already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: n
File ./README already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]:
File ./src/assembly/jar.xml already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: n
File ./src/main/webapp/404.jsp already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]:
File ./src/main/webapp/image/utgb.gif already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: n
File ./src/main/webapp/index.jsp already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]:
File ./src/main/webapp/view/default-view.xml already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: n
File ./src/main/webapp/WEB-INF/web.xml already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]:
[ScaffoldGenerator] create a file: ./tomcat/webapps/ROOT/WEB-INF/web.xml
File ./www/README already exists.
Overwrite it? (y: yes, n: no, A: yes to all, X: no to all) [n]: X