Permalink
Browse files

updated petclinic sample to 1.3 RC1

  • Loading branch information...
1 parent e6a843e commit cda3dce3cede581d1b8e0ce5e2f025be14a39d63 @graemerocher graemerocher committed Mar 31, 2010
@@ -1,8 +1,8 @@
#Grails Metadata file
#Thu Oct 01 11:54:33 CEST 2009
-app.grails.version=1.3.0.M1
+app.grails.version=1.3.0.RC1
app.name=petclinic
app.servlet.version=2.4
app.version=0.1
-plugins.hibernate=1.3.0.M1
-plugins.tomcat=1.3.0.M1
+plugins.hibernate=1.3.0.RC1
+plugins.tomcat=1.3.0.RC1
@@ -1,130 +0,0 @@
-<project xmlns:ivy="antlib:org.apache.ivy.ant" name="petclinic" default="test">
- <property environment="env"/>
- <property name="ivy.install.version" value="2.0.0" />
- <condition property="ivy.home" value="${env.IVY_HOME}">
- <isset property="env.IVY_HOME" />
- </condition>
- <property name="ivy.home" value="${user.home}/.grails/ivy" />
- <property name="ivy.jar.dir" value="${ivy.home}/lib" />
- <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar" />
-
- <target name="download-ivy" unless="offline">
- <available file="${ivy.jar.file}" property="ivy.available"/>
- <antcall target="-download-ivy" />
- </target>
-
- <target name="-download-ivy" unless="ivy.available">
- <mkdir dir="${ivy.jar.dir}"/>
- <!-- download Ivy from web site so that it can be used even without any special installation -->
- <get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip"
- dest="${ivy.home}/ivy.zip" usetimestamp="true" verbose="true"/>
- <unzip src="${ivy.home}/ivy.zip" dest="${ivy.jar.dir}">
- <patternset>
- <include name="**/*.jar"/>
- </patternset>
- <mapper type="flatten"/>
- </unzip>
- </target>
-
- <target name="init-ivy" depends="download-ivy" unless="ivy.lib.path">
- <!-- try to load ivy here from ivy home, in case the user has not already dropped
- it into ant's lib dir (note that the latter copy will always take precedence).
- We will not fail as long as local lib dir exists (it may be empty) and
- ivy is in at least one of ant's lib dir or the local lib dir. -->
- <path id="ivy.lib.path">
- <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
- </path>
- <taskdef resource="org/apache/ivy/ant/antlib.xml"
- uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
- </target>
-
-
- <property name="lib.dir" value="${basedir}/lib"/>
-
- <macrodef name="grails">
- <attribute name="script"/>
- <attribute name="args" default="" />
- <sequential>
- <grailsTask script="@{script}" args="@{args}" classpathref="grails.classpath">
- <compileClasspath refid="compile.classpath"/>
- <testClasspath refid="test.classpath"/>
- <runtimeClasspath refid="app.classpath"/>
- </grailsTask>
- </sequential>
- </macrodef>
-
- <!-- =================================
- target: resolve
- ================================= -->
- <target name="-resolve" description="--> Retrieve dependencies with ivy" depends="init-ivy">
- <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact]-[revision].[ext]"/>
- </target>
-
- <target name="-init-grails" depends="-resolve">
- <path id="grails.classpath">
- <fileset dir="${lib.dir}/build"/>
- <fileset dir="${lib.dir}"/>
- </path>
-
- <taskdef name="grailsTask"
- classname="grails.ant.GrailsTask"
- classpathref="grails.classpath"/>
- </target>
-
- <target name="deps-report" depends="-resolve" description="--> Generate report of module dependencies.">
- <ivy:report conf="*"/>
- </target>
-
- <!-- =================================
- target: clean
- ================================= -->
- <target name="clean" description="--> Cleans a Grails application">
- <delete failonerror="true">
- <fileset dir="${lib.dir}/build" includes="*/"/>
- <fileset dir="${lib.dir}/compile" includes="*/"/>
- <fileset dir="${lib.dir}/runtime" includes="*/"/>
- <fileset dir="${lib.dir}/test" includes="*/"/>
- </delete>
- <antcall target="--grails-clean"/>
- </target>
-
- <!-- extra target to avoid errors on Windows because libs on classpath can not be deleted -->
- <target name="--grails-clean" depends="-init-grails">
- <grails script="Clean"/>
- </target>
-
- <!-- =================================
- target: compile
- ================================= -->
- <target name="compile" depends="-init-grails" description="--> Compiles a Grails application">
- <grails script="Compile"/>
- </target>
-
- <!-- =================================
- target: war
- ================================= -->
- <target name="war" depends="-init-grails" description="--> Creates a WAR of a Grails application">
- <grails script="War"/>
- </target>
-
- <!-- =================================
- target: test
- ================================= -->
- <target name="test" depends="-init-grails" description="--> Run a Grails applications unit tests">
- <grails script="TestApp"/>
- </target>
-
- <!-- =================================
- target: run
- ================================= -->
- <target name="run" depends="-init-grails" description="--> Runs a Grails application using embedded Jetty">
- <grails script="RunApp"/>
- </target>
-
- <!-- =================================
- target: deploy
- ================================= -->
- <target name="deploy" depends="war" description="--> The deploy target (initially empty)">
- <!-- TODO -->
- </target>
-</project>
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ivy-module version="2.0">
- <info organisation="org.grails" module="petclinic"/>
- <configurations defaultconfmapping="build->default">
- <conf name="build"/>
- </configurations>
- <dependencies>
- <dependency org="org.grails" name="grails-bootstrap" rev="1.2-M3" conf="build"/>
- </dependencies>
-</ivy-module>
@@ -1,15 +0,0 @@
-<ivysettings>
- <settings defaultResolver="codehaus-plus"/>
- <include url="${ivy.default.settings.dir}/ivysettings-public.xml" />
- <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
- <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
- <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
- <resolvers>
- <chain name="codehaus-plus" dual="true">
- <ibiblio name="codehaus-snapshots" root="http://snapshots.repository.codehaus.org" m2compatible="true" changingPattern=".*SNAPSHOT"/>
- <ibiblio name="codehaus" root="http://repository.codehaus.org" m2compatible="true"/>
- <ibiblio name="javanet" root="http://download.java.net/maven/2/" m2compatible="true"/>
- <resolver ref="public"/>
- </chain>
- </resolvers>
-</ivysettings>
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
-<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
-<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
-<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
-<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
-<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="grails.test.GrailsAwareGroovyTestSuite"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="petclinic"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dtest=${resource_loc}"/>
-</launchConfiguration>
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/petclinic"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</listAttribute>
-<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
-<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;petclinic&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;GRAILS_HOME/dist/grails-bootstrap-1.2-M3.jar&quot; path=&quot;3&quot; type=&quot;3&quot;/&gt;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;GRAILS_HOME/lib/groovy-all-1.6.4.jar&quot; path=&quot;3&quot; type=&quot;3&quot;/&gt;&#10;"/>
-</listAttribute>
-<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="grails.util.GrailsMain"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="petclinic"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=&quot;${project_loc:petclinic}&quot; -Dserver.port=8080 -Dgrails.env=development"/>
-</launchConfiguration>

0 comments on commit cda3dce

Please sign in to comment.