Permalink
Browse files

updates to bookmarks app for 1.0 compatibility

git-svn-id: https://svn.codehaus.org/grails/trunk@6630 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
  • Loading branch information...
graeme
graeme committed Jan 31, 2008
1 parent 87b103d commit 822325c03ce5e32c9e69bf6f2ec247c3c5e78e79
View
@@ -7,21 +7,15 @@
<classpathentry kind="src" path="grails-app/domain"/>
<classpathentry kind="src" path="grails-app/services"/>
<classpathentry kind="src" path="grails-app/taglib"/>
+<classpathentry kind="src" path="test/integration"/>
+<classpathentry kind="src" path="test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-<classpathentry kind="lib" path="lib/mail.jar"/>
-<classpathentry kind="lib" path="lib/commons-httpclient-3.0.1.jar"/>
-<classpathentry kind="lib" path="lib/commons-email-1.0.jar"/>
-<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
-<classpathentry kind="lib" path="lib/activation.jar"/>
-<classpathentry kind="lib" path="lib/acegi-security-tiger-1.0.1.jar"/>
-<classpathentry kind="lib" path="lib/acegi-security-jetty-1.0.1.jar"/>
-<classpathentry kind="lib" path="lib/acegi-security-1.0.1.jar"/>
-<classpathentry kind="lib" path="lib/xstream-1.2.jar"/>
-<classpathentry kind="lib" path="lib/xfire-all-1.2.2.jar"/>
-<classpathentry kind="output" path="bin"/>
+<classpathentry kind="output" path="web-app/WEB-INF/classes"/>
<classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/>
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-junit.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/ant-launcher.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-nodeps.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/ant-trax.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/ant.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/antlr-2.7.6.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/bsf-2.3.0.jar" />
@@ -40,48 +34,51 @@
<classpathentry kind="var" path="GRAILS_HOME/lib/dom4j-1.6.1.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/ehcache-1.2.4.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/gant-0.2.5-SNAPSHOT.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.1-beta-3-SNAPSHOT.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/groovy-starter.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.5.2.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/hibernate-annotations.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/hibernate3.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/hsqldb-1.8.0.5.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-runtime.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-5.5.15.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-jdt-5.5.15.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-runtime-5.5.15.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jaxen-1.1-beta-11.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jdbc2_0-stdext.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-6.1.4.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-6.1.5.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-naming-6.1.4.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-plus-6.1.4.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-util-6.1.4.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/jline-0.9.91.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.0.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.3.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.4.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/jta.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.1.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/log4j-1.2.8.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.2.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/log4j-1.2.15.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/ognl-2.6.9.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/oro-2.0.8.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/serializer.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/servlet-api-2.5-6.1.4.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.3.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-2.0.2.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-beans.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-binding-1.1-SNAPSHOT-20070720144338.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-core.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-mock-2.0.2.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/spring-webflow-1.1-SNAPSHOT-20070720141159.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/spring-2.5.1.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/spring-binding-2.0-m1.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/spring-test.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/spring-webflow-2.0-m1.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/spring-webmvc.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/springmodules-sandbox.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.3.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.4.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/start.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/svnkit.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/xalan.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/xerces-2.6.2.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/lib/xml-apis.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/lib/xercesImpl.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/xpp3_min-1.1.3.4.O.jar" />
<classpathentry kind="var" path="GRAILS_HOME/lib/xstream-1.2.1.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-0.6-SNAPSHOT.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-0.6-SNAPSHOT.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-0.6-SNAPSHOT.jar" />
-<classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-0.6-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-cli-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-spring-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-test-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-1.0-final-SNAPSHOT.jar" />
+<classpathentry kind="var" path="GRAILS_HOME/dist/grails-webflow-1.0-final-SNAPSHOT.jar" />
</classpath>
View
@@ -0,0 +1,4 @@
+#Do not edit app.grails.* properties, they may change automatically. DO NOT put application configuration in here, it is not the right place!
+#Thu Jan 31 15:18:41 GMT 2008
+app.grails.version=1.0-final-SNAPSHOT
+app.name=bookmarks
View
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="grails.util.GrailsMain"/>
<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;bookmarks&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/bookmarks/web-app/WEB-INF&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;bookmarks&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
+<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;bookmarks&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 id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;bookmarks&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/bookmarks&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="bookmarks"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=${project_loc} -Dserver.port=8080"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dbase.dir=${project_loc} -Dserver.port=8080 -Dgrails.env=development"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/bookmarks"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
</launchConfiguration>
-
View
@@ -91,6 +91,16 @@
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
+ <welcome-file-list>
+ <!--
+ The order of the welcome pages is important. JBoss deployment will
+ break if index.gsp is first in the list.
+ -->
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>index.gsp</welcome-file>
+ </welcome-file-list>
+
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
@@ -12,13 +12,15 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
<description>A bean that manages Grails plugins</description>
- <property name="pluginFiles">
- <value>classpath*:**/plugins/**/*GrailsPlugin.groovy</value>
- </property>
- <property name="application" ref="grailsApplication" />
- </bean>
-
- <bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
+ <property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
+ <property name="application" ref="grailsApplication" />
+ </bean>
+
+ <bean id="pluginMetaManager" class="org.codehaus.groovy.grails.plugins.DefaultPluginMetaManager">
+ <constructor-arg value="classpath*:**/plugins/*/plugin.xml" />
+ </bean>
+
+ <bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
<constructor-arg>
<ref bean="grailsApplication" />
</constructor-arg>
Oops, something went wrong.

0 comments on commit 822325c

Please sign in to comment.