Permalink
Browse files

copied bookmarks sample out of project tree

git-svn-id: https://svn.codehaus.org/grails/trunk@5105 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
  • Loading branch information...
0 parents commit 3e0d92241d94ea8d382aee09d0f766a7064c8c7b graeme committed Aug 8, 2007
Showing with 21,747 additions and 0 deletions.
  1. +66 −0 .classpath
  2. +23 −0 .project
  3. +3 −0 .settings/org.codehaus.groovy.eclipse.preferences.prefs
  4. +64 −0 .settings/org.eclipse.jdt.core.prefs
  5. +21 −0 README.txt
  6. +20 −0 bookmarks.launch
  7. +8 −0 grails-app/conf/ApplicationBootStrap.groovy
  8. +12 −0 grails-app/conf/ApplicationDataSource.groovy
  9. +9 −0 grails-app/conf/BookmarksUrlMappings.groovy
  10. +10 −0 grails-app/conf/DevelopmentDataSource.groovy
  11. +10 −0 grails-app/conf/ProductionDataSource.groovy
  12. +10 −0 grails-app/conf/TestDataSource.groovy
  13. +37 −0 grails-app/conf/log4j.development.properties
  14. +37 −0 grails-app/conf/log4j.production.properties
  15. +37 −0 grails-app/conf/log4j.test.properties
  16. +185 −0 grails-app/controllers/BookmarkController.groovy
  17. +11 −0 grails-app/controllers/SecureController.groovy
  18. +19 −0 grails-app/controllers/SubscriptionController.groovy
  19. +73 −0 grails-app/controllers/TagController.groovy
  20. +36 −0 grails-app/controllers/UserController.groovy
  21. +20 −0 grails-app/i18n/messages.properties
  22. +60 −0 grails-app/jobs/SubscriptionJob.groovy
  23. +34 −0 grails-app/services/BookmarkService.groovy
  24. +53 −0 grails-app/services/DeliciousService.groovy
  25. +30 −0 grails-app/taglib/BookmarkTagLib.groovy
  26. +25 −0 grails-app/views/bookmark/_bookmark.gsp
  27. +16 −0 grails-app/views/bookmark/_editor.gsp
  28. +7 −0 grails-app/views/bookmark/_suggest.gsp
  29. +37 −0 grails-app/views/bookmark/create.gsp
  30. +10 −0 grails-app/views/bookmark/edit.gsp
  31. +36 −0 grails-app/views/bookmark/list.gsp
  32. +1 −0 grails-app/views/bookmark/show.gsp
  33. +46 −0 grails-app/views/error.gsp
  34. +88 −0 grails-app/views/layouts/main.gsp
  35. +3 −0 grails-app/views/subscription/_subscription.gsp
  36. +32 −0 grails-app/views/subscription/list.gsp
  37. +44 −0 grails-app/views/tag/create.gsp
  38. +51 −0 grails-app/views/tag/edit.gsp
  39. +50 −0 grails-app/views/tag/list.gsp
  40. +56 −0 grails-app/views/tag/show.gsp
  41. +35 −0 grails-app/views/user/login.gsp
  42. +57 −0 grails-app/views/user/register.gsp
  43. +180 −0 grails-tests/BookmarkTests.groovy
  44. +20 −0 grails-tests/DeliciousTests.groovy
  45. +59 −0 grails-tests/SubscriptionTests.groovy
  46. +15 −0 hibernate/hibernate.cfg.xml
  47. BIN lib/acegi-security-1.0.1.jar
  48. BIN lib/acegi-security-jetty-1.0.1.jar
  49. BIN lib/acegi-security-tiger-1.0.1.jar
  50. BIN lib/activation.jar
  51. BIN lib/commons-codec-1.3.jar
  52. BIN lib/commons-email-1.0.jar
  53. BIN lib/commons-httpclient-3.0.1.jar
  54. BIN lib/jaxen-1.1-beta-9.jar
  55. BIN lib/jdom-1.0.jar
  56. BIN lib/mail.jar
  57. BIN lib/stax-api-1.0.1.jar
  58. BIN lib/wsdl4j-1.5.2.jar
  59. BIN lib/wss4j-1.5.0.jar
  60. BIN lib/wstx-asl-3.0.1.jar
  61. BIN lib/xfire-all-1.2.2.jar
  62. BIN lib/xstream-1.2.jar
  63. +150 −0 plugins/core/grails-app/taglib/ApplicationTagLib.groovy
  64. +602 −0 plugins/core/grails-app/taglib/FormTagLib.groovy
  65. +544 −0 plugins/core/grails-app/taglib/JavascriptTagLib.groovy
  66. +377 −0 plugins/core/grails-app/taglib/RenderTagLib.groovy
  67. +41 −0 plugins/core/grails-app/taglib/TagLibUtil.groovy
  68. +214 −0 plugins/core/grails-app/taglib/UITagLib.groovy
  69. +293 −0 plugins/core/grails-app/taglib/ValidationTagLib.groovy
  70. +11 −0 plugins/core/grails-app/utils/HTMLCodec.groovy
  71. +7 −0 plugins/core/grails-app/utils/JavaScriptCodec.groovy
  72. +22 −0 plugins/core/grails-app/utils/URLCodec.groovy
  73. +179 −0 spring/resources.xml
  74. +14 −0 src/java/org/grails/bookmarks/Bookmark.aegis.xml
  75. +90 −0 src/java/org/grails/bookmarks/Bookmark.java
  76. +8 −0 src/java/org/grails/bookmarks/BookmarkConstraints.groovy
  77. +23 −0 src/java/org/grails/bookmarks/IBookmarkService.java
  78. +44 −0 src/java/org/grails/bookmarks/Subscription.java
  79. +31 −0 src/java/org/grails/bookmarks/Tag.java
  80. +48 −0 src/java/org/grails/bookmarks/TagReference.java
  81. +79 −0 src/java/org/grails/bookmarks/User.java
  82. +128 −0 src/java/org/grails/bookmarks/api/BookmarkXmlController.java
  83. +39 −0 web-app/WEB-INF/applicationContext.xml
  84. +37 −0 web-app/WEB-INF/log4j.properties
  85. +14 −0 web-app/WEB-INF/sitemesh.xml
  86. +13 −0 web-app/WEB-INF/test-applicationContext.xml
  87. +416 −0 web-app/WEB-INF/tld/2.3/c.tld
  88. +442 −0 web-app/WEB-INF/tld/2.3/fmt.tld
  89. +311 −0 web-app/WEB-INF/tld/2.3/spring.tld
  90. +563 −0 web-app/WEB-INF/tld/2.4/c.tld
  91. +671 −0 web-app/WEB-INF/tld/2.4/fmt.tld
  92. +311 −0 web-app/WEB-INF/tld/2.4/spring.tld
  93. +563 −0 web-app/WEB-INF/tld/c.tld
  94. +671 −0 web-app/WEB-INF/tld/fmt.tld
  95. +550 −0 web-app/WEB-INF/tld/grails.tld
  96. +311 −0 web-app/WEB-INF/tld/spring.tld
  97. +113 −0 web-app/WEB-INF/web.template.xml
  98. +192 −0 web-app/WEB-INF/web.xml
  99. +127 −0 web-app/css/main.css
  100. +58 −0 web-app/css/tree/check/tree.css
  101. +97 −0 web-app/css/tree/default/tree.css
  102. +55 −0 web-app/css/tree/folders/tree.css
  103. +58 −0 web-app/css/tree/menu/tree.css
  104. BIN web-app/images/grails_logo.jpg
  105. BIN web-app/images/spinner.gif
  106. BIN web-app/images/tree/bullet.gif
  107. BIN web-app/images/tree/check/check0.gif
  108. BIN web-app/images/tree/check/check1.gif
  109. BIN web-app/images/tree/check/check2.gif
  110. BIN web-app/images/tree/check/lm.gif
  111. BIN web-app/images/tree/check/lmh.gif
  112. BIN web-app/images/tree/check/ln.gif
  113. BIN web-app/images/tree/check/loading.gif
  114. BIN web-app/images/tree/check/lp.gif
  115. BIN web-app/images/tree/check/lph.gif
  116. BIN web-app/images/tree/check/tm.gif
  117. BIN web-app/images/tree/check/tmh.gif
  118. BIN web-app/images/tree/check/tn.gif
  119. BIN web-app/images/tree/check/tp.gif
  120. BIN web-app/images/tree/check/tph.gif
  121. BIN web-app/images/tree/check/vline.gif
  122. BIN web-app/images/tree/default/lm.gif
  123. BIN web-app/images/tree/default/lmh.gif
  124. BIN web-app/images/tree/default/ln.gif
  125. BIN web-app/images/tree/default/loading.gif
  126. BIN web-app/images/tree/default/lp.gif
  127. BIN web-app/images/tree/default/lph.gif
  128. BIN web-app/images/tree/default/tm.gif
  129. BIN web-app/images/tree/default/tmh.gif
  130. BIN web-app/images/tree/default/tn.gif
  131. BIN web-app/images/tree/default/tp.gif
  132. BIN web-app/images/tree/default/tph.gif
  133. BIN web-app/images/tree/default/vline.gif
  134. BIN web-app/images/tree/folders/lm.gif
  135. BIN web-app/images/tree/folders/lmh.gif
  136. BIN web-app/images/tree/folders/ln.gif
  137. BIN web-app/images/tree/folders/loading.gif
  138. BIN web-app/images/tree/folders/lp.gif
  139. BIN web-app/images/tree/folders/lph.gif
  140. BIN web-app/images/tree/folders/tm.gif
  141. BIN web-app/images/tree/folders/tmh.gif
  142. BIN web-app/images/tree/folders/tn.gif
  143. BIN web-app/images/tree/folders/tp.gif
  144. BIN web-app/images/tree/folders/tph.gif
  145. BIN web-app/images/tree/folders/vline.gif
  146. BIN web-app/images/tree/greybg.png
  147. BIN web-app/images/tree/header.gif
  148. BIN web-app/images/tree/logo.gif
  149. BIN web-app/images/tree/menu/collapse.gif
  150. BIN web-app/images/tree/menu/collapseh.gif
  151. BIN web-app/images/tree/menu/collapseon.gif
  152. BIN web-app/images/tree/menu/dash.gif
  153. BIN web-app/images/tree/menu/expand.gif
  154. BIN web-app/images/tree/menu/expandh.gif
  155. BIN web-app/images/tree/menu/expandon.gif
  156. BIN web-app/images/tree/menu/loading.gif
  157. BIN web-app/images/tree/navHover2.png
  158. BIN web-app/images/tree/qbottom.png
  159. BIN web-app/images/tree/qmiddle.png
  160. BIN web-app/images/tree/qtop.png
  161. +3 −0 web-app/index.jsp
  162. +13 −0 web-app/js/application.js
  163. +7 −0 web-app/js/prototype/animation.js
  164. +101 −0 web-app/js/prototype/builder.js
  165. +815 −0 web-app/js/prototype/controls.js
  166. +915 −0 web-app/js/prototype/dragdrop.js
  167. +958 −0 web-app/js/prototype/effects.js
  168. +2,006 −0 web-app/js/prototype/prototype.js
  169. +2,691 −0 web-app/js/prototype/rico.js
  170. +47 −0 web-app/js/prototype/scriptaculous.js
  171. +283 −0 web-app/js/prototype/slider.js
  172. +383 −0 web-app/js/prototype/unittest.js
  173. +7 −0 web-app/js/yahoo/animation-min.js
  174. BIN web-app/js/yahoo/assets/Thumbs.db
  175. BIN web-app/js/yahoo/assets/alrt16_1.gif
  176. BIN web-app/js/yahoo/assets/blck16_1.gif
  177. +163 −0 web-app/js/yahoo/assets/calendar.css
  178. BIN web-app/js/yahoo/assets/callt.gif
  179. BIN web-app/js/yahoo/assets/calrt.gif
  180. BIN web-app/js/yahoo/assets/calx.gif
  181. BIN web-app/js/yahoo/assets/close12_1.gif
  182. +206 −0 web-app/js/yahoo/assets/container.css
  183. BIN web-app/js/yahoo/assets/hlp16_1.gif
  184. BIN web-app/js/yahoo/assets/info16_1.gif
  185. BIN web-app/js/yahoo/assets/lm.gif
  186. BIN web-app/js/yahoo/assets/lmh.gif
  187. BIN web-app/js/yahoo/assets/ln.gif
  188. BIN web-app/js/yahoo/assets/loading.gif
  189. BIN web-app/js/yahoo/assets/lp.gif
  190. BIN web-app/js/yahoo/assets/lph.gif
  191. +264 −0 web-app/js/yahoo/assets/menu.css
  192. BIN web-app/js/yahoo/assets/menuarodwn9_clk_1.gif
  193. BIN web-app/js/yahoo/assets/menuarodwn9_dim_1.gif
  194. BIN web-app/js/yahoo/assets/menuarodwn9_nrm_1.gif
  195. BIN web-app/js/yahoo/assets/menuarorght9_dim_1.gif
  196. BIN web-app/js/yahoo/assets/menuarorght9_hov_1.gif
  197. BIN web-app/js/yahoo/assets/menuarorght9_nrm_1.gif
  198. BIN web-app/js/yahoo/assets/tip16_1.gif
  199. BIN web-app/js/yahoo/assets/tm.gif
  200. BIN web-app/js/yahoo/assets/tmh.gif
  201. BIN web-app/js/yahoo/assets/tn.gif
  202. BIN web-app/js/yahoo/assets/tp.gif
  203. BIN web-app/js/yahoo/assets/tph.gif
  204. +98 −0 web-app/js/yahoo/assets/tree.css
  205. BIN web-app/js/yahoo/assets/vline.gif
  206. BIN web-app/js/yahoo/assets/warn16_1.gif
  207. +211 −0 web-app/js/yahoo/calendar-min.js
  208. +72 −0 web-app/js/yahoo/connection-min.js
  209. +265 −0 web-app/js/yahoo/container-min.js
  210. +137 −0 web-app/js/yahoo/container_core-min.js
  211. +1 −0 web-app/js/yahoo/dom-min.js
  212. +1 −0 web-app/js/yahoo/dragdrop-min.js
  213. +1 −0 web-app/js/yahoo/event-min.js
  214. +1 −0 web-app/js/yahoo/menu-min.js
  215. +1 −0 web-app/js/yahoo/slider-min.js
  216. +1 −0 web-app/js/yahoo/treeview-min.js
  217. +1 −0 web-app/js/yahoo/yahoo-min.js
  218. +16 −0 webtest/conf/webtest.properties
  219. +629 −0 webtest/reports/WebTestResults.html
  220. +460 −0 webtest/reports/WebTestResults.xml
  221. +5 −0 webtest/reports/readme.txt
  222. +40 −0 webtest/reports/response_1159829438560_invoke.html
  223. +44 −0 webtest/reports/response_1159829441998_clickLink.html
  224. +79 −0 webtest/reports/response_1159829446196_clickButton.html
  225. +55 −0 webtest/reports/response_1159829447832_clickLink.html
  226. +79 −0 webtest/reports/response_1159829449533_clickLink.html
  227. +59 −0 webtest/reports/response_1159829452976_clickButton.html
  228. +79 −0 webtest/reports/response_1159829455395_clickButton.html
  229. +55 −0 webtest/reports/response_1159829457001_clickLink.html
  230. +79 −0 webtest/reports/response_1159829458642_clickLink.html
  231. +44 −0 webtest/reports/response_1159829461056_clickButton.html
  232. +63 −0 webtest/tests/BookmarkWebTest.groovy
  233. +36 −0 webtest/tests/TestSuite.groovy
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/java"/>
+ <classpathentry kind="src" path="src/groovy"/>
+ <classpathentry kind="src" path="grails-app/conf"/>
+ <classpathentry kind="src" path="grails-app/controllers"/>
+ <classpathentry kind="src" path="grails-app/domain"/>
+ <classpathentry kind="src" path="grails-app/services"/>
+ <classpathentry kind="src" path="grails-app/taglib"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/antlr-2.7.6rc1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-cli-1.0.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-collections-3.0.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-dbcp-1.2.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-pool-1.2.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/dom4j-1.6.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/ehcache-1.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.0.1-SNAPSHOT.jar"/>
+ <classpathentry sourcepath="/HIBERNATE_HOME/src" kind="var" path="GRAILS_HOME/lib/hibernate3.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate-annotations.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/jdbc2_0-stdext.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/log4j-1.2.8.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/ognl-2.7.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/org.mortbay.jetty.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/quartz-1.5.2.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.2.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/spring-binding.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/spring-mock.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/springmodules-sandbox.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/spring-webflow.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/xml-apis.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/>
+ <classpathentry sourcepath="/SPRING_HOME/src" kind="var" path="GRAILS_HOME/lib/spring-1.2.8.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/servletapi-2.4.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/oro-2.0.8.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/hsqldb-1.8.0.5.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-validator-1.3.0.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-logging-1.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-lang-2.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-fileupload-1.1.1.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/commons-el-1.0.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/cglib-nodep-2.1_3.jar"/>
+ <classpathentry kind="var" path="GRAILS_HOME/lib/bsf-2.3.0.jar"/>
+ <classpathentry sourcepath="/GRAILS_HOME/src/web" kind="var" path="GRAILS_HOME/dist/grails-0.3-SNAPSHOT.jar"/>
+ <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="var" path="GRAILS_HOME/lib/jsp-api-2.0.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"/>
+</classpath>
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bookmarks</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.codehaus.groovy.eclipse.groovyBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.codehaus.groovy.eclipse.groovyNature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,3 @@
+#Wed Oct 04 07:57:39 BST 2006
+eclipse.preferences.version=1
+groovy.compiler.output.path=bin
@@ -0,0 +1,64 @@
+#Wed Oct 04 15:15:57 BST 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.builder.cleanOutputFolder=clean
+org.eclipse.jdt.core.builder.duplicateResourceTask=warning
+org.eclipse.jdt.core.builder.invalidClasspath=abort
+org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
+org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.DS_Store,tmp
+org.eclipse.jdt.core.circularClasspath=error
+org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
+org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
+org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullReference=ignore
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.incompatibleJDKLevel=ignore
+org.eclipse.jdt.core.incompleteClasspath=error
@@ -0,0 +1,21 @@
+Bookmarks Sample Application
+----------------------------
+
+This is the sample application from the book "The Defintive Guide to Grails" by
+Graeme Rocher (see http://www.apress.com/book/bookDisplay.html?bID=10205)
+
+It shows integration with Java frameworks and services like Xfire, Acegi and Hibernate.
+It also includes del.icio.us integration.
+
+To get started type
+
+grails run-app
+
+And navigate to:
+
+http://localhost:8080/bookmarks
+
+Register with the same user details that you registered with del.icio.us for (if you have an account).
+Then login and start adding bookmarks, and searching del.icio.us.
+
+Enjoy!
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<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;"/>
+</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"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/bookmarks"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+</launchConfiguration>
+
@@ -0,0 +1,8 @@
+class ApplicationBootStrap {
+
+ def init = { servletContext ->
+ System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.processor.TransformerFactoryImpl")
+ }
+ def destroy = {
+ }
+}
@@ -0,0 +1,12 @@
+import org.codehaus.groovy.grails.orm.hibernate.cfg.*
+
+class ApplicationDataSource {
+ def configClass = GrailsAnnotationConfiguration.class
+
+ boolean pooling = true
+ String dbCreate = "create-drop" // one of 'create', 'create-drop','update'
+ String url = "jdbc:hsqldb:mem:testDB"
+ String driverClassName = "org.hsqldb.jdbcDriver"
+ String username = "sa"
+ String password = ""
+}
@@ -0,0 +1,9 @@
+class BookmarksUrlMappings {
+ static mappings = {
+ "/$controller/$action?/$id?"{
+ constraints {
+ // apply constraints here
+ }
+ }
+ }
+}
@@ -0,0 +1,10 @@
+import org.codehaus.groovy.grails.orm.hibernate.cfg.*
+class DevelopmentDataSource {
+ def configClass = GrailsAnnotationConfiguration.class
+ boolean pooling = true
+ String dbCreate = "create-drop" // one of 'create', 'create-drop','update'
+ String url = "jdbc:hsqldb:mem:devDB"
+ String driverClassName = "org.hsqldb.jdbcDriver"
+ String username = "sa"
+ String password = ""
+}
@@ -0,0 +1,10 @@
+import org.codehaus.groovy.grails.orm.hibernate.cfg.*
+class ProductionDataSource {
+ def configClass = GrailsAnnotationConfiguration.class
+ boolean pooling = true
+ String dbCreate = "update" // one of 'create', 'create-drop','update'
+ String url = "jdbc:hsqldb:file:prodDb"
+ String driverClassName = "org.hsqldb.jdbcDriver"
+ String username = "sa"
+ String password = ""
+}
@@ -0,0 +1,10 @@
+import org.codehaus.groovy.grails.orm.hibernate.cfg.*
+class TestDataSource {
+ def configClass = GrailsAnnotationConfiguration.class
+ boolean pooling = true
+ String dbCreate = "update" // one of 'create', 'create-drop','update'
+ String url = "jdbc:hsqldb:mem:testDB"
+ String driverClassName = "org.hsqldb.jdbcDriver"
+ String username = "sa"
+ String password = ""
+}
@@ -0,0 +1,37 @@
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+# Enable logging for everything. Rarely useful
+log4j.rootLogger=error, stdout
+
+
+# Enable this logger to log Hibernate output
+# handy to see its database interaction activity
+#log4j.logger.org.hibernate=debug,stdout
+#log4j.additivity.org.hibernate=false
+
+# Enable this logger to see what Spring does, occasionally useful
+#log4j.logger.org.springframework=info,stdout
+#log4j.additivity.org.springframework=false
+
+# This logger covers all of Grails' internals
+# Enable to see whats going on underneath.
+log4j.logger.org.codehaus.groovy.grails=info,stdout
+log4j.additivity.org.codehaus.groovy.grails=false
+
+# This logger is useful if you just want to see what Grails
+# configures with Spring at runtime. Setting to debug will show
+# each bean that is configured
+log4j.logger.org.codehaus.groovy.grails.commons.spring=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.spring=false
+
+# Interesting Logger to see what some of the Grails factory beans are doing
+log4j.logger.org.codehaus.groovy.grails.beans.factory=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.beans.factory=false
+
+# This logger outputs what Grails is doing dynamically under the covers
+log4j.logger.org.codehaus.groovy.grails.commons.metaclass=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.metaclass=false
+
+# This logger is for Grails' public APIs within the grails. package
+log4j.logger.grails=info,stdout
+log4j.additivity.grails=false
@@ -0,0 +1,37 @@
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+# Enable logging for everything. Rarely useful
+log4j.rootLogger=error, stdout
+
+
+# Enable this logger to log Hibernate output
+# handy to see its database interaction activity
+#log4j.logger.org.hibernate=debug,stdout
+#log4j.additivity.org.hibernate=false
+
+# Enable this logger to see what Spring does, occasionally useful
+#log4j.logger.org.springframework=info,stdout
+#log4j.additivity.org.springframework=false
+
+# This logger covers all of Grails' internals
+# Enable to see whats going on underneath.
+log4j.logger.org.codehaus.groovy.grails=info,stdout
+log4j.additivity.org.codehaus.groovy.grails=false
+
+# This logger is useful if you just want to see what Grails
+# configures with Spring at runtime. Setting to debug will show
+# each bean that is configured
+log4j.logger.org.codehaus.groovy.grails.commons.spring=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.spring=false
+
+# Interesting Logger to see what some of the Grails factory beans are doing
+log4j.logger.org.codehaus.groovy.grails.beans.factory=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.beans.factory=false
+
+# This logger outputs what Grails is doing dynamically under the covers
+log4j.logger.org.codehaus.groovy.grails.commons.metaclass=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.metaclass=false
+
+# This logger is for Grails' public APIs within the grails. package
+log4j.logger.grails=info,stdout
+log4j.additivity.grails=false
@@ -0,0 +1,37 @@
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+# Enable logging for everything. Rarely useful
+log4j.rootLogger=error, stdout
+
+
+# Enable this logger to log Hibernate output
+# handy to see its database interaction activity
+#log4j.logger.org.hibernate=debug,stdout
+#log4j.additivity.org.hibernate=false
+
+# Enable this logger to see what Spring does, occasionally useful
+#log4j.logger.org.springframework=info,stdout
+#log4j.additivity.org.springframework=false
+
+# This logger covers all of Grails' internals
+# Enable to see whats going on underneath.
+log4j.logger.org.codehaus.groovy.grails=info,stdout
+log4j.additivity.org.codehaus.groovy.grails=false
+
+# This logger is useful if you just want to see what Grails
+# configures with Spring at runtime. Setting to debug will show
+# each bean that is configured
+log4j.logger.org.codehaus.groovy.grails.commons.spring=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.spring=false
+
+# Interesting Logger to see what some of the Grails factory beans are doing
+log4j.logger.org.codehaus.groovy.grails.beans.factory=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.beans.factory=false
+
+# This logger outputs what Grails is doing dynamically under the covers
+log4j.logger.org.codehaus.groovy.grails.commons.metaclass=info,stdout
+log4j.additivity.org.codehaus.groovy.grails.commons.metaclass=false
+
+# This logger is for Grails' public APIs within the grails. package
+log4j.logger.grails=info,stdout
+log4j.additivity.grails=false
Oops, something went wrong.

0 comments on commit 3e0d922

Please sign in to comment.