/[debian-med]/trunk/packages/beast-mcmc/trunk/debian/bin/beast-mcmc
ViewVC logotype

Contents of /trunk/packages/beast-mcmc/trunk/debian/bin/beast-mcmc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9252 - (show annotations) (download)
Wed Jan 11 16:11:15 2012 UTC (16 months, 1 week ago) by tille
File size: 576 byte(s)
Do not try to patch singular upstream wrappers if we need to do massive changes to work around stupid manifest problems anyway it makes sense to provide them directly in debian/bin
1 #!/bin/sh
2
3 # upstream has set 1024
4 # I had use cases that required more than 2048
5 MAXMEM=3072
6
7 # Remark: There should be no need to specify CLASSPATH
8 # explicitely because it is set in manifest - however, this
9 # does not work
10
11 BEAST_LIB="/usr/share/beast-mcmc"
12 DEBJAR="/usr/share/java"
13 java -Xms64m -Xmx${MAXMEM}m -Djava.library.path="$BEAST_LIB:/usr/lib" \
14 -classpath "${CLASSPATH}:${DEBJAR}/jebl.jar:${DEBJAR}/jam.jar:${DEBJAR}/jdom1.jar:${DEBJAR}/commons-math.jar:${DEBJAR}/treeview.jar:${BEAST_LIB}/beast.jar:$BEAST_LIB/beast-beagle.jar" \
15 dr.app.beast.BeastMain $*

  ViewVC Help
Powered by ViewVC 1.1.5