mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Make OSS ANT build using deps folder, other than premium/thirdpart folder, which breaks OSS ANT BUILD
This commit is contained in:
parent
9aa6e763de
commit
ef600e10b5
@ -146,6 +146,13 @@
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<path id="deps.classpath">
|
||||
<!--filelist files="${deps.classpath}" /-->
|
||||
<fileset dir="${deps.dir}" erroronmissingdir="false">
|
||||
<include name="*.jar" />
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<path id="dist.classpath">
|
||||
<fileset dir="${target.dir}">
|
||||
<include name="**/*.jar" />
|
||||
@ -162,7 +169,7 @@
|
||||
<property name="utils.dir" location="${base.dir}/utils" />
|
||||
<property name="utils.test.dir" location="${utils.dir}/test/" />
|
||||
<path id="utils.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
</path>
|
||||
<target name="compile-utils" depends="-init" description="Compile the utilities jar that is shared.">
|
||||
<compile-java jar.name="${utils.jar}" top.dir="${utils.dir}" classpath="utils.classpath" />
|
||||
@ -171,7 +178,7 @@
|
||||
<property name="api.dir" location="${base.dir}/api" />
|
||||
<property name="api.test.dir" location="${api.dir}/test/" />
|
||||
<path id="api.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath"/>
|
||||
</path>
|
||||
<target name="compile-api" depends="-init, compile-utils" description="Compile the utilities jar that is shared.">
|
||||
@ -179,7 +186,7 @@
|
||||
</target>
|
||||
|
||||
<path id="core.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
<target name="compile-core" depends="-init, compile-utils, compile-api" description="Compile the core business logic.">
|
||||
@ -187,7 +194,7 @@
|
||||
</target>
|
||||
|
||||
<path id="server.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
<target name="compile-server" depends="-init, compile-utils, compile-core" description="Compile the management server.">
|
||||
@ -195,7 +202,7 @@
|
||||
</target>
|
||||
|
||||
<path id="client.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
|
||||
@ -254,7 +261,7 @@
|
||||
<mkdir dir="${server.dist.dir}/conf" />
|
||||
|
||||
<copy todir="${server.dist.dir}/lib">
|
||||
<fileset dir="${thirdparty.dir}">
|
||||
<fileset dir="${deps.dir}">
|
||||
<include name="mysql-connector-java-5.1.7-bin.jar" />
|
||||
<include name="cglib-nodep-2.2.jar" />
|
||||
<include name="gson-1.3.jar" />
|
||||
@ -314,7 +321,7 @@
|
||||
</target>
|
||||
|
||||
<path id="console-common.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
<target name="compile-console-common" depends="-init" description="Compile the console-common jar that is shared.">
|
||||
@ -322,7 +329,7 @@
|
||||
</target>
|
||||
|
||||
<path id="console-proxy.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
<target name="compile-console-proxy" depends="-init, compile-console-common" description="Compile the console proxy.">
|
||||
@ -341,7 +348,7 @@
|
||||
<mkdir dir="${copyto.dir}/css" />
|
||||
|
||||
<copy todir="${copyto.dir}">
|
||||
<fileset dir="${thirdparty.dir}">
|
||||
<fileset dir="${deps.dir}">
|
||||
<include name="log4j-1.2.15.jar" />
|
||||
<include name="apache-log4j-extras-1.0.jar" />
|
||||
<include name="gson-1.3.jar" />
|
||||
@ -402,7 +409,7 @@
|
||||
</target>
|
||||
|
||||
<path id="console-viewer.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<path refid="dist.classpath" />
|
||||
</path>
|
||||
<target name="build-console-viewer" depends="-init" description="Compile console viewer applet">
|
||||
@ -432,7 +439,7 @@
|
||||
</target>
|
||||
|
||||
<path id="agent.classpath">
|
||||
<path refid="thirdparty.classpath" />
|
||||
<path refid="deps.classpath" />
|
||||
<fileset dir="${target.dir}">
|
||||
<include name="**/${core.jar}" />
|
||||
<include name="**/${utils.jar}" />
|
||||
|
||||
@ -51,21 +51,21 @@
|
||||
|
||||
<target name="package-agent-common" depends="-init-package">
|
||||
<zip destfile="${dist.dir}/agent.zip" duplicate="preserve">
|
||||
<zipfileset dir="${thirdparty.dir}">
|
||||
<include name="xmlrpc-client-3.1.3.jar" />
|
||||
<include name="xmlrpc-common-3.1.3.jar" />
|
||||
<include name="ws-commons-util-1.0.2.jar" />
|
||||
<include name="log4j-1.2.15.jar" />
|
||||
<include name="apache-log4j-extras-1.0.jar" />
|
||||
<include name="gson-1.3.jar" />
|
||||
<include name="commons-httpclient-3.1.jar" />
|
||||
<include name="commons-logging-1.1.1.jar" />
|
||||
<include name="commons-collections-3.2.1.jar" />
|
||||
<include name="commons-codec-1.4.jar" />
|
||||
<include name="commons-pool-1.4.jar" />
|
||||
<include name="libvirt-0.4.5.jar" />
|
||||
<include name="jna.jar" />
|
||||
<include name="cglib-nodep-2.2.jar" />
|
||||
<zipfileset dir="${deps.dir}">
|
||||
<include name="cloud-xmlrpc-client-3.1.3.jar" />
|
||||
<include name="cloud-xmlrpc-common-3.1.3.jar" />
|
||||
<include name="cloud-ws-commons-util-1.0.2.jar" />
|
||||
<include name="cloud-log4j-1.2.15.jar" />
|
||||
<include name="cloud-apache-log4j-extras-1.0.jar" />
|
||||
<include name="cloud-gson-1.3.jar" />
|
||||
<include name="cloud-commons-httpclient-3.1.jar" />
|
||||
<include name="cloud-commons-logging-1.1.1.jar" />
|
||||
<include name="cloud-commons-collections-3.2.1.jar" />
|
||||
<include name="cloud-commons-codec-1.4.jar" />
|
||||
<include name="cloud-commons-pool-1.4.jar" />
|
||||
<include name="cloud-libvirt-0.4.5.jar" />
|
||||
<include name="cloud-jna.jar" />
|
||||
<include name="cloud-cglib-nodep-2.2.jar" />
|
||||
</zipfileset>
|
||||
<zipfileset dir="${jar.dir}">
|
||||
<include name="${agent.jar}" />
|
||||
@ -109,7 +109,7 @@
|
||||
<arg value="-o"/>
|
||||
<arg value="systemvm.iso"/>
|
||||
<arg value="systemvm.zip"/>
|
||||
<arg value="patch.tgz"/>
|
||||
<arg value="cloud-scripts.tgz"/>
|
||||
<arg value="authorized_keys"/>
|
||||
</exec>
|
||||
</target>
|
||||
@ -162,19 +162,19 @@
|
||||
<target name="package-oss-systemvm" depends="-init-package">
|
||||
<zip destfile="${dist.dir}/systemvm.zip" duplicate="preserve" update="true">
|
||||
<!-- Console proxy now includes an agent shell, therefore we need to package agent related distribution -->
|
||||
<zipfileset dir="${thirdparty.dir}">
|
||||
<include name="xmlrpc-client-3.1.3.jar" />
|
||||
<include name="xmlrpc-common-3.1.3.jar" />
|
||||
<include name="ws-commons-util-1.0.2.jar" />
|
||||
<include name="log4j-1.2.15.jar" />
|
||||
<include name="apache-log4j-extras-1.0.jar" />
|
||||
<include name="gson-1.3.jar" />
|
||||
<include name="commons-httpclient-3.1.jar" />
|
||||
<include name="commons-logging-1.1.1.jar" />
|
||||
<include name="commons-collections-3.2.1.jar" />
|
||||
<include name="commons-codec-1.4.jar" />
|
||||
<include name="commons-pool-1.4.jar" />
|
||||
<include name="cglib-nodep-2.2.jar" />
|
||||
<zipfileset dir="${deps.dir}">
|
||||
<include name="cloud-xmlrpc-client-3.1.3.jar" />
|
||||
<include name="cloud-xmlrpc-common-3.1.3.jar" />
|
||||
<include name="cloud-ws-commons-util-1.0.2.jar" />
|
||||
<include name="cloud-log4j-1.2.15.jar" />
|
||||
<include name="cloud-apache-log4j-extras-1.0.jar" />
|
||||
<include name="cloud-gson-1.3.jar" />
|
||||
<include name="cloud-commons-httpclient-3.1.jar" />
|
||||
<include name="cloud-commons-logging-1.1.1.jar" />
|
||||
<include name="cloud-commons-collections-3.2.1.jar" />
|
||||
<include name="cloud-commons-codec-1.4.jar" />
|
||||
<include name="cloud-commons-pool-1.4.jar" />
|
||||
<include name="cloud-cglib-nodep-2.2.jar" />
|
||||
</zipfileset>
|
||||
<zipfileset dir="${jar.dir}">
|
||||
<include name="${agent.jar}" />
|
||||
|
||||
BIN
deps/cloud-commons-dbcp-1.2.2.jar
vendored
Normal file
BIN
deps/cloud-commons-dbcp-1.2.2.jar
vendored
Normal file
Binary file not shown.
BIN
deps/cloud-commons-httpclient-3.1.jar
vendored
Normal file
BIN
deps/cloud-commons-httpclient-3.1.jar
vendored
Normal file
Binary file not shown.
BIN
deps/cloud-commons-pool-1.4.jar
vendored
Normal file
BIN
deps/cloud-commons-pool-1.4.jar
vendored
Normal file
Binary file not shown.
BIN
deps/cloud-servlet-api.jar
vendored
Normal file
BIN
deps/cloud-servlet-api.jar
vendored
Normal file
Binary file not shown.
BIN
deps/cloud-xstream-1.3.1.jar
vendored
Normal file
BIN
deps/cloud-xstream-1.3.1.jar
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user