Revision 44b6c86b
b/build.xml | ||
---|---|---|
29 | 29 |
<property name="solr.download.url" value="http://apache.ntua.gr/lucene/solr/${solr.version}/${solr.filename}"/> |
30 | 30 |
<property name="solrj.jar" value="apache-solr-solrj-${solr.version}.jar"/> |
31 | 31 |
|
32 |
<property name="milton.version" value="1.5.7"/> |
|
33 |
<property name="milton.api.filename" value="milton-api-${milton.version}.jar"/> |
|
34 |
<property name="milton.api.download.url" value="http://www.ettrema.com/maven2/com/ettrema/milton-api/${milton.version}/${milton.api.filename}"/> |
|
35 |
<property name="milton.console.filename" value="milton-console-${milton.version}.jar"/> |
|
36 |
<property name="milton.console.download.url" value="http://www.ettrema.com/maven2/com/ettrema/milton-console/${milton.version}/${milton.console.filename}"/> |
|
37 |
<property name="milton.servlet.filename" value="milton-servlet-${milton.version}.jar"/> |
|
38 |
<property name="milton.servlet.download.url" value="http://www.ettrema.com/maven2/com/ettrema/milton-servlet/${milton.version}/${milton.servlet.filename}"/> |
|
39 |
|
|
32 | 40 |
<property name="gwt.version" value="2.1.1"/> |
33 | 41 |
<property name="gwt.home" value="${deps.dir}/gwt-${gwt.version}"/> |
34 | 42 |
<property name="gwt.filename" value="gwt-${gwt.version}.zip"/> |
... | ... | |
146 | 154 |
<pathelement location="${ear.lib.dir}/commons-httpclient-3.1.jar"/> |
147 | 155 |
<pathelement location="${ear.lib.dir}/commons-lang.jar"/> |
148 | 156 |
<pathelement location="${ear.lib.dir}/ldap.jar"/> |
149 |
<pathelement location="${ear.lib.dir}/milton-api-1.5.7-SNAPSHOT.jar"/>
|
|
157 |
<pathelement location="${deps.dir}/${milton.api.filename}"/>
|
|
150 | 158 |
<pathelement location="${ear.lib.dir}/commons-io-1.1.jar"/> |
151 | 159 |
<pathelement location="${war.lib.dir}/commons-fileupload-1.2.jar"/> |
152 |
<pathelement location="${webdav.war.lib.dir}/milton-servlet-1.5.7-SNAPSHOT.jar"/>
|
|
153 |
<pathelement location="${webdav.war.lib.dir}/milton-console-1.5.7-SNAPSHOT.jar"/>
|
|
160 |
<pathelement location="${deps.dir}/${milton.servlet.filename}"/>
|
|
161 |
<pathelement location="${deps.dir}/${milton.console.filename}"/>
|
|
154 | 162 |
<pathelement location="${solr.dist}/${solrj.jar}"/> |
155 | 163 |
<pathelement location="${solr.dist}/apache-solr-core-1.4.1.jar"/> |
156 | 164 |
<pathelement location="${solr.lib}/lucene-core-2.9.3.jar"/> |
... | ... | |
175 | 183 |
<available file="${junit.home}" type="dir"/> |
176 | 184 |
<available file="${deps.dir}/${selenium-server.filename}"/> |
177 | 185 |
<available file="${solr.root}" type="dir"/> |
186 |
<available file="${deps.dir}/${milton.api.filename}"/> |
|
187 |
<available file="${deps.dir}/${milton.console.filename}"/> |
|
188 |
<available file="${deps.dir}/${milton.servlet.filename}"/> |
|
178 | 189 |
</and> |
179 | 190 |
</condition> |
180 | 191 |
<echo message="dependencies.present=${dependencies.present}"/> |
... | ... | |
184 | 195 |
<mkdir dir="${deps.dir}"/> |
185 | 196 |
<get src="${jboss.download.url}" dest="${deps.dir}/${jboss.filename}" usetimestamp="true"/> |
186 | 197 |
<get src="${hornetq.download.url}" dest="${deps.dir}/${hornetq.filename}" usetimestamp="true"/> |
198 |
<get src="${milton.api.download.url}" dest="${deps.dir}/${milton.api.filename}" usetimestamp="true"/> |
|
199 |
<get src="${milton.console.download.url}" dest="${deps.dir}/${milton.console.filename}" usetimestamp="true"/> |
|
200 |
<get src="${milton.servlet.download.url}" dest="${deps.dir}/${milton.servlet.filename}" usetimestamp="true"/> |
|
187 | 201 |
<get src="${gwt.download.url}" dest="${deps.dir}/${gwt.filename}" usetimestamp="true"/> |
188 | 202 |
<get src="${gwt-gears.download.url}" dest="${deps.dir}/${gwt-gears.filename}" usetimestamp="true"/> |
189 | 203 |
<get src="${gwt-incubator.download.url}" dest="${deps.dir}/${gwt-incubator.filename}"/> |
... | ... | |
406 | 420 |
<target name="package-webdav-war" depends="package-webdav-code" description="Package up the WebDAV part as a war"> |
407 | 421 |
<jar destfile="${build.dir}/${webdav.war}"> |
408 | 422 |
<zipfileset dir="${webdav.war.dir}" /> |
423 |
<zipfileset dir="${deps.dir}" prefix="WEB-INF/lib"> |
|
424 |
<include name="${milton.console.filename}"/> |
|
425 |
<include name="${milton.servlet.filename}"/> |
|
426 |
</zipfileset> |
|
409 | 427 |
<zipfileset dir="${build.dir}" prefix="WEB-INF/lib"> |
410 | 428 |
<include name="${webdav.jar}" /> |
411 | 429 |
</zipfileset> |
... | ... | |
432 | 450 |
<zipfileset dir="${solr.dist}" prefix="lib"> |
433 | 451 |
<include name="${solrj.jar}" /> |
434 | 452 |
</zipfileset> |
453 |
<zipfileset dir="${deps.dir}" prefix="lib"> |
|
454 |
<include name="${milton.api.filename}"/> |
|
455 |
</zipfileset> |
|
435 | 456 |
</jar> |
436 | 457 |
</target> |
437 | 458 |
|
Also available in: Unified diff