Skip to content
Browse files

Awful, fast and uncleaned SVN import, snapshot of r7401

  • Loading branch information...
0 parents commit c83c24a16c950ab122e0896992e712a0c4959c7f @Kdecherf Kdecherf committed Aug 14, 2010
Showing with 18,465 additions and 0 deletions.
  1. +42 −0 .classpath
  2. +10 −0 .settings/org.eclipse.jdt.ui.prefs
  3. +340 −0 LICENSE
  4. +74 −0 Makefile.am
  5. +114 −0 README.caucho
  6. +43 −0 apache.license
  7. +9 −0 artifacts/ant/maven2/ivy.xml
  8. +24 −0 artifacts/ant/maven2/pom.xml
  9. +114 −0 artifacts/ant/src/com/caucho/ant/Jspc.java
  10. +137 −0 artifacts/ant/src/com/caucho/ant/ResinCopyTag.java
  11. +89 −0 artifacts/ant/src/com/caucho/ant/ResinDeleteTag.java
  12. +269 −0 artifacts/ant/src/com/caucho/ant/ResinDeployClientTask.java
  13. +118 −0 artifacts/ant/src/com/caucho/ant/ResinQueryTags.java
  14. +147 −0 artifacts/ant/src/com/caucho/ant/ResinUploadWar.java
  15. +9 −0 artifacts/ant/src/com/caucho/ant/antlib.xml
  16. +4 −0 artifacts/ant/src/manifest
  17. +133 −0 artifacts/caucho-module-parent/pom.xml
  18. +12 −0 artifacts/caucho-module-parent/src/changes/changes.xml
  19. +9 −0 artifacts/caucho-module-parent/src/site/site.xml
  20. +404 −0 artifacts/caucho-module-parent/src/site/xdoc/index.xml
  21. +24 −0 artifacts/cxf/maven2/pom.xml
  22. +2 −0 ...facts/cxf/src/META-INF/caucho/com.caucho.config.uri/com.caucho.remote.client.ProtocolProxyFactory
  23. +93 −0 artifacts/cxf/src/com/caucho/cxf/CXFProtocolProxyFactory.java
  24. +54 −0 artifacts/cxf/src/com/caucho/cxf/CXFProtocolServletFactory.java
  25. +69 −0 artifacts/cxf/src/com/caucho/cxf/ReadOnlyDestinationFactoryManager.java
  26. +79 −0 artifacts/cxf/src/com/caucho/cxf/ResinCXFServlet.java
  27. +60 −0 artifacts/cxf/src/com/caucho/remote/CxfService.java
  28. +4 −0 artifacts/cxf/src/manifest
  29. +24 −0 artifacts/eclipse-update-site/README
  30. +17 −0 artifacts/eclipse-update-site/feature/.project
  31. +1 −0 artifacts/eclipse-update-site/feature/build.properties
  32. +86 −0 artifacts/eclipse-update-site/feature/feature.xml
  33. +17 −0 artifacts/eclipse-update-site/update-site/.project
  34. +14 −0 artifacts/eclipse-update-site/update-site/site.xml
  35. +9 −0 artifacts/eclipse/.classpath
  36. +28 −0 artifacts/eclipse/.project
  37. +12 −0 artifacts/eclipse/.settings/org.eclipse.jdt.core.prefs
  38. +24 −0 artifacts/eclipse/META-INF/MANIFEST.MF
  39. +13 −0 artifacts/eclipse/build.properties
  40. +50 −0 artifacts/eclipse/buildfiles/resin31.xml
  41. +49 −0 artifacts/eclipse/buildfiles/resin40-hot-deploy.xml
  42. +50 −0 artifacts/eclipse/buildfiles/resin40.xml
  43. +23 −0 artifacts/eclipse/conf/resin31/in-place.xml
  44. +22 −0 artifacts/eclipse/conf/resin31/resin.xml
  45. +22 −0 artifacts/eclipse/conf/resin31/temp-dir.xml
  46. +246 −0 artifacts/eclipse/conf/resin40/app-default.xml
  47. +28 −0 artifacts/eclipse/conf/resin40/hot-deploy.xml
  48. +23 −0 artifacts/eclipse/conf/resin40/in-place.xml
  49. +22 −0 artifacts/eclipse/conf/resin40/resin.xml
  50. +22 −0 artifacts/eclipse/conf/resin40/temp-dir.xml
  51. BIN artifacts/eclipse/icons/obj16/resin.png
  52. +9 −0 artifacts/eclipse/maven2/ivy.xml
  53. +24 −0 artifacts/eclipse/maven2/pom.xml
  54. +60 −0 artifacts/eclipse/plugin.properties
  55. +567 −0 artifacts/eclipse/plugin.xml
  56. +133 −0 artifacts/eclipse/servers/resin31-in-place.serverdef
  57. +144 −0 artifacts/eclipse/servers/resin31-temp-dir.serverdef
  58. +153 −0 artifacts/eclipse/servers/resin31.serverdef
  59. +171 −0 artifacts/eclipse/servers/resin40-hot-deploy.serverdef
  60. +133 −0 artifacts/eclipse/servers/resin40-in-place.serverdef
  61. +144 −0 artifacts/eclipse/servers/resin40-temp-dir.serverdef
  62. +153 −0 artifacts/eclipse/servers/resin40.serverdef
  63. +29 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/DeployDirResolver.java
  64. +145 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/PublisherUtil.java
  65. +167 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinGitPublisher.java
  66. +24 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinIdentifiers.java
  67. +113 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinInPlacePublisher.java
  68. +42 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinPropertyIds.java
  69. +52 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinPublisher.java
  70. +228 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinServer.java
  71. +92 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinServerBehaviour.java
  72. +55 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinServerRuntime.java
  73. +541 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/ResinServerWizardFragment.java
  74. +120 −0 artifacts/eclipse/src/com/caucho/resin/eclipse/VariableUtil.java
  75. +2 −0 artifacts/eclipse/src/manifest
  76. +27 −0 artifacts/maven/META-INF/maven/plugin.xml
  77. +9 −0 artifacts/maven/maven2/ivy.xml
  78. +36 −0 artifacts/maven/maven2/pom.xml
  79. +589 −0 artifacts/maven/src/META-INF/maven/plugin.xml.in
  80. +316 −0 artifacts/maven/src/com/caucho/maven/AbstractDeployMojo.java
  81. +215 −0 artifacts/maven/src/com/caucho/maven/MavenCopyTag.java
  82. +117 −0 artifacts/maven/src/com/caucho/maven/MavenDeleteTag.java
  83. +96 −0 artifacts/maven/src/com/caucho/maven/MavenJspc.java
  84. +148 −0 artifacts/maven/src/com/caucho/maven/MavenQueryTags.java
  85. +151 −0 artifacts/maven/src/com/caucho/maven/MavenRun.java
  86. +204 −0 artifacts/maven/src/com/caucho/maven/MavenUploadWar.java
  87. +422 −0 artifacts/maven/src/com/caucho/maven/aws/MavenEc2AssociateTriadIps.java
  88. +213 −0 artifacts/maven/src/com/caucho/maven/aws/MavenEc2ListCluster.java
  89. +107 −0 artifacts/maven/src/com/caucho/maven/aws/MavenEc2ListResinAmis.java
  90. +438 −0 artifacts/maven/src/com/caucho/maven/aws/MavenEc2StartTriad.java
  91. +6 −0 artifacts/maven/src/manifest
  92. +24 −0 artifacts/mule/maven2/pom.xml
  93. +83 −0 artifacts/mule/src/com/caucho/mule/MuleConfig.java
  94. +60 −0 artifacts/mule/src/com/caucho/mule/MuleResinContextListener.java
  95. +147 −0 artifacts/mule/src/com/caucho/mule/ResinContainerContext.java
  96. +4 −0 artifacts/mule/src/manifest
  97. +20 −0 artifacts/netbeans/Info/info.xml
  98. +58 −0 artifacts/netbeans/build.xml
  99. BIN artifacts/netbeans/lib/org-jdesktop-layout.jar
  100. BIN artifacts/netbeans/lib/org-netbeans-api-java.jar
  101. BIN artifacts/netbeans/lib/org-netbeans-modules-j2ee-genericserver.jar
  102. BIN artifacts/netbeans/lib/org-netbeans-modules-j2eeserver.jar
  103. BIN artifacts/netbeans/lib/org-netbeans-modules-java-platform.jar
  104. BIN artifacts/netbeans/lib/org-netbeans-modules-project-libraries.jar
  105. BIN artifacts/netbeans/lib/org-openide-awt.jar
  106. BIN artifacts/netbeans/lib/org-openide-dialogs.jar
  107. BIN artifacts/netbeans/lib/org-openide-execution.jar
  108. BIN artifacts/netbeans/lib/org-openide-filesystems.jar
  109. BIN artifacts/netbeans/lib/org-openide-io.jar
  110. BIN artifacts/netbeans/lib/org-openide-loaders.jar
  111. BIN artifacts/netbeans/lib/org-openide-modules.jar
  112. BIN artifacts/netbeans/lib/org-openide-nodes.jar
  113. BIN artifacts/netbeans/lib/org-openide-text.jar
  114. BIN artifacts/netbeans/lib/org-openide-util.jar
  115. BIN artifacts/netbeans/lib/org-openide-windows.jar
  116. BIN artifacts/netbeans/lib/org-openidex-util.jar
  117. +5 −0 artifacts/netbeans/manifest.mf
  118. +9 −0 artifacts/netbeans/maven2/ivy.xml
  119. +16 −0 artifacts/netbeans/maven2/pom.xml
  120. +27 −0 artifacts/netbeans/nbproject/build-impl.xml
  121. +1 −0 artifacts/netbeans/nbproject/platform.properties
  122. +1 −0 artifacts/netbeans/nbproject/private/platform-private.properties
  123. +4 −0 artifacts/netbeans/nbproject/private/private.xml
  124. +3 −0 artifacts/netbeans/nbproject/project.properties
  125. +172 −0 artifacts/netbeans/nbproject/project.xml
  126. +11 −0 artifacts/netbeans/netbeans/config/Modules/resin-netbeans-plugin.xml
  127. +106 −0 artifacts/netbeans/src/com/caucho/netbeans/ConfigurationSupportImpl.java
  128. +148 −0 artifacts/netbeans/src/com/caucho/netbeans/Console.java
  129. +135 −0 artifacts/netbeans/src/com/caucho/netbeans/ConsoleRedirector.java
  130. +88 −0 artifacts/netbeans/src/com/caucho/netbeans/DeploymentStatusImpl.java
  131. +25 −0 artifacts/netbeans/src/com/caucho/netbeans/PluginL10N.java
  132. +63 −0 artifacts/netbeans/src/com/caucho/netbeans/PluginLogger.java
  133. +89 −0 artifacts/netbeans/src/com/caucho/netbeans/ProgressEventSupport.java
  134. +568 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinConfiguration.java
  135. +124 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinDeploymentFactory.java
  136. +304 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinDeploymentManager.java
  137. +65 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinModuleConfiguration.java
  138. +55 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinModuleConfigurationFactory.java
  139. +34 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinModuleConfigurationImpl.java
  140. +51 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinPlatformFactory.java
  141. +170 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinPlatformImpl.java
  142. +497 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinProcess.java
  143. +267 −0 artifacts/netbeans/src/com/caucho/netbeans/ResinStartServer.java
  144. +109 −0 artifacts/netbeans/src/com/caucho/netbeans/SuccessProgressObject.java
  145. +84 −0 artifacts/netbeans/src/com/caucho/netbeans/SuccessStatus.java
  146. +70 −0 artifacts/netbeans/src/com/caucho/netbeans/WarConfiguration.java
  147. +304 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/AddInstanceIterator.java
  148. +156 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ResinFindJSPServlet.java
  149. +78 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ResinOptionalFactory.java
  150. +65 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ResinTarget.java
  151. +107 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ResinTargetModuleID.java
  152. +93 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ResinTargetModuleIDResolver.java
  153. +63 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ui/AbstractWizardPanel.java
  154. +63 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ui/AddServerLocationPanel.java
  155. +104 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ui/AddServerVisualPanel.form
  156. +203 −0 artifacts/netbeans/src/com/caucho/netbeans/ide/ui/AddServerVisualPanel.java
  157. +4 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/Bundle.properties
  158. +120 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinManagerNode.java
  159. +169 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinModule.java
  160. +137 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinModuleChildren.java
  161. +117 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinModuleContainerNode.java
  162. +106 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinModuleNode.java
  163. +61 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinRegistryNodeFactory.java
  164. +64 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/ResinTargetNode.java
  165. +98 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/AdminConsoleAction.java
  166. +5 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/Bundle.properties
  167. +86 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/ContainerRefreshAction.java
  168. +90 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/ModuleBrowseAction.java
  169. +73 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/ModuleUndeployAction.java
  170. +98 −0 artifacts/netbeans/src/com/caucho/netbeans/nodes/actions/ServerLogAction.java
  171. +4 −0 artifacts/netbeans/src/com/caucho/netbeans/resources/Bundle.properties
  172. BIN artifacts/netbeans/src/com/caucho/netbeans/resources/CauchoFLY_blu16.gif
  173. BIN artifacts/netbeans/src/com/caucho/netbeans/resources/CauchoFLY_blu32.gif
  174. +12 −0 artifacts/netbeans/src/com/caucho/netbeans/resources/error-annotation.xml
  175. BIN artifacts/netbeans/src/com/caucho/netbeans/resources/error-glyph.gif
  176. +48 −0 artifacts/netbeans/src/com/caucho/netbeans/resources/layer.xml
  177. +8 −0 artifacts/netbeans/src/com/caucho/netbeans/resources/nbdep.xml
  178. +212 −0 artifacts/netbeans/src/com/caucho/netbeans/util/JspNameUtil.java
  179. +414 −0 artifacts/netbeans/src/com/caucho/netbeans/util/LogSupport.java
  180. +90 −0 artifacts/netbeans/src/com/caucho/netbeans/util/Utils.java
  181. +18 −0 artifacts/netbeans/src/manifest
  182. +42 −0 artifacts/netbeans/test/unit/src/com/caucho/netbeans/ResinConfigurationTest.java
  183. +84 −0 artifacts/richfaces/src/META-INF/ajax4jsf.ftld
  184. +228 −0 artifacts/richfaces/src/META-INF/richfaces.ftld
  185. +4 −0 artifacts/richfaces/src/manifest
  186. +9 −0 artifacts/spring/maven2/ivy.xml
  187. +24 −0 artifacts/spring/maven2/pom.xml
  188. +1 −0 artifacts/spring/src/META-INF/services/com.caucho.quercus.QuercusModule
  189. +8 −0 artifacts/spring/src/beanRefContext.xml
  190. +71 −0 artifacts/spring/src/com/caucho/spring/ResinApplicationContext.java
  191. +90 −0 artifacts/spring/src/com/caucho/spring/ResinBeanFactory.java
  192. +275 −0 artifacts/spring/src/com/caucho/spring/quercus/QuercusView.java
  193. +77 −0 artifacts/spring/src/com/caucho/spring/quercus/SpringModule.java
  194. +4 −0 artifacts/spring/src/manifest
  195. +43 −0 artifacts/terracotta/build.xml
  196. +21 −0 artifacts/terracotta/ivy.xml
  197. +24 −0 artifacts/terracotta/ivysettings.xml
  198. +56 −0 artifacts/terracotta/src/com/caucho/modules/terracotta/EnvironmentClassLoader.java
  199. +56 −0 artifacts/terracotta/src/com/caucho/modules/terracotta/SystemClassLoader.java
  200. +110 −0 artifacts/terracotta/src/com/caucho/modules/terracotta/TerracottaClassLoaderSupport.java
  201. 0 artifacts/terracotta/src/manifest
  202. +24 −0 artifacts/wicket/maven2/pom.xml
  203. +75 −0 artifacts/wicket/src/com/caucho/wicket/ResinApplicationFactory.java
  204. +60 −0 artifacts/wicket/src/com/caucho/wicket/ResinComponentInjector.java
  205. +50 −0 artifacts/wicket/src/com/caucho/wicket/ResinWebApplication.java
  206. +4 −0 artifacts/wicket/src/manifest
  207. +24 −0 artifacts/xfire/maven2/pom.xml
  208. +2 −0 ...cts/xfire/src/META-INF/caucho/com.caucho.config.uri/com.caucho.remote.client.ProtocolProxyFactory
  209. +69 −0 artifacts/xfire/src/com/caucho/xfire/ResinXFireServlet.java
  210. +93 −0 artifacts/xfire/src/com/caucho/xfire/XFireProtocolProxyFactory.java
  211. +55 −0 artifacts/xfire/src/com/caucho/xfire/XFireProtocolServletFactory.java
  212. +4 −0 artifacts/xfire/src/manifest
  213. +24 −0 artifacts/xwork2/maven2/pom.xml
  214. +58 −0 artifacts/xwork2/src/com/caucho/xwork2/ResinObjectFactory.java
  215. +4 −0 artifacts/xwork2/src/manifest
  216. +42 −0 bin/resin.sh
Sorry, we could not display the entire diff because too many files (8,149) changed.
42 .classpath
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="modules/deploy/src"/>
+ <classpathentry kind="src" path="modules/eclipselink/src"/>
+ <classpathentry kind="src" path="modules/junit/src"/>
+ <classpathentry kind="src" path="modules/ejb/src"/>
+ <classpathentry kind="src" path="modules/hessian/src"/>
+ <classpathentry kind="src" path="modules/jaxb/src"/>
+ <classpathentry kind="src" path="modules/jaxrpc/src"/>
+ <classpathentry kind="src" path="modules/jaxstream/src"/>
+ <classpathentry kind="src" path="modules/jaxws/src"/>
+ <classpathentry kind="src" path="modules/jca/src"/>
+ <classpathentry kind="src" path="modules/jcache/src"/>
+ <classpathentry kind="src" path="modules/jcr/src"/>
+ <classpathentry kind="src" path="modules/jms/src"/>
+ <classpathentry kind="src" path="modules/jpa/src"/>
+ <classpathentry kind="src" path="modules/jsf/src"/>
+ <classpathentry kind="src" path="modules/jstl/src"/>
+ <classpathentry kind="src" path="modules/jta/src"/>
+ <classpathentry kind="src" path="modules/jws/src"/>
+ <classpathentry kind="src" path="modules/kernel/src"/>
+ <classpathentry kind="src" path="modules/quercus/src"/>
+ <classpathentry kind="src" path="modules/resin/src"/>
+ <classpathentry kind="src" path="modules/servlet16/src"/>
+ <classpathentry kind="src" path="modules/webbeans/src"/>
+ <classpathentry kind="src" path="modules/webutil/src"/>
+ <classpathentry kind="src" path="modules/ecmascript/src"/>
+ <classpathentry kind="lib" path="modules/ext/activation.jar"/>
+ <classpathentry kind="lib" path="modules/ext/javamail-141.jar"/>
+ <classpathentry kind="lib" path="modules/ext/jsf-api.jar"/>
+ <classpathentry kind="lib" path="modules/ext/jsf-impl.jar" sourcepath="/src"/>
+ <classpathentry kind="lib" path="modules/ext/jsr173_1.0_api.jar"/>
+ <classpathentry kind="lib" path="modules/ext/jsr88.jar"/>
+ <classpathentry kind="lib" path="modules/ext/trang.jar"/>
+ <classpathentry kind="lib" path="modules/ext/webservices-api.jar"/>
+ <classpathentry kind="lib" path="modules/ext/webservices-extra-api.jar"/>
+ <classpathentry kind="lib" path="modules/ext/junit-4.7.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="modules/ext/eclipselink.jar"/>
+ <classpathentry kind="lib" path="modules/ext/validation-api-1.0.0.GA.jar"/>
+ <classpathentry kind="output" path="classes"/>
+</classpath>
10 .settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,10 @@
+#Fri Jun 11 10:14:44 PDT 2010
+eclipse.preferences.version=1
+formatter_profile=_caucho
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.javadoc=true
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\n * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved\n *\n * This file is part of Resin(R) Open Source\n *\n * Each copy or derived work must preserve the copyright notice and this\n * notice unmodified.\n *\n * Resin Open Source is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * Resin Open Source is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty\n * of NON-INFRINGEMENT. See the GNU General Public License for more\n * details.\n *\n * You should have received a copy of the GNU General Public License\n * along with Resin Open Source; if not, write to the\n *\n * Free Software Foundation, Inc.\n * 59 Temple Place, Suite 330\n * Boston, MA 02111-1307 USA\n */\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Javadoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-JSDoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
340 LICENSE
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
74 Makefile.am
@@ -0,0 +1,74 @@
+ACLOCAL_AMFLAGS=-I m4
+resin_home=@resin_home@
+resin_conf=@resin_conf@
+resin_root=@resin_root@
+resin_init_d=@resin_init_d@
+resin_pro=@resin_pro@
+LIBEXEC=@LIBEXEC@
+
+all :
+ (cd modules/c/src; $(MAKE))
+ if test -r $(resin_pro)/modules/c/src/Makefile; then \
+ cd $(resin_pro)/modules/c/src; $(MAKE); \
+ fi
+
+clean :
+ (cd modules/c/src; $(MAKE) clean)
+ if test -r $(resin_pro)/modules/c/src/Makefile; then \
+ cd $(resin_pro)/modules/c/src; $(MAKE) clean; \
+ fi
+ - rm -r $(LIBEXEC)
+
+install :
+ if test "$(resin_home)" != $(abs_builddir); then \
+ mkdir -p $(resin_home)/bin; \
+ mkdir -p $(resin_home)/keys; \
+ mkdir -p $(resin_home)/licenses; \
+ mkdir -p $(resin_home)/lib; \
+ mkdir -p $(resin_home)/$(LIBEXEC); \
+ cp bin/* $(resin_home)/bin; \
+ cp lib/*.jar $(resin_home)/lib; \
+ fi
+ if test "$(resin_root)" != $(abs_builddir); then \
+ mkdir -p $(resin_root)/webapps; \
+ cp -r $(CP_U_FLAG) webapps/* $(resin_root)/webapps; \
+ mkdir -p $(resin_root)/doc; \
+ cp -r $(CP_U_FLAG) doc/* $(resin_root)/doc; \
+ mkdir -p $(resin_root)/project-jars; \
+ cp -r $(CP_U_FLAG) project-jars/* $(resin_root)/project-jars; \
+ mkdir -p $(resin_log); \
+ fi
+ if test "$(resin_conf)" != $(abs_builddir)/conf; then \
+ mkdir -p $(resin_conf); \
+ cp $(CP_U_FLAG) conf/app-default.xml $(resin_conf)/app-default.xml; \
+ cp $(CP_U_FLAG) conf/resin.xml $(resin_conf)/resin.xml; \
+ fi
+ (cd modules/c/src; $(MAKE) install)
+ if test -r $(resin_pro)/modules/c/src/Makefile; then \
+ (cd $(resin_pro)/modules/c/src; $(MAKE) install) \
+ fi
+ @ if test -n "$(resin_init_d)" -a "$(resin_home)" != $(abs_builddir); then \
+ if test -f "${resin_init_d}"; then\
+ if test \( -w "${resin_init_d}" \) -o \( -w `dirname ${resin_init_d}` \); then \
+ cp $(CP_U_FLAG) $(abs_builddir)/init.d/resin $(resin_init_d); \
+ chmod +x $(resin_init_d) && echo "${resin_init_d} updated."; \
+ echo "cp $(CP_U_FLAG) $(abs_builddir)/init.d/resin $(resin_init_d)"; \
+ else \
+ echo ;\
+ echo ;\
+ echo "****************************************************************"; \
+ echo "WARNING: Unable to install ${resin_init_d}"; \
+ echo " Destination is not writable. Usually, only root has";\
+ echo " permissions to install this file.";\
+ echo;\
+ echo " This file is not required, but is used to start Resin"; \
+ echo " at boot time.";\
+ echo "****************************************************************"; \
+ echo ;\
+ echo ;\
+ fi; \
+ else \
+ cp $(abs_builddir)/init.d/resin $(resin_init_d); \
+ chmod +x $(resin_init_d) && echo "${resin_init_d} installed."; \
+ fi; \
+ fi
114 README.caucho
@@ -0,0 +1,114 @@
+Copyright (c) 1998-2008 Caucho Technology. All Rights Reserved.
+
+This is the README file for Resin 4.0(tm)
+=========================================
+
+The documentation included with Resin is in XTP format starting at
+http://localhost:8080/resin-doc/index.xtp.
+
+The full documentation is also available online at
+http://www.caucho.com/resin if you have trouble getting started.
+
+Questions should go to our mailing list or forums.
+
+ http://maillist.caucho.com -- mailing lists
+ http://forum.caucho.com -- forum
+ http://bugs.caucho.com -- bug reports
+
+I) Licensing/Support
+--------------------
+
+For pricing and licensing information for Resin 4.0 Professional,
+see http://www.caucho.com/sales/. Resin Professional contains additional
+performance and reliability features beyond the Resin Open Source version.
+
+Resin 4.0 Open Source is released under the GPL.
+
+Resin licenses do not include technical support. However, we offer several
+technical support options to fit your support and budget needs.
+
+ http://www.caucho.com/sales -- licenses and support
+
+II) Preconditions
+-----------------
+
+1) Resin needs a Java JDK before it can run. Resin 4.0 works with
+JDK 1.6 or greater.
+
+Some locations for JDKs include:
+
+ http://java.sun.com -- Sun's site
+
+2) On Windows, you'll need an unzip tool available at http://www.winzip.com
+
+III) Getting Started
+--------------------
+
+The included HTTP/1.1 server makes it easy to evaluate Resin, JSP
+and servlets. Just start it up. The default configuration
+file is found in resin-4.0.x/conf/resin.xml.
+
+1) On Unix, you'll want to build the JNI libraries:
+
+ resin-4.0.x> ./configure --prefix=`pwd`
+ resin-4.0.x> make
+ resin-4.0.x> make install
+
+2) To start the server:
+
+ unix> java -jar lib/resin.jar start
+
+ or
+
+ C:\> java -jar lib/resin.jar start
+
+ The server listens to port 8080. Port 8080 is the default specified
+ in the configuration file resin-4.0.x/conf/resin.xml
+
+3) Usually, Resin can find the JDK, but you may need to set JAVA_HOME in some
+ configurations.
+
+ Starting Resin with -verbose is a great way to see what environment
+ Resin is running.
+
+4) Browse http://localhost:8080 or equivalently http://127.0.0.1:8080.
+
+5) Go through the documentation at http://localhost:8080/resin-doc
+
+6) For JSP, create test.jsp in resin-4.0.x/webapps/ROOT/test.jsp and browse
+ http://localhost:8080/test.jsp.
+
+ Resin serves files from resin-4.0.x/webapps/ROOT/ in the default
+ configuration. All files with the extension '.jsp' are interpreted
+ as jsp files.
+
+7) For PHP, create test.php in resin-4.0.x/webapps/ROOT/test.php and browse
+ http://localhost:8080/test.php.
+
+8) To deploy a war file, place the file in resin-4.0.x/webapps/foo.war
+ Resin will expand the war file, and the application will be available
+ with the url http://localhost:8080/foo/
+
+ Resin supports the development of applications without requiring a war
+ file deployment. Create a directory resin-4.0.x/webapps/bar to
+ correspond to url http://localhost:8080/bar/. Java source files
+ placed in resin-4.0.x/webapps/bar/classes/ are automatically compiled
+ by Resin.
+
+ resin-4.0.x/webapps/bar/index.jsp
+ --> http://localhost:8080/bar/
+ --> http://localhost:8080/bar/index.jsp
+
+ resin-4.0.x/webapps/bar/WEB-INF/web.xml
+ -- servlet/jsp configuration file
+
+ resin-4.0.x/webapps/bar/WEB-INF/resin-web.xml
+ -- Resin specific configuration
+
+ resin-4.0.x/webapps/bar/WEB-INF/classes/example/HelloServlet.java
+ -- java source file, automatically compiled by Resin
+
+9) An administration application is available at
+ http://localhost:8080/resin-admin
+ Instructions are provided for setting a password.
+
43 apache.license
@@ -0,0 +1,43 @@
+ The Apache Software License, Version 1.1
+
+ Copyright (c) 2001-2004 Caucho Technology, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ 3. The end-user documentation included with the redistribution, if
+ any, must include the following acknowlegement:
+ "This product includes software developed by the
+ Caucho Technology (http://www.caucho.com/)."
+ Alternately, this acknowlegement may appear in the software itself,
+ if and wherever such third-party acknowlegements normally appear.
+
+ 4. The names "Hessian", "Resin", and "Caucho" must not be used to
+ endorse or promote products derived from this software without prior
+ written permission. For written permission, please contact
+ info@caucho.com.
+
+ 5. Products derived from this software may not be called "Resin"
+ nor may "Resin" appear in their names without prior written
+ permission of Caucho Technology.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL CAUCHO TECHNOLOGY OR ITS CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9 artifacts/ant/maven2/ivy.xml
@@ -0,0 +1,9 @@
+<ivy-module>
+ <info organisation="com.caucho" module="resin-ant" revision="@VERSION@">
+ <license name="GPL"/>
+ </info>
+
+ <dependencies>
+ <dependency org="com.caucho" name="resin" rev="@VERSION@"/>
+ </dependencies>
+</ivy-module>
24 artifacts/ant/maven2/pom.xml
@@ -0,0 +1,24 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.caucho</groupId>
+ <artifactId>resin-ant</artifactId>
+ <packaging>jar</packaging>
+ <version>@VERSION@</version>
+ <name>Resin Ant Plugin</name>
+ <url>http://caucho.com</url>
+
+ <licenses>
+ <license>
+ <name>GNU General Public License 2.0</name>
+ </license>
+ </licenses>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.caucho</groupId>
+ <artifactId>resin</artifactId>
+ <version>@VERSION@</version>
+ </dependency>
+ </dependencies>
+</project>
114 artifacts/ant/src/com/caucho/ant/Jspc.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Scott Ferguson
+ */
+
+package com.caucho.ant;
+
+import java.io.*;
+import java.util.*;
+
+import com.caucho.java.*;
+import com.caucho.jsp.*;
+import com.caucho.loader.*;
+import com.caucho.xml.*;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.*;
+import org.apache.tools.ant.types.*;
+
+/**
+ * Command-line tool and ant task to compile jsp files
+ */
+public class Jspc {
+ private File _rootDirectory;
+ private Vector _classpath = new Vector();
+
+ /**
+ * For ant.
+ **/
+ public Jspc()
+ {
+ }
+
+ public void setRootDirectory(File root)
+ {
+ _rootDirectory = root;
+ }
+
+ public void addClasspath(Path path)
+ {
+ _classpath.add(path);
+ }
+
+ /**
+ * Executes the ant task.
+ **/
+ public void execute()
+ throws BuildException
+ {
+ if (_rootDirectory == null)
+ throw new BuildException("root-directory is required by jspc");
+
+ /*
+ if (_classpath.size() == 0)
+ throw new BuildException("classpath is required by jspc");
+ */
+
+ ClassLoader loader = JspCompiler.class.getClassLoader();
+
+ String classPath = System.getProperty("java.class.path");
+
+ if (loader instanceof AntClassLoader)
+ classPath = ((AntClassLoader) loader).getClasspath();
+
+ Thread thread = Thread.currentThread();
+ ClassLoader oldLoader = thread.getContextClassLoader();
+
+ try {
+ EnvironmentClassLoader env = EnvironmentClassLoader.create();
+
+ for (String cp : classPath.split("[" + File.pathSeparatorChar + "]")) {
+ com.caucho.vfs.Path path = Vfs.lookup(cp);
+
+ env.addRoot(path);
+ }
+
+ thread.setContextClassLoader(env);
+
+ JspCompiler.main(new String[] {
+ "-app-dir", _rootDirectory.getAbsolutePath(),
+ });
+ } catch (RuntimeException e) {
+ throw e;
+ } catch (Exception e) {
+ throw new BuildException(e);
+ } finally {
+ thread.setContextClassLoader(oldLoader);
+ }
+ }
+}
137 artifacts/ant/src/com/caucho/ant/ResinCopyTag.java
@@ -0,0 +1,137 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Emil Ong
+ */
+
+package com.caucho.ant;
+
+import java.io.File;
+import java.io.IOException;
+
+import com.caucho.loader.EnvironmentClassLoader;
+import com.caucho.server.admin.WebAppDeployClient;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.AntClassLoader;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.types.Path;
+
+/**
+ * Ant task to copy a tag in the repository. A tag can be copied by
+ * specifying the source tag explicitly using the "sourceTag" attribute
+ * or using the "sourceStage", "sourceType", "sourceVirtualHost",
+ * "sourceContextRoot", and "sourceVersion" attributes. The target
+ * tag can be specified explicitly using the "tag" attribute or by using
+ * the "stage", "type", "virtualHost", "contextRoot", and "version"
+ * attributes.
+ */
+public class ResinCopyTag extends ResinDeployClientTask {
+ private String _tag;
+ private String _sourceTag;
+
+ private String _sourceStage = "default";
+ private String _sourceVersion;
+ private String _sourceVirtualHost = "default";
+ private String _sourceContextRoot = null;
+
+ /**
+ * For ant.
+ **/
+ public ResinCopyTag()
+ {
+ }
+
+ public void setSourceStage(String stage)
+ {
+ _sourceStage = stage;
+ }
+
+ public void setTag(String tag)
+ {
+ _tag = tag;
+ }
+
+ public void setSourceTag(String tag)
+ {
+ _sourceTag = tag;
+ }
+
+ public void setSourceContextRoot(String contextRoot)
+ {
+ _sourceContextRoot = contextRoot;
+ }
+
+ public void setSourceVersion(String version)
+ {
+ _sourceVersion = version;
+ }
+
+ public void setSourceVirtualHost(String virtualHost)
+ {
+ _sourceVirtualHost = virtualHost;
+ }
+
+ @Override
+ protected void validate()
+ throws BuildException
+ {
+ super.validate();
+
+ if (_tag == null && getContextRoot() == null)
+ throw new BuildException("tag or contextRoot is required by "
+ + getTaskName());
+
+ if (_sourceTag == null && _sourceContextRoot == null)
+ throw new BuildException("sourceTag or sourceContextRoot is required by "
+ + getTaskName());
+ }
+
+ @Override
+ protected void doTask(WebAppDeployClient client)
+ throws BuildException
+ {
+ String tag = _tag;
+ String sourceTag = _sourceTag;
+
+ if (tag == null)
+ tag = buildVersionedWarTag();
+
+ if (sourceTag == null) {
+ sourceTag = WebAppDeployClient.createTag(_sourceStage,
+ _sourceVirtualHost,
+ _sourceContextRoot,
+ _sourceVersion);
+ }
+
+ log("Copying " + sourceTag + " to " + tag);
+
+ boolean result = client.copyTag(tag, sourceTag, getCommitAttributes());
+
+ if (! result)
+ log("Failed to copy " + sourceTag + " to " + tag);
+ }
+}
89 artifacts/ant/src/com/caucho/ant/ResinDeleteTag.java
@@ -0,0 +1,89 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Emil Ong
+ */
+
+package com.caucho.ant;
+
+import java.io.File;
+import java.io.IOException;
+
+import com.caucho.loader.EnvironmentClassLoader;
+import com.caucho.server.admin.WebAppDeployClient;
+import com.caucho.server.admin.TagResult;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.AntClassLoader;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.types.Path;
+
+/**
+ * Ant task to delete a tag in the repository. The tag may be specified
+ * explicitly by the "tag" attribute or constructed using the stage,
+ * type, host, context root, and version attributes.
+ */
+public class ResinDeleteTag extends ResinDeployClientTask {
+ private String _tag;
+
+ /**
+ * For ant.
+ **/
+ public ResinDeleteTag()
+ {
+ }
+
+ public void setTag(String tag)
+ {
+ _tag = tag;
+ }
+
+ @Override
+ protected void validate()
+ throws BuildException
+ {
+ super.validate();
+
+ if (_tag == null && getContextRoot() == null)
+ throw new BuildException("tag or contextRoot is required by " +
+ getTaskName());
+ }
+
+ @Override
+ protected void doTask(WebAppDeployClient client)
+ throws BuildException
+ {
+ String tag = _tag;
+
+ if (tag == null)
+ tag = buildVersionedWarTag();
+
+ if (client.removeTag(tag, getCommitAttributes()))
+ log("Deleted tag " + tag);
+ else
+ log("Failed to delete tag " + tag);
+ }
+}
269 artifacts/ant/src/com/caucho/ant/ResinDeployClientTask.java
@@ -0,0 +1,269 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Emil Ong
+ */
+
+package com.caucho.ant;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.logging.*;
+
+import com.caucho.loader.EnvironmentClassLoader;
+import com.caucho.server.admin.DeployClient;
+import com.caucho.server.admin.WebAppDeployClient;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.AntClassLoader;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.types.Path;
+
+public abstract class ResinDeployClientTask extends Task {
+ private String _server;
+ private int _port = -1;
+ private String _user;
+ private String _message;
+ private String _password;
+
+ private String _stage = "default";
+ private String _virtualHost = "default";
+ private String _contextRoot;
+ private String _version;
+
+ public void setServer(String server)
+ {
+ _server = server;
+ }
+
+ public String getServer()
+ {
+ return _server;
+ }
+
+ public void setPort(int port)
+ {
+ _port = port;
+ }
+
+ public int getPort()
+ {
+ return _port;
+ }
+
+ public void setUser(String user)
+ {
+ _user = user;
+ }
+
+ public String getUser()
+ {
+ return _user;
+ }
+
+ public void setPassword(String password)
+ {
+ _password = password;
+ }
+
+ public String getPassword()
+ {
+ return _password;
+ }
+
+ public void setCommitMessage(String message)
+ {
+ _message = message;
+ }
+
+ public String getCommitMessage()
+ {
+ return _message;
+ }
+
+ public void setStage(String stage)
+ {
+ _stage = stage;
+ }
+
+ public String getStage()
+ {
+ return _stage;
+ }
+
+ public void setVirtualHost(String virtualHost)
+ {
+ _virtualHost = virtualHost;
+ }
+
+ public String getVirtualHost()
+ {
+ return _virtualHost;
+ }
+
+ public void setContextRoot(String contextRoot)
+ {
+ _contextRoot = contextRoot;
+ }
+
+ public String getContextRoot()
+ {
+ return _contextRoot;
+ }
+
+ public void setVersion(String version)
+ {
+ _version = version;
+ }
+
+ public String getVersion()
+ {
+ return _version;
+ }
+
+ protected String buildWarTag()
+ {
+ return WebAppDeployClient.createTag(_stage,
+ _virtualHost,
+ _contextRoot);
+ }
+
+ protected String buildVersionedWarTag()
+ {
+ return WebAppDeployClient.createTag(_stage,
+ _virtualHost,
+ _contextRoot,
+ _version);
+ }
+
+ protected void validate()
+ throws BuildException
+ {
+ if (_server == null)
+ throw new BuildException("server is required by " + getTaskName());
+
+ if (_port == -1)
+ throw new BuildException("port is required by " + getTaskName());
+
+ if (_user == null)
+ throw new BuildException("user is required by " + getTaskName());
+ }
+
+ protected abstract void doTask(WebAppDeployClient client)
+ throws BuildException;
+
+ protected HashMap<String,String> getCommitAttributes()
+ {
+ HashMap<String,String> attributes = new HashMap<String,String>();
+
+ attributes.put(DeployClient.USER_ATTRIBUTE, _user);
+ attributes.put(DeployClient.MESSAGE_ATTRIBUTE, _message);
+ attributes.put(DeployClient.VERSION_ATTRIBUTE, _version);
+
+ attributes.put("user.name",
+ System.getProperties().getProperty("user.name"));
+ attributes.put("client", "ant (" + getClass().getSimpleName() + ")");
+
+ return attributes;
+ }
+
+ /**
+ * Executes the ant task.
+ **/
+ @Override
+ public void execute()
+ throws BuildException
+ {
+ validate();
+
+ // fix the class loader
+
+ ClassLoader loader = WebAppDeployClient.class.getClassLoader();
+
+ Thread thread = Thread.currentThread();
+ ClassLoader oldLoader = thread.getContextClassLoader();
+
+ Logger clientLogger = Logger.getLogger(WebAppDeployClient.class.getName());
+ AntLogHandler antLogHandler = new AntLogHandler();
+ boolean useParentHandlers = clientLogger.getUseParentHandlers();
+ Level oldLevel = clientLogger.getLevel();
+
+ try {
+ clientLogger.setLevel(Level.ALL);
+ clientLogger.setUseParentHandlers(false);
+ clientLogger.addHandler(antLogHandler);
+
+ thread.setContextClassLoader(loader);
+
+ doTask(new WebAppDeployClient(_server, _port, _user, _password));
+ }
+ finally {
+ thread.setContextClassLoader(oldLoader);
+
+ clientLogger.removeHandler(antLogHandler);
+ clientLogger.setUseParentHandlers(useParentHandlers);
+ clientLogger.setLevel(oldLevel);
+ }
+ }
+
+ private class AntLogHandler extends Handler {
+ @Override
+ public void close()
+ throws SecurityException
+ {
+ }
+
+ @Override
+ public void flush()
+ {
+ }
+
+ @Override
+ public void publish(LogRecord record)
+ {
+ if (Level.ALL.equals(record.getLevel())
+ || Level.INFO.equals(record.getLevel())
+ || Level.CONFIG.equals(record.getLevel()))
+ log(record.getMessage());
+
+ else if (Level.FINE.equals(record.getLevel()))
+ log(record.getMessage(), Project.MSG_VERBOSE);
+
+ else if (Level.FINER.equals(record.getLevel())
+ || Level.FINEST.equals(record.getLevel()))
+ log(record.getMessage(), Project.MSG_DEBUG);
+
+ else if (Level.SEVERE.equals(record.getLevel()))
+ log(record.getMessage(), Project.MSG_ERR);
+
+ else if (Level.WARNING.equals(record.getLevel()))
+ log(record.getMessage(), Project.MSG_WARN);
+ }
+ }
+}
118 artifacts/ant/src/com/caucho/ant/ResinQueryTags.java
@@ -0,0 +1,118 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Emil Ong
+ */
+
+package com.caucho.ant;
+
+import java.io.File;
+import java.io.IOException;
+
+import com.caucho.loader.EnvironmentClassLoader;
+import com.caucho.server.admin.WebAppDeployClient;
+import com.caucho.server.admin.TagResult;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.AntClassLoader;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.types.Path;
+
+/**
+ * Ant task to query tags of Resin applications deployed via the
+ * ResinDeployWar task to production.
+ */
+public class ResinQueryTags extends ResinDeployClientTask {
+ private String _pattern;
+ private boolean _printValues = false;
+
+ /**
+ * For ant.
+ **/
+ public ResinQueryTags()
+ {
+ }
+
+ public void setPattern(String pattern)
+ {
+ _pattern = pattern;
+ }
+
+ public String getPattern()
+ {
+ return _pattern;
+ }
+
+ public void setPrintValues(boolean printValues)
+ {
+ _printValues = printValues;
+ }
+
+ public boolean getPrintValues()
+ {
+ return _printValues;
+ }
+
+ @Override
+ protected void validate()
+ throws BuildException
+ {
+ super.validate();
+
+ if (_pattern == null
+ && getStage() == null
+ && getVirtualHost() == null
+ && getContextRoot() == null
+ && getVersion() == null)
+ throw new BuildException("At least one of pattern, stage, virtualHost, contextRoot, or version is required by " + getTaskName());
+ }
+
+ @Override
+ protected void doTask(WebAppDeployClient client)
+ throws BuildException
+ {
+ String pattern = _pattern;
+
+ if (pattern == null) {
+ if (getContextRoot() == null)
+ setContextRoot(".*");
+
+ pattern = buildVersionedWarTag();
+ }
+
+ log("Query pattern = '" + pattern + "'", Project.MSG_DEBUG);
+
+ TagResult []tags = client.queryTags(pattern);
+
+ for (TagResult tag : tags) {
+ if (_printValues)
+ log(tag.getTag() + " -> " + tag.getRoot());
+ else
+ log(tag.getTag());
+ }
+ }
+}
147 artifacts/ant/src/com/caucho/ant/ResinUploadWar.java
@@ -0,0 +1,147 @@
+/*
+ * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
+ *
+ * This file is part of Resin(R) Open Source
+ *
+ * Each copy or derived work must preserve the copyright notice and this
+ * notice unmodified.
+ *
+ * Resin Open Source is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Resin Open Source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
+ * of NON-INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Resin Open Source; if not, write to the
+ *
+ * Free Software Foundation, Inc.
+ * 59 Temple Place, Suite 330
+ * Boston, MA 02111-1307 USA
+ *
+ * @author Emil Ong
+ */
+
+package com.caucho.ant;
+
+import java.io.File;
+import java.io.IOException;
+
+import java.util.HashMap;
+
+import com.caucho.loader.EnvironmentClassLoader;
+import com.caucho.server.admin.WebAppDeployClient;
+import com.caucho.server.admin.TagResult;
+import com.caucho.util.QDate;
+import com.caucho.vfs.Vfs;
+
+import org.apache.tools.ant.AntClassLoader;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.types.Path;
+
+/**
+ * Ant task to deploy war files to resin
+ */
+public class ResinUploadWar extends ResinDeployClientTask {
+ private String _warFile;
+ private String _archive;
+ private boolean _writeHead = true;
+
+ /**
+ * For ant.
+ **/
+ public ResinUploadWar()
+ {
+ }
+
+ public void setWarFile(String warFile)
+ throws BuildException
+ {
+ if (! warFile.endsWith(".war"))
+ throw new BuildException("war-file must have .war extension");
+
+ _warFile = warFile;
+
+ if (getContextRoot() == null) {
+ int lastSlash = _warFile.lastIndexOf("/");
+
+ if (lastSlash < 0)
+ lastSlash = 0;
+
+ setContextRoot(_warFile.substring(lastSlash,
+ _warFile.length() - ".war".length()));
+ }
+ }
+
+ public void setArchive(String tag)
+ {
+ _archive = tag;
+ }
+
+ public void setWriteHead(boolean writeHead)
+ {
+ _writeHead = writeHead;
+ }
+
+ @Override
+ protected void validate()
+ throws BuildException
+ {
+ super.validate();
+
+ if (_warFile == null)
+ throw new BuildException("war-file is required by " + getTaskName());
+ }
+
+ @Override
+ protected void doTask(WebAppDeployClient client)
+ throws BuildException
+ {
+ try {
+ // upload
+ com.caucho.vfs.Path path = Vfs.lookup(_warFile);
+
+ String archiveTag = _archive;
+
+ if ("true".equals(archiveTag)) {
+ archiveTag = client.createArchiveTag(getVirtualHost(),
+ getContextRoot(),
+ getVersion());
+ }
+ else if ("false".equals(archiveTag)) {
+ archiveTag = null;
+ }
+
+ String tag = buildVersionedWarTag();
+
+ HashMap<String,String> attributes = getCommitAttributes();
+
+ client.deployJarContents(tag, path, attributes);
+
+ log("Deployed " + path + " to tag " + tag);
+
+ if (archiveTag != null) {
+ client.copyTag(archiveTag, tag, attributes);
+
+ log("Created archive tag " + archiveTag);
+ }
+
+ if (getVersion() != null && _writeHead) {
+ String headTag = buildWarTag();
+
+ client.copyTag(headTag, tag, attributes);
+
+ log("Wrote head version tag " + headTag);
+ }
+ }
+ catch (IOException e) {
+ throw new BuildException(e);
+ }
+ }
+}
9 artifacts/ant/src/com/caucho/ant/antlib.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<antlib>
+ <!-- Tasks -->
+ <taskdef name="jspc" classname="com.caucho.ant.Jspc"/>
+ <taskdef name="upload-war" classname="com.caucho.ant.ResinUploadWar"/>
+ <taskdef name="copy-tag" classname="com.caucho.ant.ResinCopyTag"/>
+ <taskdef name="delete-tag" classname="com.caucho.ant.ResinDeleteTag"/>
+ <taskdef name="query-tags" classname="com.caucho.ant.ResinQueryTags"/>
+</antlib>
4 artifacts/ant/src/manifest
@@ -0,0 +1,4 @@
+Implementation-Vendor: Caucho Technology, Inc.
+Implementation-Version: 3.1.0
+
+
133 artifacts/caucho-module-parent/pom.xml
@@ -0,0 +1,133 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>com.caucho.modules</groupId>
+ <artifactId>caucho-module-parent</artifactId>
+ <name>caucho-module-parent</name>
+ <version>1.0.0</version>
+ <packaging>pom</packaging>
+
+ <url>http://modules.caucho.com/doc/${project.groupId}/${project.artifactId}</url>
+
+ <licenses>
+ <license>
+ <name>GNU Library or Lesser General Public License (LGPL)</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ </license>
+ </licenses>
+
+ <mailingLists>
+ <mailingList>
+ <name>resin-interest mailing list</name>
+ <subscribe>http://maillist.caucho.com/mailman/listinfo/resin-interest</subscribe>
+ <unsubscribe>http://maillist.caucho.com/mailman/listinfo/resin-interest</unsubscribe>
+ <post>resin-interest@caucho.com.</post>
+ <archive>http://maillist.caucho.com/pipermail/resin-interest/</archive>
+ <otherArchives>
+ <otherArchive>http://www.nabble.com/Resin-f77.html</otherArchive>
+ </otherArchives>
+ </mailingList>
+ </mailingLists>
+
+ <properties>
+ <cauchoModulesDeployUrl>scp://modules.caucho.com/var/www/hosts/modules.caucho.com/webapps/ROOT</cauchoModulesDeployUrl>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>com.caucho</id>
+ <name>com.caucho</name>
+ <url>http://caucho.com/m2</url>
+ </repository>
+ </repositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>index</report>
+ <report>summary</report>
+ <report>dependencies</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>project-team</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jxr-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <distributionManagement>
+ <downloadUrl>http://modules.caucho.com/m2</downloadUrl>
+ <repository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>modules.caucho.com</id>
+ <name>Caucho Modules Repository</name>
+ <url>${cauchoModulesDeployUrl}/m2</url>
+ <layout>default</layout>
+ </repository>
+ <site>
+ <id>modules.caucho.com</id>
+ <name>Caucho Modules Website</name>
+ <url>${cauchoModulesDeployUrl}/doc/${project.groupId}/${project.artifactId}</url>
+ </site>
+ </distributionManagement>
+
+</project>
12 artifacts/caucho-module-parent/src/changes/changes.xml
@@ -0,0 +1,12 @@
+<document>
+ <properties>
+ <title>Changes</title>
+ </properties>
+ <body>
+ <release version="1.0.0" date="2008-06" description="First release">
+ <action dev="sam" type="add">
+ Initial implementation.
+ </action>
+ </release>
+ </body>
+</document>
9 artifacts/caucho-module-parent/src/site/site.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+ <body>
+ <menu name="Overview">
+ <item name="Usage" href="index.html"/>
+ <item name="Change Log" href="changes-report.html"/>
+ </menu>
+ </body>
+</project>
404 artifacts/caucho-module-parent/src/site/xdoc/index.xml
@@ -0,0 +1,404 @@
+<document>
+<properties>
+ <title>Creating and Contributing a Module to the Caucho Modules Repository</title>
+</properties>
+<body>
+
+<section name="Creating and Contributing a Module to the Caucho Modules Repository">
+
+<subsection name="Become a contributor">
+ <h4>Contact Caucho to setup an account</h4>
+
+ <ul>
+ <li>
+ Choose a groupId to represent you. You cannot use "com.caucho" or
+ "com.caucho.modules" as your groupId. Your groupId will be used for
+ all modules that you create.
+ </li>
+ <li>
+ Choose an artifactId for each module.
+ </li>
+ <li>
+ Email caucho with your proposed groupId and artifactId, and the staff at Caucho will
+ setup an account that allows you to publish your module to the
+ repository at <a href="http://modules.caucho.com/m2">http://modules.caucho.com/m2</a>.
+ </li>
+ <li>
+ It is recommended that modules use the LGPL or the Apache 2.0 license.
+ </li>
+ </ul>
+
+ <h4>Setup maven with your credentials</h4>
+
+ <p>Enter your credentials in ~/.m2/settings.xml</p>
+
+ <source>
+<b>~/.m2/settings.xml</b>
+
+&lt;settings xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ &lt;servers>
+ &lt;server>
+ &lt;id>modules.caucho.com&lt;/id>
+ &lt;username>XXX&lt;/username>
+
+ &lt;filePermissions>664&lt;/filePermissions>
+ &lt;directoryPermissions>775&lt;/directoryPermissions>
+
+ &lt;/server>
+ &lt;/servers>
+
+&lt;/settings>
+ </source>
+
+</subsection> <!-- become a contributor -->
+
+<subsection name="Choose your module name and functionality">
+ <p>
+ For each new module you wish to add, contact Caucho with a description
+ of the module and a proposed artifactId. Caucho staff will work with
+ you to confirm the desirability of the module functionality and
+ make suggestions regarding implementation details.
+ </p>
+
+ <h4>Choosing an artifactId</h4>
+
+ <p>
+ The first portion of the artifactId should be reflective of the
+ general functionality of the module, according to the following table.
+ </p>
+ <table>
+ <tr>
+ <th>Prefix</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>resin-XXX</td>
+ <td>
+ The <code>resin-</code> prefix for an artifactId is the general prefix
+ appropriate if none of the following more specialised prefixes apply.
+ </td>
+ </tr>
+ <tr>
+ <td>quercus-XXX</td>
+ <td>
+ The <code>quercus-</code> prefix for an artifactId is appropriate for
+ libraries or applications that are aimed at Quercus, the Java implementation
+ of PHP. quercus- modules may be (but often are not) dependent in the
+ com.caucho.quercus namespace, but will typically not be dependent on other
+ com.caucho.** classes.
+ Documentation for extending Quercus with new functionality
+ is available at <a href="http://quercus.caucho.com">http://quercus.caucho.com</a>.
+ </td>
+ </tr>
+ <tr>
+ <td>bam-XXX</td>
+ <td>
+ The <code>bam-</code> prefix for an artifactId is appropriate for
+ libraries or applications that are aimed at BAM.
+ Documentation about BAM is available
+ at <a href="http://caucho.com/resin">http://caucho.com/resin</a>.
+ </td>
+ </tr>
+ <tr>
+ <td>hessian-XXX</td>
+ <td>
+ The <code>hessian-</code> prefix for an artifactId is appropriate for
+ libraries that are aimed at Hessian.
+ A common use case is the provision of serialization/deserialization wrapper
+ classes for legacy classes in third-party libraries that do not
+ provide default constructors.
+ Documentation for extending Hessian with new functionality
+ is available at <a href="http://hessian.caucho.com">http://hessian.caucho.com</a>.
+ </td>
+ </tr>
+ </table>
+
+ <h4>Module types</h4>
+
+ <p>
+ Modules for Resin come in different flavors. The kind of module
+ determines how the module is deployed to the Resin server. The following
+ list is not normative, in that it does not indicate a naming scheme or require
+ any change to your project depending on the type of module. However it is
+ useful to understand which category your module belongs in.
+ </p>
+
+ <table>
+ <tr>
+ <th>Module type</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>Web application library</td>
+ <td>
+ A web application library is a <b>jar</b> file that is typically saved in
+ the <code>WEB-INF/lib</code> directory for a web application.
+ It will contain things like Servlets, Filters, and general library
+ code that is then available to the web application.
+ </td>
+ </tr>
+ <tr>
+ <td>Web application</td>
+ <td>
+ A web application is a <b>war</b> file that is typically saved in
+ the <code>$RESIN_HOME/webapps</code> directory of a Resin server.
+ It might be an example web application, or a functional web
+ application that is meant as a starting point for the user to customise.
+ </td>
+ </tr>
+ <tr>
+ <td>Server library</td>
+ <td>
+ A server library is a <b>jar</b> file that is saved in
+ the <code>$RESIN_HOME/lib</code> directory of a Resin server.
+ It provides functionality to all of the applications in the server.
+ Typically a web application library is a better choice. Server
+ libraries do not accomodate web applications with different version
+ requirements of the library, and code often hasto be "classloader aware" to
+ function properly as a server library. A server library does have the
+ advantage of saving memory when it is used by multiple web applications.
+ </td>
+ </tr>
+ <tr>
+
+ <td>Server extension</td>
+ <td>
+ A server extension is a <b>jar</b> file that is saved in
+ the <code>$RESIN_HOME/lib</code> directory of a Resin server.
+ It is typically fairly low level and effects or enhances the entire
+ server/jvm. Configuration for a server extension is accomplished in the
+ resin.xml file.
+ </td>
+ </tr>
+</table>
+
+</subsection>
+
+<subsection name="Create your module layout with maven">
+ <p>
+ Modules use Maven as their build system, and follow the Maven conventions for file layout.
+ A caucho-module-parent parent POM is provided at modules.caucho.com/m2 and provides
+ base functionality for all modules.
+ </p>
+
+ <h4>Create a pom.xml file</h4>
+
+ <p>
+ The pom file is the main Maven configuration file, Maven documentation is
+ available <a href="http://maven.apache.org/pom.html">here</a>.
+ Module pom files specify <code>caucho-module-parent</code> as a parent,
+ which provides a number of default settings.
+ </p>
+
+ <p>
+ Here is an example pom.xml file to get you started:
+ </p>
+
+ <source>
+<b>$PROJECT_ROOT/pom.xml</b>
+
+&lt;project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+&lt;modelVersion>4.0.0&lt;/modelVersion>
+
+&lt;parent>
+ t;groupId>com.caucho.modules&lt;/groupId>
+ &lt;artifactId>caucho-module-parent&lt;/artifactId>
+ &lt;version>1.0.0&lt;/version>
+ &lt;/parent>
+
+ &lt;groupId>com.hogwarts&lt;/groupId>
+ &lt;artifactId>resin-helloworld&lt;/artifactId>
+ &lt;name>resin-helloworld&lt;/name>
+ &lt;version>1.0.0&lt;/version>
+ &lt;packaging>jar&lt;/packaging>
+
+ &lt;description>A HelloWorldServlet.&lt;/description>
+
+ &lt;organization>
+ &lt;name>Hogwarts, Inc&lt;/name>
+ &lt;url>http://hogwarts.com&lt;/url>
+ t;/organization>
+
+ &lt;issueManagement>
+ &lt;system>Mantis&lt;/system>
+ &lt;url>http://bugs.hogwarts.com&lt;/url>
+ &lt;/issueManagement>