-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
80 lines (69 loc) · 3.18 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<!--
Dynamo Web Services is a web service project for administering LucidDB
Copyright (C) 2010 Dynamo Business Intelligence Corporation
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version approved by Dynamo Business Intelligence Corporation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<!--Ant build file for building the sample API.-->
<project default="enunciate">
<!-- <property name="webapp.dir" value="/var/lib/jetty/webapps/"/> -->
<property name="webapp.dir" value="/Users/ngoodman/pentaho/biserver-ee-3.8.0.GA/biserver-ee/tomcat/webapps"/>
<!-- <property name="webapp.dir" value="D:\\dev\\jetty-6.1.7\\webapps"/> -->
<!--The ${enunciate.home} property should point to the Enunciate home distribution directory. -->
<property name="FLEX_HOME" value="/Applications/Adobe Flash Builder 4 Plug-in/sdks/4.1.0" />
<property name="enunciate.home" value="${basedir}"/>
<target name="clean">
<delete dir="${basedir}/target"></delete>
</target>
<target name="enunciate" depends="clean">
<path id="enunciate.classpath">
<fileset dir="${enunciate.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${enunciate.home}/lib/modules/amf">
<include name="*.jar"/>
</fileset>
<fileset dir="${enunciate.home}/lib/modules/spring">
<include name="*.jar"/>
</fileset>
</path>
<!--define the task...-->
<taskdef name="enunciate" classname="org.codehaus.enunciate.main.EnunciateTask">
<classpath refid="enunciate.classpath"/>
</taskdef>
<mkdir dir="target"/>
<enunciate dir="${basedir}/src"
configFile="${basedir}/src/enunciate.xml"
buildDir="${basedir}/target/build"
generateDir="${basedir}/target/generate"
packageDir="${basedir}/target/package"
compileDir="${basedir}/target/compile">
<include name="**/*.java"/>
<classpath refid="enunciate.classpath"/>
<export artifactId="war.file" destination="target/adminws.war"/>
<export artifactId="jaxws.client.library.binaries" destination="target/dynamobi-client.jar"/>
</enunciate>
<!-- re-war the webapp -->
<!-- (No longer necessary) -->
<!--<replace file="target/build/basic-app/ns0.wsdl" token="http://localhost:8080" value="" />
<jar destfile="target/adminws.war">
<fileset dir="target/build/basic-app/">
<include name="**/*" />
</fileset>
</jar>-->
</target>
<target name="deploy" depends="enunciate">
<copy file="target/adminws.war" tofile="${webapp.dir}/adminws.war"/>
<copy file="target/adminws.war" tofile="../dynamodb-services/wars/adminws.war"/>
</target>
</project>