forked from SurfaceOceanCarbonAtlas/SocatLAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGWT-compile
executable file
·23 lines (19 loc) · 1.62 KB
/
GWT-compile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
APPDIR=`dirname $0`
GWTDIR="/usr/local/gwt"
CLASSPATH="${APPDIR}/WebContent/WEB-INF/lib/*:${APPDIR}/JavaSource:${APPDIR}/bin:${GWTDIR}/*"
CMPNTDIR="${APPDIR}/WebContent/JavaScript/components"
JAVAOPS="-Xmx1024M -Xms1024M"
GWTOPTIONS="-strict"
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.ClimateAnalysis
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.ColumnEditor;
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.Correlation
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.InteractiveDownloadData;
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.Inventory
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.PPT
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.SPPV
java ${JAVAOPS} -cp "${CLASSPATH}" com.google.gwt.dev.Compiler -war "${CMPNTDIR}" "$@" ${GWTOPTIONS} gov.noaa.pmel.tmap.las.UI;
# This should help with the reloading problem since the modify date is managed by the compile process and there is a but.
#
# https://github.com/gwtproject/gwt/issues/9108 (even though it's fixed, it's not released).
touch WebContent/JavaScript/components/gov.noaa.pmel.tmap.las.*/gov.noaa.pmel.tmap.las.*.nocache.js