Permalink
Browse files

Upgrade to latest grails

 Create new project called bbb-web-api using latest grails.
  • Loading branch information...
1 parent f8005a5 commit e9227a82304f32e20444b0ec884fea80bc60bfa1 @ritzalam ritzalam committed May 27, 2016
Showing with 25,511 additions and 0 deletions.
  1. +3 −0 bbb-web-api/.gitignore
  2. +119 −0 bbb-web-api/build.gradle
  3. +2 −0 bbb-web-api/gradle.properties
  4. BIN bbb-web-api/gradle/wrapper/gradle-wrapper.jar
  5. +6 −0 bbb-web-api/gradle/wrapper/gradle-wrapper.properties
  6. +160 −0 bbb-web-api/gradlew
  7. +90 −0 bbb-web-api/gradlew.bat
  8. BIN bbb-web-api/grails-app/assets/images/apple-touch-icon-retina.png
  9. BIN bbb-web-api/grails-app/assets/images/apple-touch-icon.png
  10. BIN bbb-web-api/grails-app/assets/images/favicon.ico
  11. +26 −0 bbb-web-api/grails-app/assets/images/grails-cupsonly-logo-white.svg
  12. BIN bbb-web-api/grails-app/assets/images/skin/database_add.png
  13. BIN bbb-web-api/grails-app/assets/images/skin/database_delete.png
  14. BIN bbb-web-api/grails-app/assets/images/skin/database_edit.png
  15. BIN bbb-web-api/grails-app/assets/images/skin/database_save.png
  16. BIN bbb-web-api/grails-app/assets/images/skin/database_table.png
  17. BIN bbb-web-api/grails-app/assets/images/skin/exclamation.png
  18. BIN bbb-web-api/grails-app/assets/images/skin/house.png
  19. BIN bbb-web-api/grails-app/assets/images/skin/information.png
  20. BIN bbb-web-api/grails-app/assets/images/skin/shadow.jpg
  21. BIN bbb-web-api/grails-app/assets/images/skin/sorted_asc.gif
  22. BIN bbb-web-api/grails-app/assets/images/skin/sorted_desc.gif
  23. BIN bbb-web-api/grails-app/assets/images/spinner.gif
  24. +21 −0 bbb-web-api/grails-app/assets/javascripts/application.js
  25. +2,363 −0 bbb-web-api/grails-app/assets/javascripts/bootstrap.js
  26. +4 −0 bbb-web-api/grails-app/assets/javascripts/jquery-2.2.0.min.js
  27. +15 −0 bbb-web-api/grails-app/assets/stylesheets/application.css
  28. +6,760 −0 bbb-web-api/grails-app/assets/stylesheets/bootstrap.css
  29. +109 −0 bbb-web-api/grails-app/assets/stylesheets/errors.css
  30. +1,059 −0 bbb-web-api/grails-app/assets/stylesheets/grails.css
  31. +574 −0 bbb-web-api/grails-app/assets/stylesheets/main.css
  32. +82 −0 bbb-web-api/grails-app/assets/stylesheets/mobile.css
  33. +7 −0 bbb-web-api/grails-app/conf/application.groovy
  34. +220 −0 bbb-web-api/grails-app/conf/application.properties
  35. +129 −0 bbb-web-api/grails-app/conf/application.yml
  36. +34 −0 bbb-web-api/grails-app/conf/logback.groovy
  37. +72 −0 bbb-web-api/grails-app/conf/spring/bbb-redis-messaging.xml
  38. +32 −0 bbb-web-api/grails-app/conf/spring/bbb-redis-pool.xml
  39. +124 −0 bbb-web-api/grails-app/conf/spring/doc-conversion.xml
  40. +3 −0 bbb-web-api/grails-app/conf/spring/resources.groovy
  41. +104 −0 bbb-web-api/grails-app/conf/spring/resources.xml
  42. +68 −0 bbb-web-api/grails-app/conf/spring/turn-stun-servers.xml
  43. +2,128 −0 bbb-web-api/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy
  44. +296 −0 bbb-web-api/grails-app/controllers/org/bigbluebutton/web/controllers/PresentationController.groovy
  45. +80 −0 bbb-web-api/grails-app/controllers/org/bigbluebutton/web/controllers/UrlMappings.groovy
  46. +56 −0 bbb-web-api/grails-app/i18n/messages.properties
  47. +55 −0 bbb-web-api/grails-app/i18n/messages_cs_CZ.properties
  48. +56 −0 bbb-web-api/grails-app/i18n/messages_da.properties
  49. +55 −0 bbb-web-api/grails-app/i18n/messages_de.properties
  50. +55 −0 bbb-web-api/grails-app/i18n/messages_es.properties
  51. +19 −0 bbb-web-api/grails-app/i18n/messages_fr.properties
  52. +55 −0 bbb-web-api/grails-app/i18n/messages_it.properties
  53. +55 −0 bbb-web-api/grails-app/i18n/messages_ja.properties
  54. +56 −0 bbb-web-api/grails-app/i18n/messages_nb.properties
  55. +55 −0 bbb-web-api/grails-app/i18n/messages_nl.properties
  56. +59 −0 bbb-web-api/grails-app/i18n/messages_pl.properties
  57. +59 −0 bbb-web-api/grails-app/i18n/messages_pt_BR.properties
  58. +34 −0 bbb-web-api/grails-app/i18n/messages_pt_PT.properties
  59. +31 −0 bbb-web-api/grails-app/i18n/messages_ru.properties
  60. +55 −0 bbb-web-api/grails-app/i18n/messages_sv.properties
  61. +55 −0 bbb-web-api/grails-app/i18n/messages_th.properties
  62. +18 −0 bbb-web-api/grails-app/i18n/messages_zh_CN.properties
  63. +7 −0 bbb-web-api/grails-app/init/BootStrap.groovy
  64. +10 −0 bbb-web-api/grails-app/init/bbb/web/api/Application.groovy
  65. +171 −0 bbb-web-api/grails-app/services/org/bigbluebutton/web/services/PresentationService.groovy
  66. +31 −0 bbb-web-api/grails-app/views/error.gsp
  67. +79 −0 bbb-web-api/grails-app/views/index.gsp
  68. +51 −0 bbb-web-api/grails-app/views/layouts/main.gsp
  69. +14 −0 bbb-web-api/grails-app/views/notFound.gsp
  70. +46 −0 bbb-web-api/src/main/groovy/org/bigbluebutton/api/ClientConfigServiceHelperImp.groovy
  71. +132 −0 bbb-web-api/src/main/groovy/org/bigbluebutton/api/RecordingServiceHelperImp.groovy
  72. +52 −0 bbb-web-api/src/main/groovy/org/bigbluebutton/presentation/GeneratedSlidesInfoHelperImp.groovy
  73. +78 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/ApiErrors.java
  74. +59 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/ClientConfigService.java
  75. +26 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/IClientConfigServiceHelper.java
  76. +941 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/MeetingService.java
  77. +780 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/ParamsProcessorUtil.java
  78. +404 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/RecordingService.java
  79. +29 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/RecordingServiceHelper.java
  80. +30 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/Util.java
  81. +14 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Config.java
  82. +494 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Meeting.java
  83. +60 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Playback.java
  84. +81 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Poll.java
  85. +209 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Recording.java
  86. +44 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/Recordings.java
  87. +138 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/User.java
  88. +53 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/domain/UserSession.java
  89. +96 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/Constants.java
  90. +194 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MeetingMessageHandler.java
  91. +36 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageBuilder.java
  92. +25 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageDistributor.java
  93. +23 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageHandler.java
  94. +26 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageListener.java
  95. +114 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageReceiver.java
  96. +106 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageSender.java
  97. +72 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageToJson.java
  98. +19 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessageToSend.java
  99. +60 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessagingConstants.java
  100. +45 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/MessagingService.java
  101. +25 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/ReceivedMessage.java
  102. +74 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/ReceivedMessageHandler.java
  103. +173 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/RedisMessagingService.java
  104. +126 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/RedisStorageService.java
  105. +19 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/converters/MessageFromJsonConverter.java
  106. +39 −0 ...b-api/src/main/java/org/bigbluebutton/api/messaging/converters/messages/CreateMeetingMessage.java
  107. +12 −0 ...-api/src/main/java/org/bigbluebutton/api/messaging/converters/messages/DestroyMeetingMessage.java
  108. +12 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/converters/messages/EndMeetingMessage.java
  109. +12 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/converters/messages/KeepAliveMessage.java
  110. +24 −0 ...eb-api/src/main/java/org/bigbluebutton/api/messaging/converters/messages/RegisterUserMessage.java
  111. +27 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/CreateBreakoutRoom.java
  112. +12 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/CreateMeeting.java
  113. +9 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/EndBreakoutRoom.java
  114. +10 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/EndMeeting.java
  115. +5 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/IMessage.java
  116. +12 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/KeepAliveReply.java
  117. +9 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/MeetingDestroyed.java
  118. +9 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/MeetingEnded.java
  119. +9 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/MeetingStarted.java
  120. +22 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/RegisterUser.java
  121. +5 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/RemoveExpiredMeetings.java
  122. +11 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/StunTurnInfoRequested.java
  123. +19 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserJoined.java
  124. +11 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserJoinedVoice.java
  125. +11 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserLeft.java
  126. +11 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserLeftVoice.java
  127. +13 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserListeningOnly.java
  128. +13 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserSharedWebcam.java
  129. +15 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserStatusChanged.java
  130. +13 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/messaging/messages/UserUnsharedWebcam.java
  131. +13 −0 bbb-web-api/src/main/java/org/bigbluebutton/api/responses/InvalidResponse.java
  132. +53 −0 bbb-web-api/src/main/java/org/bigbluebutton/common/messages/BbbAppsIsAliveMessage.java
  133. +41 −0 bbb-web-api/src/main/java/org/bigbluebutton/common/messages/MessageBuilder.java
  134. +39 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/ConversionMessageConstants.java
  135. +111 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/ConversionUpdateMessage.java
  136. +24 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/DocumentConversionService.java
  137. +82 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/DocumentConversionServiceImp.java
  138. +45 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/FileTypeConstants.java
  139. +24 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/GeneratedSlidesInfoHelper.java
  140. +94 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/ImageToSwfSlide.java
  141. +78 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/OfficeToPdfConversionSuccessFilter.java
  142. +16 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/Page.java
  143. +32 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PageAnalyser.java
  144. +26 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PageConverter.java
  145. +26 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PageCounter.java
  146. +26 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PageExtractor.java
  147. +148 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PdfToSwfSlide.java
  148. +169 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/PresentationUrlDownloadService.java
  149. +73 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/SupportedDocumentFilter.java
  150. +80 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/SupportedFileTypes.java
  151. +27 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/SvgImageCreator.java
  152. +24 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/TextFileCreator.java
  153. +24 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/ThumbnailCreator.java
  154. +92 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/UploadedPresentation.java
  155. +44 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/Util.java
  156. +92 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/handlers/AbstractPageConverterHandler.java
  157. +30 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/handlers/Pdf2PngPageConverterHandler.java
  158. +109 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/handlers/Pdf2SwfPageConverterHandler.java
  159. +30 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/handlers/Png2SwfPageConverterHandler.java
  160. +49 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/CountingPageException.java
  161. +77 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/ExternalProcessExecutor.java
  162. +56 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/GhostscriptPageExtractor.java
  163. +54 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/ImageMagickPageConverter.java
  164. +194 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/ImageToSwfSlidesGenerationService.java
  165. +53 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/Jpeg2SwfPageConverter.java
  166. +71 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/Office2PdfPageConverter.java
  167. +70 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/OfficeToPdfConversionService.java
  168. +85 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/PageCounterService.java
  169. +263 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/Pdf2SwfPageConverter.java
  170. +106 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/Pdf2SwfPageCounter.java
  171. +67 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/PdfPageToImageConversionService.java
  172. +302 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/PdfToSwfSlidesGenerationService.java
  173. +51 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/Png2SwfPageConverter.java
  174. +105 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/SvgImageCreatorImp.java
  175. +104 −0 ...web-api/src/main/java/org/bigbluebutton/presentation/imp/SwfSlidesGenerationProgressNotifier.java
  176. +121 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/TextFileCreatorImp.java
  177. +163 −0 bbb-web-api/src/main/java/org/bigbluebutton/presentation/imp/ThumbnailCreatorImp.java
  178. +55 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/ExpiredMeetingCleanupTimerTask.java
  179. +30 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/IStorageService.java
  180. +5 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/KeepAliveMessage.java
  181. +7 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/KeepAlivePing.java
  182. +12 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/KeepAlivePong.java
  183. +169 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/KeepAliveService.java
  184. +90 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/RedisStorageService.java
  185. +55 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/RegisteredUserCleanupTimerTask.java
  186. +10 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/turn/StunServer.java
  187. +42 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/turn/StunTurnService.java
  188. +33 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/turn/TurnEntry.java
  189. +77 −0 bbb-web-api/src/main/java/org/bigbluebutton/web/services/turn/TurnServer.java
  190. +11 −0 bbb-web-api/src/main/webapp/WEB-INF/freemarker/get-recordings-empty.ftl
  191. +41 −0 bbb-web-api/src/main/webapp/WEB-INF/freemarker/get-recordings.ftl
  192. +8 −0 bbb-web-api/src/main/webapp/WEB-INF/freemarker/invalid-response.ftl
  193. +55 −0 bbb-web-api/src/main/webapp/WEB-INF/freemarker/respond-with-conference-details.ftl
  194. +19 −0 bbb-web-api/src/main/webapp/WEB-INF/freemarker/respond-with-conference.ftl
@@ -0,0 +1,3 @@
+lib/
+build/
+.idea/
@@ -0,0 +1,119 @@
+buildscript {
+ ext {
+ grailsVersion = project.grailsVersion
+ }
+ repositories {
+ mavenLocal()
+ maven { url "https://repo.grails.org/grails/core" }
+ }
+ dependencies {
+ classpath "org.grails:grails-gradle-plugin:$grailsVersion"
+ classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.8.2"
+ classpath "org.grails.plugins:hibernate4:5.0.6"
+ }
+}
+
+version "0.1"
+group "bigbluebutton"
+
+apply plugin:"eclipse"
+apply plugin:"idea"
+apply plugin:"war"
+apply plugin:"org.grails.grails-web"
+apply plugin:"org.grails.grails-gsp"
+apply plugin:"asset-pipeline"
+
+ext {
+ grailsVersion = project.grailsVersion
+ gradleWrapperVersion = project.gradleWrapperVersion
+}
+
+repositories {
+ jcenter()
+ mavenCentral()
+ mavenLocal()
+ maven {
+ url "https://repo.grails.org/grails/core"
+
+ // Look for artifacts here if not found at the above location
+ artifactUrls "http://oss.sonatype.org/content/repositories/snapshots"
+
+ artifactUrls "http://oss.sonatype.org/content/repositories/releases"
+ }
+}
+
+dependencyManagement {
+ imports {
+ mavenBom "org.grails:grails-bom:$grailsVersion"
+ }
+ applyMavenExclusions false
+}
+
+dependencies {
+ compile "org.springframework.boot:spring-boot-starter-logging"
+ compile "org.springframework.boot:spring-boot-autoconfigure"
+ compile "org.grails:grails-core"
+ compile "org.springframework.boot:spring-boot-starter-actuator"
+ compile "org.springframework.boot:spring-boot-starter-tomcat"
+ compile "org.grails:grails-dependencies"
+ compile "org.grails:grails-web-boot"
+ compile "org.grails.plugins:cache"
+ compile "org.grails.plugins:scaffolding"
+ compile "org.grails.plugins:hibernate4"
+ compile "org.hibernate:hibernate-ehcache"
+ console "org.grails:grails-console"
+ profile "org.grails.profiles:web:3.1.7"
+ runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.8.2"
+ runtime "com.h2database:h2"
+ testCompile "org.grails:grails-plugin-testing"
+ testCompile "org.grails.plugins:geb"
+ testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
+ testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
+
+ //redis
+ compile 'redis.clients:jedis:2.7.2'
+ compile 'org.apache.commons:commons-pool2:2.3'
+
+ compile 'commons-lang:commons-lang:2.5'
+ compile 'commons-io:commons-io:2.4'
+ compile 'com.google.code.gson:gson:2.5'
+ compile 'commons-httpclient:commons-httpclient:3.1'
+
+ compile 'org.bigbluebutton:bbb-common-message:0.0.18-SNAPSHOT'
+ compile 'com.zaxxer:nuprocess:1.0.4'
+
+ compile 'org.json:json:20160212'
+
+ // XML creation speedup
+ compile 'org.freemarker:freemarker:2.3.23'
+
+ // http://mvnrepository.com/artifact/com.artofsolving/jodconverter
+ compile group: 'com.artofsolving', name: 'jodconverter', version: '2.2.1'
+ // http://mvnrepository.com/artifact/org.libreoffice/unoil
+ compile group: 'org.libreoffice', name: 'unoil', version: '5.1.2'
+ // http://mvnrepository.com/artifact/org.libreoffice/unoloader
+ compile group: 'org.libreoffice', name: 'unoloader', version: '5.1.2'
+ // http://mvnrepository.com/artifact/org.libreoffice/officebean
+ compile group: 'org.libreoffice', name: 'officebean', version: '5.1.2'
+ // http://mvnrepository.com/artifact/org.libreoffice/juh
+ compile group: 'org.libreoffice', name: 'juh', version: '5.1.2'
+ // http://mvnrepository.com/artifact/org.libreoffice/jurt
+ compile group: 'org.libreoffice', name: 'jurt', version: '5.1.2'
+ // http://mvnrepository.com/artifact/org.libreoffice/ridl
+ compile group: 'org.libreoffice', name: 'ridl', version: '5.1.2'
+}
+
+task resolveDeps(type: Copy) {
+ into('lib')
+ from configurations.default
+ from configurations.default.allArtifacts.file
+}
+
+task wrapper(type: Wrapper) {
+ gradleVersion = gradleWrapperVersion
+}
+
+assets {
+ minifyJs = true
+ minifyCss = true
+}
@@ -0,0 +1,2 @@
+grailsVersion=3.1.7
+gradleWrapperVersion=2.13
Binary file not shown.
@@ -0,0 +1,6 @@
+#Fri Nov 27 23:09:32 CET 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip
View
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.

0 comments on commit e9227a8

Please sign in to comment.