Formatting

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2447 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
sharedocs1@gmail.com 2009-12-16 13:18:16 +00:00
parent 0dc9f42502
commit a9e00bab79
1 changed files with 35 additions and 38 deletions

View File

@ -1,6 +1,4 @@
<!-- <!--
Copyright (C) 2009 Cloud Conscious, LLC. <info@cloudconscious.com> Copyright (C) 2009 Cloud Conscious, LLC. <info@cloudconscious.com>
==================================================================== ====================================================================
@ -21,47 +19,46 @@
specific language governing permissions and limitations specific language governing permissions and limitations
under the License. under the License.
==================================================================== ====================================================================
--> -->
<project name="compute" default="list" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant"> <project name="compute" default="list" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<artifact:localRepository id="local.repository" path="${user.home}/.m2/repository" /> <artifact:localRepository id="local.repository" path="${user.home}/.m2/repository" />
<artifact:remoteRepository id="jclouds-snapshot.repository" url="http://jclouds.rimuhosting.com/maven2/snapshots" /> <artifact:remoteRepository id="jclouds-snapshot.repository" url="http://jclouds.rimuhosting.com/maven2/snapshots" />
<artifact:dependencies pathId="jclouds.classpath"> <artifact:dependencies pathId="jclouds.classpath">
<dependency groupId="org.jclouds" artifactId="jclouds-ant-plugin" version="1.0-SNAPSHOT" /> <dependency groupId="org.jclouds" artifactId="jclouds-ant-plugin" version="1.0-SNAPSHOT" />
<dependency groupId="org.jclouds" artifactId="jclouds-terremark" version="1.0-SNAPSHOT" /> <dependency groupId="org.jclouds" artifactId="jclouds-terremark" version="1.0-SNAPSHOT" />
<dependency groupId="org.jclouds" artifactId="jclouds-aws" version="1.0-SNAPSHOT" /> <dependency groupId="org.jclouds" artifactId="jclouds-aws" version="1.0-SNAPSHOT" />
<dependency groupId="org.jclouds" artifactId="jclouds-hostingdotcom" version="1.0-SNAPSHOT" /> <dependency groupId="org.jclouds" artifactId="jclouds-hostingdotcom" version="1.0-SNAPSHOT" />
<dependency groupId="org.jclouds" artifactId="jclouds-rimuhosting" version="1.0-SNAPSHOT" /> <dependency groupId="org.jclouds" artifactId="jclouds-rimuhosting" version="1.0-SNAPSHOT" />
<localRepository refid="local.repository" /> <localRepository refid="local.repository" />
<remoteRepository refid="jclouds-snapshot.repository" /> <remoteRepository refid="jclouds-snapshot.repository" />
</artifact:dependencies> </artifact:dependencies>
<typedef name="compute" classname="org.jclouds.tools.ant.ComputeTask" classpathref="jclouds.classpath" /> <typedef name="compute" classname="org.jclouds.tools.ant.ComputeTask" classpathref="jclouds.classpath" />
<property name="jclouds.compute.url" value="compute://${jclouds.compute.account}:${jclouds.compute.key}@${jclouds.compute.provider}" /> <property name="jclouds.compute.url" value="compute://${jclouds.compute.account}:${jclouds.compute.key}@${jclouds.compute.provider}" />
<property name="jclouds.compute.servername" value="testforjcloud2" /> <property name="jclouds.compute.servername" value="testforjcloud2" />
<target name="list">
<compute action="list" provider="${jclouds.compute.url}" />
</target>
<target name="clean"> <target name="list">
<compute action="destroy" provider="${jclouds.compute.url}" > <compute action="list" provider="${jclouds.compute.url}" />
<server name="${jclouds.compute.servername}"/> </target>
</compute>
</target>
<target name="get"> <target name="clean">
<compute action="get" provider="${jclouds.compute.url}" > <compute action="destroy" provider="${jclouds.compute.url}">
<server name="${jclouds.compute.servername}"/> <server name="${jclouds.compute.servername}" />
</compute> </compute>
</target> </target>
<target name="create"> <target name="get">
<compute action="create" provider="${jclouds.compute.url}" > <compute action="get" provider="${jclouds.compute.url}">
<server name="${jclouds.compute.servername}" image="CENTOS_53" profile="SMALLEST" /> <server name="${jclouds.compute.servername}" />
</compute> </compute>
</target> </target>
</project> <target name="create">
<compute action="create" provider="${jclouds.compute.url}">
<server name="${jclouds.compute.servername}" image="CENTOS_53" profile="SMALLEST" />
</compute>
</target>
</project>