Subversion Repositories eFlore/Applications.del

Rev

Rev 1 | Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<project name="del" xmlns:artifact="urn:maven-artifact-ant" basedir=".">

        <target name="init">
                <property file="local.properties" />
                <property name="server-url" value="${server-url}" />
                <property name="server-login" value="${server-login}" />
                <property name="server-password" value="${server-password}" />
                <property name="server-dir" value="${server-dir}" />
                <property name="gwt-path" value="${gwt-path}" />
        </target>

        <target name="gwt-compile" depends="init">
                <java classname="com.google.gwt.dev.Compiler" fork="true">
                        <arg line="-logLevel INFO" />
                        <arg line="-style OBF" />
                        <arg value="org.tela_botanica.del.Del" />
                        <classpath>
                                <path>
                                        <pathelement location="${gwt-path}/gwt-user.jar" />
                                        <pathelement location="${gwt-path}/gwt-dev.jar" />
                                        <pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
                                        <pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
                                        <pathelement location="src" />
                                        <fileset dir="war/WEB-INF/lib">
                                                <include name="**/*.jar" />
                                                <include name="**/*.xml" />
                                        </fileset>
                                </path>
                        </classpath>
                </java>
        </target>

        <target name="build-and-deploy-test" depends="gwt-compile">
                <ftp server="${server-url}" remotedir="${server-dir}" userid="${server-login}" password="${server-password}">
                        <fileset dir="war" />
                </ftp>

        </target>

</project>