summaryrefslogtreecommitdiffstats
path: root/build/bin/compile-gwt-components
blob: 3fb5f9c8f4abbdd3533a32090dc94eaa6387be49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

JVMVARS=""

PLATFORM=""

if [ -d "/Users" ]
then
    echo "MAC OS"
    JVMVARS="$JVMVARS -XstartOnFirstThread"
    PLATFORM="mac"
else
	PLATFORM="linux"
fi

rm -r ../../WebContent/ITK-INF/widgetsets/com.itmill.toolkit.terminal.gwt.DefaultWidgetSet/*
java $JVMVARS -cp "../../src:../gwt/gwt/gwt-user.jar:../gwt/gwt/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITK-INF/widgetsets" "$@" com.itmill.toolkit.terminal.gwt.DefaultWidgetSet -style DETAILED;