Subversion Repositories eFlore/Applications.del

Rev

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

Rev 393 Rev 424
Line 19... Line 19...
19
					<pathelement location="${gwt-path}/gwt-user.jar" />
19
					<pathelement location="${gwt-path}/gwt-user.jar" />
20
					<pathelement location="${gwt-path}/gwt-dev.jar" />
20
					<pathelement location="${gwt-path}/gwt-dev.jar" />
21
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
21
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
22
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
22
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
23
					<pathelement location="src" />
23
					<pathelement location="src" />
24
					<fileset dir="war/WEB-INF/lib">
24
					<fileset dir="lib">
25
						<include name="**/*.jar" />
25
						<include name="**/*.jar" />
26
						<include name="**/*.xml" />
-
 
27
					</fileset>
26
					</fileset>
28
				</path>
27
				</path>
29
			</classpath>
28
			</classpath>
30
		</java>
29
		</java>
31
	</target>
30
	</target>
Line 67... Line 66...
67
		<ftp server="${server-url}" remotedir="${server-dir}/client/WEB-INF" userid="${server-login}" password="${server-password}">
66
		<ftp server="${server-url}" remotedir="${server-dir}/client/WEB-INF" userid="${server-login}" password="${server-password}">
68
			<fileset dir="war/WEB-INF" excludes="*.svn">
67
			<fileset dir="war/WEB-INF" excludes="*.svn">
69
				<exclude name="lib/*.jar" />
68
				<exclude name="lib/*.jar" />
70
			</fileset>
69
			</fileset>
71
		</ftp>
70
		</ftp>
72
		
71
 
73
		<ftp server="${server-url}" remotedir="${server-dir}/jrest" userid="${server-login}" password="${server-password}">
72
		<ftp server="${server-url}" remotedir="${server-dir}/jrest" userid="${server-login}" password="${server-password}">
74
					<fileset dir="jrest" excludes="*.svn">
73
			<fileset dir="jrest" excludes="*.svn">
75
						<include name="**" />
74
				<include name="**" />
76
						<exclude name="*.ini.php" />
75
				<exclude name="*.ini.php" />
77
						<exclude name=".htaccess" />
76
				<exclude name=".htaccess" />
78
					</fileset>
77
			</fileset>
79
		</ftp>
78
		</ftp>
80
 
79
		
81
		<!--
80
<!--
82
		<scp password="${server-password}" todir="${server-login}@${server-url}:${server-dir}" trust="true" verbose="true">
81
		<scp password="${server-password}" todir="${server-login}@${server-url}:${server-dir}" trust="true" verbose="true">
83
					<fileset dir="war" excludes="*.svn" />
82
					<fileset dir="war" excludes="*.svn" />
84
				</scp>
83
				</scp>
85
				-->
84
				-->
86
	</target>
85
	</target>
Line 87... Line 86...
87
 
86
 
-
 
87
	<target name="build-and-deploy-local" depends="gwt-compile, deploy-local">
-
 
88
 
-
 
89
	</target>
-
 
90
 
-
 
91
	<target name="deploy-local" depends="init">
-
 
92
		<delete dir="${local-deploy-path}">
-
 
93
		</delete>
-
 
94
		<filter token="webservices.root.url" value="${webservices.root.url}" />
-
 
95
		<filter token="local-deploy-path" value="${local-deploy-path}" />
-
 
96
		<copy todir="${local-deploy-path}" filtering="true">
-
 
97
			<fileset dir="war" excludes="*.svn">
-
 
98
				<include name="**/*.html" />
-
 
99
				<include name="**/*.js" />
-
 
100
				<include name="**/*.css" />
-
 
101
				<exclude name="**/*.gif" />
-
 
102
				<exclude name="**/*.png" />
-
 
103
				<exclude name="**/*.jpg" />
-
 
104
			</fileset>
-
 
105
		</copy>
88
	<target name="build-and-deploy-local" depends="gwt-compile">
106
 
-
 
107
		<copy todir="${local-deploy-path}">
-
 
108
			<fileset dir="war">
-
 
109
				<exclude name="**/*.html" />
-
 
110
				<exclude name="**/*.js" />
-
 
111
				<exclude name="**/*.css" />
-
 
112
				<include name="**/*.gif" />
-
 
113
				<include name="**/*.png" />
-
 
114
				<include name="**/*.jpg" />
-
 
115
			</fileset>
-
 
116
		</copy>
89
		<copy todir="${local-deploy-path}">
117
		<copy todir="${local-deploy-path}/jrest" filtering="true">
90
			<fileset dir="war" excludes="*.svn" />
118
			<fileset dir="jrest" excludes="*.svn" />
91
		</copy>
119
		</copy>
Line -... Line 120...
-
 
120
	</target>
-
 
121
 
-
 
122
	<target name="hosted-mode" depends="init">
-
 
123
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
124
			<arg line="-noserver -port 80 -war '${local-deploy-path}/del' -startupUrl del/del.html -logLevel INFO -codeServerPort 9997 org.tela_botanica.del.Del" />
-
 
125
			<classpath>
-
 
126
				<path>
-
 
127
					<pathelement location="${gwt-path}/gwt-user.jar" />
-
 
128
					<pathelement location="${gwt-path}/gwt-dev.jar" />
-
 
129
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
-
 
130
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
-
 
131
					<pathelement location="src" />
-
 
132
					<fileset dir="lib">
-
 
133
						<include name="**/*.jar" />
-
 
134
					</fileset>
-
 
135
				</path>
-
 
136
			</classpath>
-
 
137
 
-
 
138
		</java>
-
 
139
	</target>
-
 
140
 
-
 
141
	<!-- In order to  execute task you must execute a remote java application in your debug configuration on default port 8000-->
-
 
142
	<target name="debug-mode" depends="init">
-
 
143
		<java classname="com.google.gwt.dev.DevMode" fork="true">
-
 
144
			<jvmarg value="-Xdebug" />
-
 
145
			<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
-
 
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>
92
	</target>
161
	</target>
93
 
162