Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 423 → Rev 424

/trunk/build.xml
21,9 → 21,8
<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">
<fileset dir="lib">
<include name="**/*.jar" />
<include name="**/*.xml" />
</fileset>
</path>
</classpath>
69,16 → 68,16
<exclude name="lib/*.jar" />
</fileset>
</ftp>
 
<ftp server="${server-url}" remotedir="${server-dir}/jrest" userid="${server-login}" password="${server-password}">
<fileset dir="jrest" excludes="*.svn">
<include name="**" />
<exclude name="*.ini.php" />
<exclude name=".htaccess" />
</fileset>
<fileset dir="jrest" excludes="*.svn">
<include name="**" />
<exclude name="*.ini.php" />
<exclude name=".htaccess" />
</fileset>
</ftp>
 
<!--
<!--
<scp password="${server-password}" todir="${server-login}@${server-url}:${server-dir}" trust="true" verbose="true">
<fileset dir="war" excludes="*.svn" />
</scp>
85,10 → 84,80
-->
</target>
 
<target name="build-and-deploy-local" depends="gwt-compile">
<target name="build-and-deploy-local" depends="gwt-compile, deploy-local">
 
</target>
 
<target name="deploy-local" depends="init">
<delete dir="${local-deploy-path}">
</delete>
<filter token="webservices.root.url" value="${webservices.root.url}" />
<filter token="local-deploy-path" value="${local-deploy-path}" />
<copy todir="${local-deploy-path}" filtering="true">
<fileset dir="war" excludes="*.svn">
<include name="**/*.html" />
<include name="**/*.js" />
<include name="**/*.css" />
<exclude name="**/*.gif" />
<exclude name="**/*.png" />
<exclude name="**/*.jpg" />
</fileset>
</copy>
 
<copy todir="${local-deploy-path}">
<fileset dir="war" excludes="*.svn" />
<fileset dir="war">
<exclude name="**/*.html" />
<exclude name="**/*.js" />
<exclude name="**/*.css" />
<include name="**/*.gif" />
<include name="**/*.png" />
<include name="**/*.jpg" />
</fileset>
</copy>
<copy todir="${local-deploy-path}/jrest" filtering="true">
<fileset dir="jrest" excludes="*.svn" />
</copy>
</target>
 
<target name="hosted-mode" depends="init">
<java classname="com.google.gwt.dev.DevMode" fork="true">
<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 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="lib">
<include name="**/*.jar" />
</fileset>
</path>
</classpath>
 
</java>
</target>
 
<!-- In order to execute task you must execute a remote java application in your debug configuration on default port 8000-->
<target name="debug-mode" depends="init">
<java classname="com.google.gwt.dev.DevMode" fork="true">
<jvmarg value="-Xdebug" />
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 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="lib">
<include name="**/*.jar" />
</fileset>
</path>
</classpath>
 
</java>
</target>
 
</project>