| 636 | | <target name="compile-widgetset-default"> |
| 637 | | <echo>Compiling src (client-side)</echo> |
| 638 | | <echo>com.itmill.toolkit.terminal.gwt.DefaultWidgetSet</echo> |
| 639 | | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| 640 | | <arg value="-out" /> |
| 641 | | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| 642 | | <arg value="com.itmill.toolkit.terminal.gwt.DefaultWidgetSet" /> |
| 643 | | <arg value="-style" /> |
| 644 | | <arg value="OBF" /> |
| 645 | | <classpath> |
| 646 | | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| 647 | | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| 648 | | <pathelement location="${result-path}/src" /> |
| 649 | | </classpath> |
| 650 | | </java> |
| 651 | | <echo>Compiled DefaultWidgetSet</echo> |
| 652 | | </target> |
| 653 | | |
| 654 | | <target name="compile-widgetset-reserver"> |
| 655 | | <condition property="googlemaps-jar" value="${output-dir}/WebContent/demo/lib/reservr/googlemaps_gwt.jar"> |
| 656 | | <available file="${output-dir}/WebContent/demo/lib/reservr/googlemaps_gwt.jar"/> |
| 657 | | </condition> |
| 658 | | <condition property="googlemaps-jar" value="lib/reservr/googlemaps_gwt.jar"> |
| 659 | | <available file="lib/reservr/googlemaps_gwt.jar"/> |
| 660 | | </condition> |
| 661 | | <echo>com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet</echo> |
| 662 | | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| 663 | | <arg value="-out" /> |
| 664 | | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| 665 | | <arg value="com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet" /> |
| 666 | | <arg value="-style" /> |
| 667 | | <arg value="OBF" /> |
| 668 | | <classpath> |
| 669 | | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| 670 | | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| 671 | | <pathelement location="${result-path}/src" /> |
| 672 | | <!-- demo jars --> |
| 673 | | <pathelement location="${googlemaps-jar}" /> |
| 674 | | <!-- demo widgetset sources --> |
| 675 | | <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> |
| 676 | | </classpath> |
| 677 | | </java> |
| 678 | | <echo>Compiled ReservationWidgetSet</echo> |
| 679 | | </target> |
| 680 | | |
| 681 | | <target name="compile-widgetset-colorpicker"> |
| 682 | | <echo>com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet</echo> |
| 683 | | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| 684 | | <arg value="-out" /> |
| 685 | | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| 686 | | <arg value="com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet" /> |
| 687 | | <arg value="-style" /> |
| 688 | | <arg value="OBF" /> |
| 689 | | <classpath> |
| 690 | | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| 691 | | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| 692 | | <pathelement location="${result-path}/src" /> |
| 693 | | <!-- demo widgetset sources --> |
| 694 | | <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> |
| 695 | | </classpath> |
| 696 | | </java> |
| 697 | | <echo>Compiled ColorPickerWidgetSet</echo> |
| 698 | | </target> |
| | 644 | <target name="compile-widgetset-default"> |
| | 645 | <echo>Compiling src (client-side)</echo> |
| | 646 | <echo>com.itmill.toolkit.terminal.gwt.DefaultWidgetSet</echo> |
| | 647 | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| | 648 | <arg value="-out" /> |
| | 649 | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| | 650 | <arg value="com.itmill.toolkit.terminal.gwt.DefaultWidgetSet" /> |
| | 651 | <arg value="-style" /> |
| | 652 | <arg value="OBF" /> |
| | 653 | <classpath> |
| | 654 | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| | 655 | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| | 656 | <pathelement location="${result-path}/src" /> |
| | 657 | </classpath> |
| | 658 | </java> |
| | 659 | <echo>Compiled DefaultWidgetSet</echo> |
| | 660 | </target> |
| | 661 | |
| | 662 | <target name="compile-widgetset-reserver"> |
| | 663 | <condition property="googlemaps-jar" value="${output-dir}/WebContent/demo/lib/reservr/googlemaps_gwt.jar"> |
| | 664 | <available file="${output-dir}/WebContent/demo/lib/reservr/googlemaps_gwt.jar" /> |
| | 665 | </condition> |
| | 666 | <condition property="googlemaps-jar" value="lib/reservr/googlemaps_gwt.jar"> |
| | 667 | <available file="lib/reservr/googlemaps_gwt.jar" /> |
| | 668 | </condition> |
| | 669 | <echo>com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet</echo> |
| | 670 | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| | 671 | <arg value="-out" /> |
| | 672 | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| | 673 | <arg value="com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet" /> |
| | 674 | <arg value="-style" /> |
| | 675 | <arg value="OBF" /> |
| | 676 | <classpath> |
| | 677 | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| | 678 | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| | 679 | <pathelement location="${result-path}/src" /> |
| | 680 | <!-- demo jars --> |
| | 681 | <pathelement location="${googlemaps-jar}" /> |
| | 682 | <!-- demo widgetset sources --> |
| | 683 | <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> |
| | 684 | </classpath> |
| | 685 | </java> |
| | 686 | <echo>Compiled ReservationWidgetSet</echo> |
| | 687 | </target> |
| | 688 | |
| | 689 | <target name="compile-widgetset-colorpicker"> |
| | 690 | <echo>com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet</echo> |
| | 691 | <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m"> |
| | 692 | <arg value="-out" /> |
| | 693 | <arg value="${output-dir}/WebContent/ITMILL/widgetsets" /> |
| | 694 | <arg value="com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet" /> |
| | 695 | <arg value="-style" /> |
| | 696 | <arg value="OBF" /> |
| | 697 | <classpath> |
| | 698 | <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" /> |
| | 699 | <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" /> |
| | 700 | <pathelement location="${result-path}/src" /> |
| | 701 | <!-- demo widgetset sources --> |
| | 702 | <pathelement path="${output-dir}/WebContent/WEB-INF/src" /> |
| | 703 | </classpath> |
| | 704 | </java> |
| | 705 | <echo>Compiled ColorPickerWidgetSet</echo> |
| | 706 | </target> |
| 712 | | <property file="build/VERSION.properties" /> |
| 713 | | |
| 714 | | <!-- Definitions for building the client-side. --> |
| 715 | | <property name="output-dir" value="."/> |
| 716 | | |
| 717 | | <!-- The "result-path" simply contains the sources. --> |
| 718 | | <property name="result-path" value="."/> |
| 719 | | |
| 720 | | <!-- Path to GWT directory. TODO: This should be read from build.properties file. --> |
| 721 | | <property name="gwt-dir" value="build/gwt"/> |
| 722 | | |
| 723 | | <!-- required when compiling WebContent/ITMILL/widgetsets (and also Java server-side classes) --> |
| 724 | | <property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" /> |
| 725 | | |
| 726 | | <echo>We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo> |
| 727 | | <echo>GWT dir: ${gwt-dir}</echo> |
| 728 | | <echo>Output dir: ${output-dir}</echo> |
| 729 | | </target> |
| 730 | | |
| | 720 | <property file="build/VERSION.properties" /> |
| | 721 | |
| | 722 | <!-- Definitions for building the client-side. --> |
| | 723 | <property name="output-dir" value="." /> |
| | 724 | |
| | 725 | <!-- The "result-path" simply contains the sources. --> |
| | 726 | <property name="result-path" value="." /> |
| | 727 | |
| | 728 | <!-- Path to GWT directory. TODO: This should be read from build.properties file. --> |
| | 729 | <property name="gwt-dir" value="build/gwt" /> |
| | 730 | |
| | 731 | <!-- required when compiling WebContent/ITMILL/widgetsets (and also Java server-side classes) --> |
| | 732 | <property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" /> |
| | 733 | |
| | 734 | <echo>We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo> |
| | 735 | <echo>GWT dir: ${gwt-dir}</echo> |
| | 736 | <echo>Output dir: ${output-dir}</echo> |
| | 737 | </target> |
| | 738 | |
| 735 | | <!-- Builds the default widgetset locally, i.e., not for an installation package. --> |
| 736 | | <target name="widgetset-default" depends="init-nonpackage, compile-widgetset-default"> |
| 737 | | </target> |
| 738 | | |
| 739 | | <!-- Builds the reservation widgetset locally, i.e., not for an installation package. --> |
| 740 | | <target name="widgetset-reserver" depends="init-nonpackage, compile-widgetset-reserver"> |
| 741 | | </target> |
| 742 | | |
| 743 | | <!-- Builds the colorpicker widgetset locally, i.e., not for an installation package. --> |
| 744 | | <target name="widgetset-colorpicker" depends="init-nonpackage, compile-widgetset-colorpicker"> |
| 745 | | </target> |
| | 743 | <!-- Builds the default widgetset locally, i.e., not for an installation package. --> |
| | 744 | <target name="widgetset-default" depends="init-nonpackage, compile-widgetset-default"> |
| | 745 | </target> |
| | 746 | |
| | 747 | <!-- Builds the reservation widgetset locally, i.e., not for an installation package. --> |
| | 748 | <target name="widgetset-reserver" depends="init-nonpackage, compile-widgetset-reserver"> |
| | 749 | </target> |
| | 750 | |
| | 751 | <!-- Builds the colorpicker widgetset locally, i.e., not for an installation package. --> |
| | 752 | <target name="widgetset-colorpicker" depends="init-nonpackage, compile-widgetset-colorpicker"> |
| | 753 | </target> |