]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #1608 further. Removed old client-side compile scripts. Fixed problem in compil...
authorMarko Grönroos <magi@iki.fi>
Fri, 13 Jun 2008 14:35:41 +0000 (14:35 +0000)
committerMarko Grönroos <magi@iki.fi>
Fri, 13 Jun 2008 14:35:41 +0000 (14:35 +0000)
svn changeset:4870/svn branch:trunk

build/bin/compile-gwt-components [deleted file]
build/bin/compile-gwt-components.bat [deleted file]
build/build.xml

diff --git a/build/bin/compile-gwt-components b/build/bin/compile-gwt-components
deleted file mode 100755 (executable)
index 6095f1c..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# Check that the script is only run in build/bin
-if [ ! -e compile-gwt-components ]; then
-echo compile-gwt-components must only be run from build/bin directory
-exit
-fi
-
-# Parameters
-JVMVARS="-Xmx512M"
-
-# Detect platform
-PLATFORM=""
-if [ -d "/Users" ]
-then
-    echo "MAC OS"
-    PLATFORM="mac"
-    # Do not add this command for 10.5
-        if (uname -v | grep -v -q 9.0); then 
-           JVMVARS="$JVMVARS -XstartOnFirstThread"
-     fi
-else
-       PLATFORM="linux"
-fi
-
-
-OUTDIR=../../WebContent/ITMILL/widgetsets
-GWTDIR=../gwt/gwt
-SRCDIR=../../src
-STYLE=OBF
-
-# Clean anything that could be wrong
-rm -r $OUTDIR/*
-rm -r .gwt-cache
-
-# Build the widgetsets
-java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out $OUTDIR com.itmill.toolkit.terminal.gwt.DefaultWidgetSet -style $STYLE
-java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet -style $STYLE
-java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:../../lib/reservr/googlemaps_gwt.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet -style $STYLE
diff --git a/build/bin/compile-gwt-components.bat b/build/bin/compile-gwt-components.bat
deleted file mode 100644 (file)
index 7967d9f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@java -Xmx128m -Xms128m -cp "%~dp0\../../src;%~dp0\bin;%~dp0\../gwt/gwt/gwt-user.jar;%~dp0\../gwt/gwt/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\../../WebContent/ITMILL/widgetsets" %* com.itmill.toolkit.terminal.gwt.DefaultWidgetSet\r
-@java -Xmx128m -Xms128m -cp "%~dp0\../../src;%~dp0\bin;%~dp0\../gwt/gwt/gwt-user.jar;%~dp0\../../lib/reservr/googlemaps_gwt.jar;%~dp0\../gwt/gwt/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\../../WebContent/ITMILL/widgetsets" %* com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet
\ No newline at end of file
index 91df4d7de10e95b6aa278730c349e316022f94d0..07790653e59b7a6f2d7aeb0cb317f6aa87a2ff72 100644 (file)
        </target>
        
        <!-- Initialization - - - - - - - - - - - - - - - - - - - - - - - - -->
-       <target name="init">
+       <target name="init" depends="init-platform">
 
                <property file="build/build.properties" />
                <property file="build/VERSION.properties" />
 
        <!-- Builds the client-side engine, i.e., the widgetsets in parallel. -->
        <target name="compile-client-side">
+               <echo>Compiling widget sets in parallel.</echo>
                <parallel threadsperprocessor="1">
                <subant antfile="build.xml" target="compile-widgetset-default" inheritall="true" buildpath="build"/>
             <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build"/>