Subversion Repositories eFlore/Applications.del

Rev

Rev 1012 | Rev 1459 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1012 Rev 1445
Line 103... Line 128...
103
		<delete failonerror="false">
128
		<delete failonerror="false">
104
			<fileset dir="target">
129
			<fileset dir="target">
105
			</fileset>
130
			</fileset>
106
		</delete>
131
		</delete>
Line 107... Line -...
107
 
-
 
108
		<copy file="war/config/config.defaut.js" tofile="target/config/config.js" filtering="true" />
-
 
109
		<copy file="war/config/apropos.defaut.js" tofile="target/config/apropos.js" filtering="true" />
-
 
110
 
-
 
111
		<ftp server="${server-url}" remotedir="${server-dir}/config" userid="${server-login}" password="${server-password}">
-
 
112
			<fileset dir="target/config" excludes="*.svn" />
-
 
113
		</ftp>
-
 
114
	</target>
-
 
115
 
-
 
116
 
-
 
117
 
-
 
118
	<target name="build-and-deploy-local">
-
 
119
		<antcall target="gwt-compile" />
-
 
120
		<antcall target="deploy-local" />
-
 
121
	</target>
-
 
122
 
-
 
123
	<target name="deploy-local" depends="init-local-properties">
-
 
124
		<delete dir="${local-deploy-path}" />
-
 
125
 
-
 
126
		<copy todir="${local-deploy-path}">
-
 
127
			<fileset dir="war" excludes="*.svn">
-
 
128
			</fileset>
-
 
129
		</copy>
-
 
130
 
-
 
131
		<antcall target="filter-local-config-files">
-
 
132
		</antcall>
-
 
133
		<copy todir="${local-deploy-path}/config" filtering="true">
-
 
134
			<fileset dir="war/config" excludes="*.svn" />
-
 
135
		</copy>
-
 
136
	</target>
-
 
137
 
-
 
138
	<target name="filter-local-config-files" depends="init-local-properties">
-
 
139
		<filter token="webservices-root-url" value="${webservices-root-url}" />
-
 
140
		<copy flatten="true" file="war/config/config.defaut.js" tofile="war/config/config.js" filtering="true" />
-
 
141
		<copy flatten="true" file="war/config/apropos.defaut.js" tofile="war/config/apropos.js" filtering="true" />
-
 
142
	</target>
-
 
143
 
-
 
144
	<target name="hosted-mode" depends="init-local-properties">
-
 
145
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
146
			<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 org.tela_botanica.del.Del" />
-
 
147
			<classpath>
-
 
148
				<path>
-
 
149
					<pathelement location="${gwt-path}/gwt-user.jar" />
-
 
150
					<pathelement location="${gwt-path}/gwt-dev.jar" />
-
 
151
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
-
 
152
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
-
 
153
					<pathelement location="src" />
-
 
154
					<fileset dir="lib">
-
 
155
						<include name="**/*.jar" />
-
 
156
					</fileset>
-
 
157
				</path>
-
 
158
			</classpath>
-
 
159
 
-
 
160
		</java>
-
 
161
	</target>
-
 
162
 
-
 
163
	<!-- In order to  execute task you must execute a remote java application in your debug configuration on default port 8000-->
-
 
164
	<target name="debug-mode" depends="init-local-properties">
-
 
165
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
166
			<jvmarg value="-Xdebug" />
-
 
167
			<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
-
 
168
			<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 org.tela_botanica.del.Del" />
-
 
169
			<classpath>
-
 
170
				<path>
-
 
171
					<pathelement location="${gwt-path}/gwt-user.jar" />
-
 
172
					<pathelement location="${gwt-path}/gwt-dev.jar" />
-
 
173
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
-
 
174
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
-
 
175
					<pathelement location="src" />
-
 
176
					<fileset dir="lib">
-
 
177
						<include name="**/*.jar" />
-
 
178
					</fileset>
-
 
179
				</path>
-
 
180
			</classpath>
-
 
181
 
-
 
182
		</java>
-
 
183
	</target>
-
 
184
 
-
 
185
</project>
132
 
-
 
133
		<copy file="war/config/config.defaut.js" tofile="target/config/config.js" filtering="true" />
-
 
134
		<copy file="war/config/apropos.defaut.js" tofile="target/config/apropos.js" filtering="true" />
-
 
135
 
-
 
136
		<ftp server="${server-url}" remotedir="${server-dir}/config" userid="${server-login}" password="${server-password}">
-
 
137
			<fileset dir="target/config" excludes="*.svn" />
-
 
138
		</ftp>
-
 
139
	</target>
-
 
140
 
-
 
141
 
-
 
142
 
-
 
143
	<target name="build-and-deploy-local">
-
 
144
		<antcall target="gwt-compile" />
-
 
145
		<antcall target="deploy-local" />
-
 
146
	</target>
-
 
147
 
-
 
148
	<target name="deploy-local" depends="init-local-properties">
-
 
149
		<delete dir="${local-deploy-path}" />
-
 
150
 
-
 
151
		<copy todir="${local-deploy-path}">
-
 
152
			<fileset dir="war" excludes="*.svn">
-
 
153
			</fileset>
-
 
154
		</copy>
-
 
155
 
-
 
156
		<antcall target="filter-local-config-files">
-
 
157
		</antcall>
-
 
158
		<copy todir="${local-deploy-path}/config" filtering="true">
-
 
159
			<fileset dir="war/config" excludes="*.svn" />
-
 
160
		</copy>
-
 
161
	</target>
-
 
162
 
-
 
163
	<target name="filter-local-config-files" depends="init-local-properties">
-
 
164
		<filter token="webservices-root-url" value="${webservices-root-url}" />
-
 
165
		<copy flatten="true" file="war/config/config.defaut.js" tofile="war/config/config.js" filtering="true" />
-
 
166
		<copy flatten="true" file="war/config/apropos.defaut.js" tofile="war/config/apropos.js" filtering="true" />
-
 
167
	</target>
-
 
168
 
-
 
169
	<target name="hosted-mode" depends="init-local-properties">
-
 
170
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
171
			<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 org.tela_botanica.del.Del" />
-
 
172
			<classpath>
-
 
173
				<path>
-
 
174
					<pathelement location="${gwt-path}/gwt-user.jar" />
-
 
175
					<pathelement location="${gwt-path}/gwt-dev.jar" />
-
 
176
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
-
 
177
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
-
 
178
					<pathelement location="src" />
-
 
179
					<fileset dir="lib">
-
 
180
						<include name="**/*.jar" />
-
 
181
					</fileset>
-
 
182
				</path>
-
 
183
			</classpath>
-
 
184
 
-
 
185
		</java>
-
 
186
	</target>
-
 
187
 
-
 
188
	<!-- In order to  execute task you must execute a remote java application in your debug configuration on default port 8000-->
-
 
189
	<target name="debug-mode" depends="init-local-properties">
-
 
190
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
191
			<jvmarg value="-Xdebug" />
-
 
192
			<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
-
 
193
			<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 org.tela_botanica.del.Del" />
-
 
194
			<classpath>
-
 
195
				<path>
-
 
196
					<pathelement location="${gwt-path}/gwt-user.jar" />
-
 
197
					<pathelement location="${gwt-path}/gwt-dev.jar" />
-
 
198
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
-
 
199
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
-
 
200
					<pathelement location="src" />
-
 
201
					<fileset dir="lib">
-
 
202
						<include name="**/*.jar" />
-
 
203
					</fileset>
-
 
204
				</path>
-
 
205
			</classpath>
-
 
206
 
-
 
207
		</java>
-
 
208
	</target>
-
 
209
 
-
 
210
</project>