Changeset 74


Ignore:
Timestamp:
Mar 16, 2009, 8:09:47 AM (15 years ago)
Author:
gav
Message:

Migrate /branches/TaskRewrite to grails-1.1

Location:
branches/TaskRewrite/src
Files:
3 added
1 deleted
16 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/.classpath

    r53 r74  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<classpath>
    3         <classpathentry kind="src" path="src/java"/>
    4         <classpathentry kind="src" path="src/groovy"/>
    5         <classpathentry kind="src" path="grails-app/conf"/>
    6         <classpathentry kind="src" path="grails-app/controllers"/>
    7         <classpathentry kind="src" path="grails-app/domain"/>
    8         <classpathentry kind="src" path="grails-app/services"/>
    9         <classpathentry kind="src" path="grails-app/taglib"/>
    10         <classpathentry kind="src" path="test/integration"/>
    11         <classpathentry kind="src" path="test/unit"/>
    12         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    13         <classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/>
    14     <classpathentry kind="var" path="GRAILS_HOME/lib/commons-logging-1.1.jar" />
    15 
    16 <classpathentry kind="var" path="GRAILS_HOME/lib/xercesImpl.jar" />
    17 
     3<classpathentry kind="src" path="src/java"/>
     4<classpathentry kind="src" path="src/groovy"/>
     5<classpathentry kind="src" path="grails-app/conf"/>
     6<classpathentry kind="src" path="grails-app/controllers"/>
     7<classpathentry kind="src" path="grails-app/domain"/>
     8<classpathentry kind="src" path="grails-app/services"/>
     9<classpathentry kind="src" path="grails-app/taglib"/>
     10<classpathentry kind="src" path="test/integration"/>
     11<classpathentry kind="src" path="test/unit"/>
     12<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
     13<classpathentry kind="output" path="web-app/WEB-INF/classes"/>
     14<classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/>
    1815<classpathentry kind="var" path="GRAILS_HOME/lib/cglib-nodep-2.1_3.jar" />
    19 
    20 <classpathentry kind="var" path="GRAILS_HOME/lib/jaxen-1.1-beta-11.jar" />
    21 
     16<classpathentry kind="var" path="GRAILS_HOME/lib/ant-junit-1.7.0.jar" />
     17<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.webflow-2.0.3.RELEASE.jar" />
    2218<classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.2.jar" />
    23 
     19<classpathentry kind="var" path="GRAILS_HOME/lib/spring-test-2.5.6.jar" />
    2420<classpathentry kind="var" path="GRAILS_HOME/lib/commons-io-1.4.jar" />
    25 
    2621<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.4.jar" />
    27 
    2822<classpathentry kind="var" path="GRAILS_HOME/lib/commons-collections-3.2.jar" />
    29 
    30 <classpathentry kind="var" path="GRAILS_HOME/lib/jetty-6.1.12.jar" />
    31 
    32 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-lang-2.1.jar" />
    33 
     23<classpathentry kind="var" path="GRAILS_HOME/lib/jcl-over-slf4j-1.5.6.jar" />
     24<classpathentry kind="var" path="GRAILS_HOME/lib/spring-webmvc-2.5.6.jar" />
    3425<classpathentry kind="var" path="GRAILS_HOME/lib/commons-validator-1.3.0.jar" />
    35 
     26<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-util-6.1.14.jar" />
     27<classpathentry kind="var" path="GRAILS_HOME/lib/jta-1.1.jar" />
    3628<classpathentry kind="var" path="GRAILS_HOME/lib/antlr-2.7.6.jar" />
    37 
    3829<classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.0.jar" />
    39 
    40 <classpathentry kind="var" path="GRAILS_HOME/lib/servlet-api-2.5-6.1.4.jar" />
    41 
    42 <classpathentry kind="var" path="GRAILS_HOME/lib/xalan.jar" />
    43 
    4430<classpathentry kind="var" path="GRAILS_HOME/lib/commons-cli-1.0.jar" />
    45 
    46 <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate-annotations.jar" />
    47 
    48 <classpathentry kind="var" path="GRAILS_HOME/lib/ant-junit.jar" />
    49 
     31<classpathentry kind="var" path="GRAILS_HOME/lib/servlet-api-2.5-6.1.14.jar" />
    5032<classpathentry kind="var" path="GRAILS_HOME/lib/oscache-2.4.1.jar" />
    51 
    52 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-webmvc.jar" />
    53 
     33<classpathentry kind="var" path="GRAILS_HOME/lib/slf4j-api-1.5.6.jar" />
    5434<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.3.jar" />
    55 
     35<classpathentry kind="var" path="GRAILS_HOME/lib/ivy-2.0.0.jar" />
     36<classpathentry kind="var" path="GRAILS_HOME/lib/ant-1.7.0.jar" />
    5637<classpathentry kind="var" path="GRAILS_HOME/lib/start.jar" />
    57 
    58 <classpathentry kind="var" path="GRAILS_HOME/lib/xstream-1.2.1.jar" />
    59 
    60 <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate-commons-annotations.jar" />
    61 
    62 <classpathentry kind="var" path="GRAILS_HOME/lib/ant-launcher.jar" />
    63 
     38<classpathentry kind="var" path="GRAILS_HOME/lib/ant-nodeps-1.7.0.jar" />
    6439<classpathentry kind="var" path="GRAILS_HOME/lib/ehcache-1.5.0.jar" />
    65 
    6640<classpathentry kind="var" path="GRAILS_HOME/lib/hsqldb-1.8.0.5.jar" />
    67 
    6841<classpathentry kind="var" path="GRAILS_HOME/lib/commons-el-1.0.jar" />
    69 
     42<classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.6.0.jar" />
    7043<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.3.jar" />
    71 
    72 <classpathentry kind="var" path="GRAILS_HOME/lib/ant.jar" />
    73 
    74 <classpathentry kind="var" path="GRAILS_HOME/lib/jta.jar" />
    75 
    7644<classpathentry kind="var" path="GRAILS_HOME/lib/serializer.jar" />
    77 
    78 <classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.3.jar" />
    79 
    80 <classpathentry kind="var" path="GRAILS_HOME/lib/ant-nodeps.jar" />
    81 
    8245<classpathentry kind="var" path="GRAILS_HOME/lib/jsr107cache-1.0.jar" />
    83 
    84 <classpathentry kind="var" path="GRAILS_HOME/lib/dom4j-1.6.1.jar" />
    85 
    86 <classpathentry kind="var" path="GRAILS_HOME/lib/jdbc2_0-stdext.jar" />
    87 
    8846<classpathentry kind="var" path="GRAILS_HOME/lib/commons-pool-1.2.jar" />
    89 
    90 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-test.jar" />
    91 
     47<classpathentry kind="var" path="GRAILS_HOME/lib/commons-lang-2.4.jar" />
    9248<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.4.jar" />
    93 
    94 <classpathentry kind="var" path="GRAILS_HOME/lib/jetty-plus-6.1.12.jar" />
    95 
     49<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.js-2.0.3.RELEASE.jar" />
    9650<classpathentry kind="var" path="GRAILS_HOME/lib/commons-beanutils-1.7.0.jar" />
    97 
     51<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-plus-6.1.14.jar" />
    9852<classpathentry kind="var" path="GRAILS_HOME/lib/oro-2.0.8.jar" />
    99 
     53<classpathentry kind="var" path="GRAILS_HOME/lib/slf4j-log4j12-1.5.6.jar" />
    10054<classpathentry kind="var" path="GRAILS_HOME/lib/backport-util-concurrent-3.0.jar" />
    101 
    10255<classpathentry kind="var" path="GRAILS_HOME/lib/jline-0.9.91.jar" />
    103 
    104 <classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence.jar" />
    105 
    10656<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-runtime-5.5.15.jar" />
    107 
    108 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-binding-2.0-m1.jar" />
    109 
    11057<classpathentry kind="var" path="GRAILS_HOME/lib/ant-trax.jar" />
    111 
    11258<classpathentry kind="var" path="GRAILS_HOME/lib/log4j-1.2.15.jar" />
    113 
    11459<classpathentry kind="var" path="GRAILS_HOME/lib/xpp3_min-1.1.3.4.O.jar" />
    115 
    11660<classpathentry kind="var" path="GRAILS_HOME/lib/commons-fileupload-1.1.1.jar" />
    117 
    11861<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-5.5.15.jar" />
    119 
     62<classpathentry kind="var" path="GRAILS_HOME/lib/gant_groovy1.6-1.6.0.jar" />
     63<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-naming-6.1.14.jar" />
    12064<classpathentry kind="var" path="GRAILS_HOME/lib/commons-dbcp-1.2.1.jar" />
    121 
    122 <classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.5.6.jar" />
    123 
    12465<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-jdt-5.5.15.jar" />
    125 
    12666<classpathentry kind="var" path="GRAILS_HOME/lib/commons-codec-1.3.jar" />
    127 
     67<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.binding-2.0.3.RELEASE.jar" />
    12868<classpathentry kind="var" path="GRAILS_HOME/lib/spring-2.5.6.jar" />
    129 
     69<classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.1.jar" />
    13070<classpathentry kind="var" path="GRAILS_HOME/lib/ognl-2.6.9.jar" />
    131 
    13271<classpathentry kind="var" path="GRAILS_HOME/lib/svnkit-1.2.0.jar" />
    133 
    134 <classpathentry kind="var" path="GRAILS_HOME/lib/jetty-naming-6.1.12.jar" />
    135 
    136 <classpathentry kind="var" path="GRAILS_HOME/lib/jetty-util-6.1.12.jar" />
    137 
    138 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-webflow-2.0-m1.jar" />
    139 
    140 <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate3.jar" />
    141 
    142 
    143         <classpathentry kind="var" path="GRAILS_HOME/dist/grails-cli-1.0.4.jar" />
    144 
    145 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-1.0.4.jar" />
    146 
    147 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-1.0.4.jar" />
    148 
    149 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-spring-1.0.4.jar" />
    150 
    151 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-1.0.4.jar" />
    152 
    153 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-1.0.4.jar" />
    154 
    155 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-webflow-1.0.4.jar" />
    156 
    157 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-test-1.0.4.jar" />
    158 
    159 
    160         <classpathentry kind="output" path="web-app/WEB-INF/classes"/>
     72<classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.4.jar" />
     73<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-6.1.14.jar" />
     74<classpathentry kind="var" path="GRAILS_HOME/lib/ant-launcher-1.7.0.jar" />
     75<classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence-3.3.0.jar" />
     76<classpathentry kind="var" path="GRAILS_HOME/dist/grails-spring-1.1.jar" />
     77<classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-1.1.jar" />
     78<classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-1.1.jar" />
     79<classpathentry kind="var" path="GRAILS_HOME/dist/grails-bootstrap-1.1.jar" />
     80<classpathentry kind="var" path="GRAILS_HOME/dist/grails-webflow-1.1.jar" />
     81<classpathentry kind="var" path="GRAILS_HOME/dist/grails-resources-1.1.jar" />
     82<classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-1.1.jar" />
     83<classpathentry kind="var" path="GRAILS_HOME/dist/grails-test-1.1.jar" />
     84<classpathentry kind="var" path="GRAILS_HOME/dist/grails-scripts-1.1.jar" />
     85<classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-1.1.jar" />
    16186</classpath>
  • branches/TaskRewrite/src/application.properties

    r53 r74  
    1 #Thu Feb 05 16:50:07 EST 2009
     1#utf-8
     2#Sun Mar 15 21:57:51 EST 2009
    23app.version=0.1
     4plugins.acegi=0.5.1
    35app.servlet.version=2.4
    4 app.grails.version=1.0.4
     6app.grails.version=1.1
     7plugins.hibernate=1.1
    58app.name=gnuMims
  • branches/TaskRewrite/src/build.xml

    r53 r74  
    1 <project name="gnumims" default="test">
     1<project xmlns:ivy="antlib:org.apache.ivy.ant" name="gnumims" default="test">
     2    <property environment="env"/>
     3        <property name="ivy.install.version" value="2.0.0" />
     4    <condition property="ivy.home" value="${env.IVY_HOME}">
     5      <isset property="env.IVY_HOME" />
     6    </condition>
     7    <property name="ivy.home" value="${user.home}/.ant" />
     8    <property name="ivy.jar.dir" value="${ivy.home}/lib" />
     9    <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar" />
    210
    3     <condition property="grails" value="grails.bat">
    4         <os family="windows"/>
    5     </condition>
    6     <property name="grails" value="grails" />
    7 
    8         <!-- =================================
    9           target: clean             
    10          ================================= -->
    11     <target name="clean" description="--> Cleans a Grails application">
    12                 <exec executable="${grails}" failonerror="true">
    13                         <arg value="clean"/>
    14                 </exec>                               
     11    <target name="download-ivy" unless="offline">
     12                <available file="${ivy.jar.file}" property="ivy.available"/>
     13                <antcall target="-download-ivy" />
    1514    </target>
    1615
    17         <!-- =================================
    18           target: war             
     16        <target name="-download-ivy" unless="ivy.available">
     17        <mkdir dir="${ivy.jar.dir}"/>
     18        <!-- download Ivy from web site so that it can be used even without any special installation -->
     19        <get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip"
     20            dest="${ivy.home}/ivy.zip" usetimestamp="true" verbose="true"/>
     21            <unzip src="${ivy.home}/ivy.zip" dest="${ivy.jar.dir}">
     22                   <patternset>
     23                        <include name="**/*.jar"/>
     24                    </patternset>
     25                        <mapper type="flatten"/>
     26                </unzip>
     27        </target>
     28
     29    <target name="init-ivy" depends="download-ivy" unless="ivy.lib.path">
     30      <!-- try to load ivy here from ivy home, in case the user has not already dropped
     31              it into ant's lib dir (note that the latter copy will always take precedence).
     32              We will not fail as long as local lib dir exists (it may be empty) and
     33              ivy is in at least one of ant's lib dir or the local lib dir. -->
     34        <path id="ivy.lib.path">
     35            <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
     36        </path>
     37        <taskdef resource="org/apache/ivy/ant/antlib.xml"
     38                 uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
     39    </target>
     40
     41
     42    <property name="lib.dir" value="${basedir}/lib"/>
     43
     44    <macrodef name="grails">
     45        <attribute name="script"/>
     46        <attribute name="args" default="" />
     47        <sequential>
     48            <grailsTask script="@{script}" args="@{args}" classpathref="grails.classpath">
     49                <compileClasspath refid="compile.classpath"/>
     50                <testClasspath refid="test.classpath"/>
     51                <runtimeClasspath refid="app.classpath"/>
     52            </grailsTask>
     53        </sequential>
     54    </macrodef>
     55
     56    <!-- =================================
     57          target: resolve
    1958         ================================= -->
    20     <target name="war" description="--> Creates a WAR of a Grails application">
    21                 <exec executable="${grails}" failonerror="true">
    22                         <arg value="war"/>
    23                 </exec>                               
     59    <target name="-resolve" description="--> Retrieve dependencies with ivy" depends="init-ivy">
     60        <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact]-[revision].[ext]"/>
    2461    </target>
    25        
    26         <!-- =================================
    27           target: test             
     62
     63    <target name="-init-grails" depends="-resolve">
     64        <path id="grails.classpath">
     65            <fileset dir="${lib.dir}/build"/>
     66        </path>
     67
     68        <path id="compile.classpath">
     69            <fileset dir="${lib.dir}/compile"/>
     70        </path>
     71
     72        <path id="test.classpath">
     73            <fileset dir="${lib.dir}/test"/>
     74        </path>
     75
     76        <path id="app.classpath">
     77            <fileset dir="${lib.dir}/runtime"/>
     78        </path>
     79
     80        <taskdef name="grailsTask"
     81                 classname="grails.ant.GrailsTask"
     82                 classpathref="grails.classpath"/>
     83    </target>
     84
     85    <target name="deps-report" depends="-resolve" description="--> Generate report of module dependencies.">
     86        <ivy:report conf="*"/>
     87    </target>
     88
     89    <!-- =================================
     90          target: clean
    2891         ================================= -->
    29     <target name="test" description="--> Run a Grails applications unit tests">
    30                 <exec executable="${grails}" failonerror="true">
    31                         <arg value="test-app"/>
    32                 </exec>                               
     92    <target name="clean" depends="-init-grails" description="--> Cleans a Grails application">
     93        <grails script="Clean"/>
     94        <delete dir="${lib.dir}" includes="**/*"/>
    3395    </target>
    34        
    35         <!-- =================================
    36           target: deploy             
     96
     97    <!-- =================================
     98          target: compile
     99         ================================= -->
     100    <target name="compile" depends="-init-grails" description="--> Compiles a Grails application">
     101        <grails script="Compile"/>
     102    </target>
     103
     104    <!-- =================================
     105          target: war
     106         ================================= -->
     107    <target name="war" depends="-init-grails" description="--> Creates a WAR of a Grails application">
     108        <grails script="War"/>
     109    </target>
     110
     111    <!-- =================================
     112          target: test
     113         ================================= -->
     114    <target name="test" depends="-init-grails" description="--> Run a Grails applications unit tests">
     115        <grails script="TestApp"/>
     116    </target>
     117
     118    <!-- =================================
     119          target: run
     120         ================================= -->
     121    <target name="run" depends="-init-grails" description="--> Runs a Grails application using embedded Jetty">
     122        <grails script="RunApp"/>
     123    </target>
     124
     125    <!-- =================================
     126          target: deploy
    37127         ================================= -->
    38128    <target name="deploy" depends="war" description="--> The deploy target (initially empty)">
  • branches/TaskRewrite/src/gnuMims.launch

    r53 r74  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
    3 <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
    4 <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="grails.util.GrailsMain"/>
    5 <booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
    6 <listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
    7 <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;gnuMims&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
    8 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;gnuMims&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
    9 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gnuMims&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
     3<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
     4<listEntry value="/gnuMims"/>
    105</listAttribute>
    116<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
    127<listEntry value="4"/>
    138</listAttribute>
     9<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
     10<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
     11<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;gnuMims&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
     12<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.1.jar&quot; path=&quot;3&quot; type=&quot;3&quot;/&gt;&#10;"/>
     13<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.0.jar&quot; path=&quot;3&quot; type=&quot;3&quot;/&gt;&#10;"/>
     14</listAttribute>
     15<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
     16<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="grails.util.GrailsMain"/>
    1417<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="gnuMims"/>
    15 <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=${project_loc} -Dserver.port=8080 -Dgrails.env=development"/>
    16 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
    17 <listEntry value="/gnuMims"/>
    18 </listAttribute>
    19 <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
     18<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=&quot;${project_loc:gnuMims}&quot; -Dserver.port=8080 -Dgrails.env=development"/>
    2019</launchConfiguration>
  • branches/TaskRewrite/src/grails-app/controllers/EntryController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/EntryTypeController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/ModificationController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/ModificationTypeController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/PersonGroupController.groovy

    r72 r74  
    77
    88    // the delete, save and update actions only accept POST requests
    9     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     9    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    1010
    1111    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/PersonGroupTypeController.groovy

    r72 r74  
    77
    88    // the delete, save and update actions only accept POST requests
    9     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     9    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    1010
    1111    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/TaskController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/TaskGroupController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/TaskPriorityController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/TaskStatusController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/grails-app/controllers/TaskTypeController.groovy

    r69 r74  
    66
    77    // the delete, save and update actions only accept POST requests
    8     def allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    99
    1010    def list = {
  • branches/TaskRewrite/src/web-app/WEB-INF/applicationContext.xml

    r55 r74  
    1818
    1919    <bean id="pluginMetaManager" class="org.codehaus.groovy.grails.plugins.DefaultPluginMetaManager">
    20         <constructor-arg value="classpath*:**/plugins/*/plugin.xml" />
     20        <property name="grailsApplication" ref="grailsApplication" />
     21        <property name="resourcePattern" value="/WEB-INF/plugins/*/plugin.xml" />
    2122    </bean>
    2223
Note: See TracChangeset for help on using the changeset viewer.