You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2012/12/07 15:59:44 UTC

[2/2] Start removing the old ant build files

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2b74b6e8/plugins/storage-allocators/random/build.xml
----------------------------------------------------------------------
diff --git a/plugins/storage-allocators/random/build.xml b/plugins/storage-allocators/random/build.xml
deleted file mode 100755
index e5fcebe..0000000
--- a/plugins/storage-allocators/random/build.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-
-<project name="Cloud Stack Random Storage Allocator" default="help" basedir=".">
-  <description>
-		Cloud Stack ant build file
-  </description>
-
-  <dirname property="storage-allocator-random.base.dir" file="${ant.file.Cloud Stack Random Storage Allocator}/"/>
-  <!-- This directory must be set -->
-  <property name="top.dir" location="${storage-allocator-random.base.dir}/../../.."/>
-  <property name="build.dir" location="${top.dir}/build"/>
-	
-	<echo message="build.dir=${build.dir}; top.dir=${top.dir}; storage-allocator-random.base.dir=${storage-allocator-random.base.dir}"/>
-
-  <!-- Import anything that the user wants to set-->
-  <!-- Import properties files and environment variables here -->
-
-  <property environment="env" />
-
-  <condition property="build-cloud.properties.file" value="${build.dir}/override/build-cloud.properties" else="${build.dir}/build-cloud.properties">
-    <available file="${build.dir}/override/build-cloud.properties" />
-  </condition>
-
-  <condition property="cloud.properties.file" value="${build.dir}/override/cloud.properties" else="${build.dir}/cloud.properties">
-    <available file="${build.dir}/override/cloud.properties" />
-  </condition>
-
-  <condition property="override.file" value="${build.dir}/override/replace.properties" else="${build.dir}/replace.properties">
-    <available file="${build.dir}/override/replace.properties" />
-  </condition>
-
-  <echo message="Using build parameters from ${build-cloud.properties.file}" />
-  <property file="${build-cloud.properties.file}" />
-
-  <echo message="Using company info from ${cloud.properties.file}" />
-  <property file="${cloud.properties.file}" />
-
-  <echo message="Using override file from ${override.file}" />
-  <property file="${override.file}" />
-
-  <property file="${build.dir}/build.number" />
-
-  <!-- In case these didn't get defined in the build-cloud.properties -->
-  <property name="branding.name" value="default" />
-  <property name="deprecation" value="off" />
-  <property name="target.compat.version" value="1.6" />
-  <property name="source.compat.version" value="1.6" />
-  <property name="debug" value="true" />
-  <property name="debuglevel" value="lines,source"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-  <!-- directories for build and distribution -->
-  <property name="target.dir" location="${top.dir}/target" />
-  <property name="classes.dir" location="${target.dir}/classes" />
-  <property name="jar.dir" location="${target.dir}/jar" />
-  <property name="dep.cache.dir" location="${target.dir}/dep-cache" />
-  <property name="build.log" location="${target.dir}/ant_verbose.txt" />
-
-  <property name="deps.dir" location="${top.dir}/deps" />
-  
-  <property name="storage-allocator-random.jar" value="cloud-storage-allocator-random.jar" />
-  <property name="storage-allocator-random-scripts.dir" location="${storage-allocator-random.base.dir}/scripts" />
-	
-  <import file="${build.dir}/build-common.xml"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-  <path id="deps.classpath">
-    <!--filelist files="${deps.classpath}" /-->
-    <fileset dir="${deps.dir}" erroronmissingdir="false">
-      <include name="*.jar" />
-    </fileset>
-  </path>
-	
-  <path id="cloudstack.classpath">
-  	<fileset dir="${jar.dir}">
-  	  <include name="*.jar"/>
-    </fileset>
-  </path>
-	
-  <path id="storage-allocator-random.classpath">
-	<path refid="deps.classpath"/>
-  	<path refid="cloudstack.classpath"/>
-  </path>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-	
-	
-  <target name="init" description="Initialize binaries directory">
-  	<mkdir dir="${classes.dir}/${storage-allocator-random.jar}"/>
-  	<mkdir dir="${jar.dir}"/>
-  </target>
-	
-  <target name="compile-storage-allocator-random" depends="init" description="Compile storage-allocator-random">
-    <compile-java jar.name="${storage-allocator-random.jar}" top.dir="${storage-allocator-random.base.dir}" classpath="storage-allocator-random.classpath" />
-  </target>
-	
-  <target name="clean-storage-allocator-random">
-    <delete dir="${classes.dir}/${storage-allocator-random.jar}"/>
-  </target>
-
-  <target name="help" description="help">
-    <echo level="info" message="This is the build file for storage-allocator-random"/>
-    <echo level="info" message="You can do a build by doing ant build or clean by ant clean" />
-  </target>
-
-  <target name="build" depends="compile-storage-allocator-random"/>
-  <target name="clean" depends="clean-storage-allocator-random"/>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2b74b6e8/plugins/user-authenticators/ldap/build.xml
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/ldap/build.xml b/plugins/user-authenticators/ldap/build.xml
deleted file mode 100755
index c0ae8b8..0000000
--- a/plugins/user-authenticators/ldap/build.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-
-<project name="Cloud Stack LDAP User Authenticator" default="help" basedir=".">
-  <description>
-		Cloud Stack ant build file
-    </description>
-
-  <dirname property="user-authenticator-ldap.base.dir" file="${ant.file.Cloud Stack LDAP User Authenticator}/"/>
-  <!-- This directory must be set -->
-  <property name="top.dir" location="${user-authenticator-ldap.base.dir}/../../.."/>
-  <property name="build.dir" location="${top.dir}/build"/>
-	
-	<echo message="build.dir=${build.dir}; top.dir=${top.dir}; user-authenticator-ldap.base.dir=${user-authenticator-ldap.base.dir}"/>
-
-  <!-- Import anything that the user wants to set-->
-  <!-- Import properties files and environment variables here -->
-
-  <property environment="env" />
-
-  <condition property="build-cloud.properties.file" value="${build.dir}/override/build-cloud.properties" else="${build.dir}/build-cloud.properties">
-    <available file="${build.dir}/override/build-cloud.properties" />
-  </condition>
-
-  <condition property="cloud.properties.file" value="${build.dir}/override/cloud.properties" else="${build.dir}/cloud.properties">
-    <available file="${build.dir}/override/cloud.properties" />
-  </condition>
-
-  <condition property="override.file" value="${build.dir}/override/replace.properties" else="${build.dir}/replace.properties">
-    <available file="${build.dir}/override/replace.properties" />
-  </condition>
-
-  <echo message="Using build parameters from ${build-cloud.properties.file}" />
-  <property file="${build-cloud.properties.file}" />
-
-  <echo message="Using company info from ${cloud.properties.file}" />
-  <property file="${cloud.properties.file}" />
-
-  <echo message="Using override file from ${override.file}" />
-  <property file="${override.file}" />
-
-  <property file="${build.dir}/build.number" />
-
-  <!-- In case these didn't get defined in the build-cloud.properties -->
-  <property name="branding.name" value="default" />
-  <property name="deprecation" value="off" />
-  <property name="target.compat.version" value="1.6" />
-  <property name="source.compat.version" value="1.6" />
-  <property name="debug" value="true" />
-  <property name="debuglevel" value="lines,source"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-  <!-- directories for build and distribution -->
-  <property name="target.dir" location="${top.dir}/target" />
-  <property name="classes.dir" location="${target.dir}/classes" />
-  <property name="jar.dir" location="${target.dir}/jar" />
-  <property name="dep.cache.dir" location="${target.dir}/dep-cache" />
-  <property name="build.log" location="${target.dir}/ant_verbose.txt" />
-
-  <property name="deps.dir" location="${top.dir}/deps" />
-  
-  <property name="user-authenticator-ldap.jar" value="cloud-user-authenticator-ldap.jar" />
-  <property name="user-authenticator-ldap-scripts.dir" location="${user-authenticator-ldap.base.dir}/scripts" />
-	
-  <import file="${build.dir}/build-common.xml"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-  <path id="deps.classpath">
-    <!--filelist files="${deps.classpath}" /-->
-    <fileset dir="${deps.dir}" erroronmissingdir="false">
-      <include name="*.jar" />
-    </fileset>
-  </path>
-	
-  <path id="cloudstack.classpath">
-  	<fileset dir="${jar.dir}">
-  	  <include name="*.jar"/>
-    </fileset>
-  </path>
-	
-  <path id="user-authenticator-ldap.classpath">
-	<path refid="deps.classpath"/>
-  	<path refid="cloudstack.classpath"/>
-  </path>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-	
-	
-  <target name="init" description="Initialize binaries directory">
-  	<mkdir dir="${classes.dir}/${user-authenticator-ldap.jar}"/>
-  	<mkdir dir="${jar.dir}"/>
-  </target>
-	
-  <target name="compile-user-authenticator-ldap" depends="init" description="Compile user-authenticator-ldap">
-    <compile-java jar.name="${user-authenticator-ldap.jar}" top.dir="${user-authenticator-ldap.base.dir}" classpath="user-authenticator-ldap.classpath" />
-  </target>
-	
-  <target name="help" description="help">
-    <echo level="info" message="This is the build file for user-authenticator-ldap"/>
-    <echo level="info" message="You can do a build by doing ant build or clean by ant clean" />
-  </target>
-
-  <target name="clean-user-authenticator-ldap">
-    <delete dir="${classes.dir}/${user-authenticator-ldap.jar}"/>
-  </target>
-	
-  <target name="build" depends="compile-user-authenticator-ldap"/>
-  <target name="clean" depends="clean-user-authenticator-ldap"/>
-	
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2b74b6e8/plugins/user-authenticators/md5/build.xml
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/md5/build.xml b/plugins/user-authenticators/md5/build.xml
deleted file mode 100755
index eee2fc7..0000000
--- a/plugins/user-authenticators/md5/build.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-
-<project name="Cloud Stack LDAP User Authenticator" default="help" basedir=".">
-  <description>
-		Cloud Stack ant build file
-    </description>
-
-  <dirname property="user-authenticator-md5.base.dir" file="${ant.file.Cloud Stack LDAP User Authenticator}/"/>
-  <!-- This directory must be set -->
-  <property name="top.dir" location="${user-authenticator-md5.base.dir}/../../.."/>
-  <property name="build.dir" location="${top.dir}/build"/>
-	
-	<echo message="build.dir=${build.dir}; top.dir=${top.dir}; user-authenticator-md5.base.dir=${user-authenticator-md5.base.dir}"/>
-
-  <!-- Import anything that the user wants to set-->
-  <!-- Import properties files and environment variables here -->
-
-  <property environment="env" />
-
-  <condition property="build-cloud.properties.file" value="${build.dir}/override/build-cloud.properties" else="${build.dir}/build-cloud.properties">
-    <available file="${build.dir}/override/build-cloud.properties" />
-  </condition>
-
-  <condition property="cloud.properties.file" value="${build.dir}/override/cloud.properties" else="${build.dir}/cloud.properties">
-    <available file="${build.dir}/override/cloud.properties" />
-  </condition>
-
-  <condition property="override.file" value="${build.dir}/override/replace.properties" else="${build.dir}/replace.properties">
-    <available file="${build.dir}/override/replace.properties" />
-  </condition>
-
-  <echo message="Using build parameters from ${build-cloud.properties.file}" />
-  <property file="${build-cloud.properties.file}" />
-
-  <echo message="Using company info from ${cloud.properties.file}" />
-  <property file="${cloud.properties.file}" />
-
-  <echo message="Using override file from ${override.file}" />
-  <property file="${override.file}" />
-
-  <property file="${build.dir}/build.number" />
-
-  <!-- In case these didn't get defined in the build-cloud.properties -->
-  <property name="branding.name" value="default" />
-  <property name="deprecation" value="off" />
-  <property name="target.compat.version" value="1.6" />
-  <property name="source.compat.version" value="1.6" />
-  <property name="debug" value="true" />
-  <property name="debuglevel" value="lines,source"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-  <!-- directories for build and distribution -->
-  <property name="target.dir" location="${top.dir}/target" />
-  <property name="classes.dir" location="${target.dir}/classes" />
-  <property name="jar.dir" location="${target.dir}/jar" />
-  <property name="dep.cache.dir" location="${target.dir}/dep-cache" />
-  <property name="build.log" location="${target.dir}/ant_verbose.txt" />
-
-  <property name="deps.dir" location="${top.dir}/deps" />
-  
-  <property name="user-authenticator-md5.jar" value="cloud-user-authenticator-md5.jar" />
-  <property name="user-authenticator-md5-scripts.dir" location="${user-authenticator-md5.base.dir}/scripts" />
-	
-  <import file="${build.dir}/build-common.xml"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-  <path id="deps.classpath">
-    <!--filelist files="${deps.classpath}" /-->
-    <fileset dir="${deps.dir}" erroronmissingdir="false">
-      <include name="*.jar" />
-    </fileset>
-  </path>
-	
-  <path id="cloudstack.classpath">
-  	<fileset dir="${jar.dir}">
-  	  <include name="*.jar"/>
-    </fileset>
-  </path>
-	
-  <path id="user-authenticator-md5.classpath">
-	<path refid="deps.classpath"/>
-  	<path refid="cloudstack.classpath"/>
-  </path>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-	
-	
-  <target name="init" description="Initialize binaries directory">
-  	<mkdir dir="${classes.dir}/${user-authenticator-md5.jar}"/>
-  	<mkdir dir="${jar.dir}"/>
-  </target>
-	
-  <target name="compile-user-authenticator-md5" depends="init" description="Compile user-authenticator-md5">
-    <compile-java jar.name="${user-authenticator-md5.jar}" top.dir="${user-authenticator-md5.base.dir}" classpath="user-authenticator-md5.classpath" />
-  </target>
-	
-  <target name="help" description="help">
-    <echo level="info" message="This is the build file for user-authenticator-md5"/>
-    <echo level="info" message="You can do a build by doing ant build or clean by ant clean" />
-  </target>
-
-  <target name="clean-user-authenticator-md5">
-    <delete dir="${classes.dir}/${user-authenticator-md5.jar}"/>
-  </target>
-	
-  <target name="build" depends="compile-user-authenticator-md5"/>
-  <target name="clean" depends="clean-user-authenticator-md5"/>
-	
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2b74b6e8/plugins/user-authenticators/plain-text/build.xml
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/plain-text/build.xml b/plugins/user-authenticators/plain-text/build.xml
deleted file mode 100755
index a59bb5d..0000000
--- a/plugins/user-authenticators/plain-text/build.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-
-<project name="Cloud Stack LDAP User Authenticator" default="help" basedir=".">
-  <description>
-		Cloud Stack ant build file
-    </description>
-
-  <dirname property="user-authenticator-plaintext.base.dir" file="${ant.file.Cloud Stack LDAP User Authenticator}/"/>
-  <!-- This directory must be set -->
-  <property name="top.dir" location="${user-authenticator-plaintext.base.dir}/../../.."/>
-  <property name="build.dir" location="${top.dir}/build"/>
-	
-	<echo message="build.dir=${build.dir}; top.dir=${top.dir}; user-authenticator-plaintext.base.dir=${user-authenticator-plaintext.base.dir}"/>
-
-  <!-- Import anything that the user wants to set-->
-  <!-- Import properties files and environment variables here -->
-
-  <property environment="env" />
-
-  <condition property="build-cloud.properties.file" value="${build.dir}/override/build-cloud.properties" else="${build.dir}/build-cloud.properties">
-    <available file="${build.dir}/override/build-cloud.properties" />
-  </condition>
-
-  <condition property="cloud.properties.file" value="${build.dir}/override/cloud.properties" else="${build.dir}/cloud.properties">
-    <available file="${build.dir}/override/cloud.properties" />
-  </condition>
-
-  <condition property="override.file" value="${build.dir}/override/replace.properties" else="${build.dir}/replace.properties">
-    <available file="${build.dir}/override/replace.properties" />
-  </condition>
-
-  <echo message="Using build parameters from ${build-cloud.properties.file}" />
-  <property file="${build-cloud.properties.file}" />
-
-  <echo message="Using company info from ${cloud.properties.file}" />
-  <property file="${cloud.properties.file}" />
-
-  <echo message="Using override file from ${override.file}" />
-  <property file="${override.file}" />
-
-  <property file="${build.dir}/build.number" />
-
-  <!-- In case these didn't get defined in the build-cloud.properties -->
-  <property name="branding.name" value="default" />
-  <property name="deprecation" value="off" />
-  <property name="target.compat.version" value="1.6" />
-  <property name="source.compat.version" value="1.6" />
-  <property name="debug" value="true" />
-  <property name="debuglevel" value="lines,source"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-  <!-- directories for build and distribution -->
-  <property name="target.dir" location="${top.dir}/target" />
-  <property name="classes.dir" location="${target.dir}/classes" />
-  <property name="jar.dir" location="${target.dir}/jar" />
-  <property name="dep.cache.dir" location="${target.dir}/dep-cache" />
-  <property name="build.log" location="${target.dir}/ant_verbose.txt" />
-
-  <property name="deps.dir" location="${top.dir}/deps" />
-  
-  <property name="user-authenticator-plaintext.jar" value="cloud-user-authenticator-plaintext.jar" />
-  <property name="user-authenticator-plaintext-scripts.dir" location="${user-authenticator-plaintext.base.dir}/scripts" />
-	
-  <import file="${build.dir}/build-common.xml"/>
-
-  <echo message="target.dir=${target.dir}; top.dir=${top.dir}"/>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-  <path id="deps.classpath">
-    <!--filelist files="${deps.classpath}" /-->
-    <fileset dir="${deps.dir}" erroronmissingdir="false">
-      <include name="*.jar" />
-    </fileset>
-  </path>
-	
-  <path id="cloudstack.classpath">
-  	<fileset dir="${jar.dir}">
-  	  <include name="*.jar"/>
-    </fileset>
-  </path>
-	
-  <path id="user-authenticator-plaintext.classpath">
-	<path refid="deps.classpath"/>
-  	<path refid="cloudstack.classpath"/>
-  </path>
-	
-  <!-- This section needs to be replaced by some kind of dependency library-->
-	
-	
-  <target name="init" description="Initialize binaries directory">
-  	<mkdir dir="${classes.dir}/${user-authenticator-plaintext.jar}"/>
-  	<mkdir dir="${jar.dir}"/>
-  </target>
-	
-  <target name="compile-user-authenticator-plaintext" depends="init" description="Compile user-authenticator-plaintext">
-    <compile-java jar.name="${user-authenticator-plaintext.jar}" top.dir="${user-authenticator-plaintext.base.dir}" classpath="user-authenticator-plaintext.classpath" />
-  </target>
-	
-  <target name="help" description="help">
-    <echo level="info" message="This is the build file for user-authenticator-plaintext"/>
-    <echo level="info" message="You can do a build by doing ant build or clean by ant clean" />
-  </target>
-
-  <target name="clean-user-authenticator-plaintext">
-    <delete dir="${classes.dir}/${user-authenticator-plaintext.jar}"/>
-  </target>
-	
-  <target name="build" depends="compile-user-authenticator-plaintext"/>
-  <target name="clean" depends="clean-user-authenticator-plaintext"/>
-	
-</project>