Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

This commit was manufactured by cvs2svn to create tag 'v20050421'.

  • Loading branch information...
commit 6e625e50f0a4ad9577600039ba649156c803f379 1 parent 5dfecdb
ndai authored

Showing 415 changed files with 0 additions and 28,998 deletions. Show diff stats Hide diff stats

  1. +0 7 plugins/org.eclipse.jst.server.core/.classpath
  2. +0 5 plugins/org.eclipse.jst.server.core/.cvsignore
  3. +0 4 plugins/org.eclipse.jst.server.core/.options
  4. +0 28 plugins/org.eclipse.jst.server.core/.project
  5. +0 17 plugins/org.eclipse.jst.server.core/META-INF/MANIFEST.MF
  6. +0 18 plugins/org.eclipse.jst.server.core/build.properties
  7. +0 1  plugins/org.eclipse.jst.server.core/component.xml
  8. +0 19 plugins/org.eclipse.jst.server.core/plugin.properties
  9. +0 45 plugins/org.eclipse.jst.server.core/plugin.xml
  10. +0 492 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/ClasspathRuntimeTargetHandler.java
  11. +0 77 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/EJBBean.java
  12. +0 18 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IApplicationClientModule.java
  13. +0 26 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IConnectorModule.java
  14. +0 23 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IEJBModule.java
  15. +0 60 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IEnterpriseApplication.java
  16. +0 57 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IJ2EEModule.java
  17. +0 48 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/ILooseArchive.java
  18. +0 34 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/ILooseArchiveSupport.java
  19. +0 47 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IWebModule.java
  20. +0 50 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/JndiLaunchable.java
  21. +0 49 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/JndiObject.java
  22. +0 68 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/Servlet.java
  23. +0 120 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/GenericRuntime.java
  24. +0 63 ...org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/GenericRuntimeTargetHandler.java
  25. +0 43 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/GenericRuntimeUtil.java
  26. +0 24 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/IGenericRuntime.java
  27. +0 25 .../org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/IGenericRuntimeWorkingCopy.java
  28. +0 194 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/IMemento.java
  29. +0 55 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/J2EEUtil.java
  30. +0 51 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/JavaServerPlugin.java
  31. +0 56 ...ins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/LaunchConfigurationUtil.java
  32. +0 25 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/Messages.java
  33. +0 15 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/Messages.properties
  34. +0 88 ...s/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/RuntimeClasspathContainer.java
  35. +0 97 ...se.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/RuntimeClasspathContainerInitializer.java
  36. +0 65 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/Trace.java
  37. +0 388 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/internal/XMLMemento.java
  38. +0 40 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/package.xml
  39. +0 7 plugins/org.eclipse.jst.server.generic.core/.classpath
  40. +0 6 plugins/org.eclipse.jst.server.generic.core/.cvsignore
  41. +0 28 plugins/org.eclipse.jst.server.generic.core/.project
  42. +0 12 plugins/org.eclipse.jst.server.generic.core/build.properties
  43. +0 6 plugins/org.eclipse.jst.server.generic.core/plugin.properties
  44. +0 70 plugins/org.eclipse.jst.server.generic.core/plugin.xml
  45. +0 109 plugins/org.eclipse.jst.server.generic.core/schema/genericpublisher.exsd
  46. +0 114 plugins/org.eclipse.jst.server.generic.core/schema/serverdefinition.exsd
  47. +0 230 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/AntPublisher.java
  48. +0 129 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/CorePlugin.java
  49. +0 56 .../org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericPublisher.java
  50. +0 310 ...ins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServer.java
  51. +0 445 ...clipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerBehaviour.java
  52. +0 64 ...pse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerCoreMessages.java
  53. +0 7 ...t.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerCoreMessages.properties
  54. +0 129 ...generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerLaunchConfigurationDelegate.java
  55. +0 130 ...r.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerLaunchableAdapterDelegate.java
  56. +0 129 ....eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerRuntime.java
  57. +0 78 ...server.generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerRuntimeTargetHandler.java
  58. +0 83 ....generic.core/src/org/eclipse/jst/server/generic/core/internal/GenericServerSourcePathComputerDelegate.java
  59. +0 35 ...ns/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/PublishManager.java
  60. +0 69 ...e.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/ServerTypeDefinitionManager.java
  61. +0 85 ...ipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/ServerTypeDefinitionUtil.java
  62. +0 73 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/internal/Trace.java
  63. +0 45 ...lipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/util/ExtensionPointUtil.java
  64. +0 35 ...ins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/util/FileUtil.java
  65. +0 1,425 ...erver.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/ServerTypePackage.java
  66. +0 188 ...er.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ArchiveTypeImpl.java
  67. +0 358 ...rver.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ClasspathImpl.java
  68. +0 301 ...generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/JndiConnectionImpl.java
  69. +0 216 ...r.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/JndiPropertyImpl.java
  70. +0 421 ...ic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/LaunchConfigurationImpl.java
  71. +0 296 ....server.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ModuleImpl.java
  72. +0 296 ...st.server.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/PortImpl.java
  73. +0 188 ...server.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ProjectImpl.java
  74. +0 404 ...erver.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/PropertyImpl.java
  75. +0 216 ....generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/PublisherDataImpl.java
  76. +0 268 ...rver.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/PublisherImpl.java
  77. +0 966 ....generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ServerRuntimeImpl.java
  78. +0 223 ...eric.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ServerTypeFactoryImpl.java
  79. +0 1,429 ...eric.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/impl/ServerTypePackageImpl.java
  80. +0 334 ...c.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/util/ServerTypeAdapterFactory.java
  81. +0 89 ...e/src/org/eclipse/jst/server/generic/internal/servertype/definition/util/ServerTypeResourceFactoryImpl.java
  82. +0 58 ...ric.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/util/ServerTypeResourceImpl.java
  83. +0 388 ...r.generic.core/src/org/eclipse/jst/server/generic/internal/servertype/definition/util/ServerTypeSwitch.java
  84. +0 174 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java
  85. +0 179 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/XMLUtils.java
  86. +0 84 ...g.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ArchiveType.java
  87. +0 173 ...org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Classpath.java
  88. +0 121 ...clipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/JndiConnection.java
  89. +0 83 ....eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/JndiProperty.java
  90. +0 193 ...e.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/LaunchConfiguration.java
  91. +0 137 ...ns/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Module.java
  92. +0 137 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Port.java
  93. +0 81 ...s/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Project.java
  94. +0 196 .../org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Property.java
  95. +0 119 ...org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Publisher.java
  96. +0 83 ...eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/PublisherData.java
  97. +0 476 ...eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ServerRuntime.java
  98. +0 172 ...pse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ServerTypeFactory.java
  99. +0 127 plugins/org.eclipse.jst.server.generic.core/xsd/ServerTypeDefinitionSchema.xsd
  100. +0 437 plugins/org.eclipse.jst.server.generic.core/xsd/org.eclipse.jst.server.generic.servertype.ecore
  101. +0 87 plugins/org.eclipse.jst.server.generic.core/xsd/servertype.genmodel
  102. +0 132 plugins/org.eclipse.jst.server.generic.core/xsd/servertype.xsd2ecore
  103. +0 5 plugins/org.eclipse.jst.server.generic.modules/.cvsignore
  104. +0 28 plugins/org.eclipse.jst.server.generic.modules/.project
  105. +0 7 plugins/org.eclipse.jst.server.generic.ui/.classpath
  106. +0 5 plugins/org.eclipse.jst.server.generic.ui/.cvsignore
  107. +0 28 plugins/org.eclipse.jst.server.generic.ui/.project
  108. +0 10 plugins/org.eclipse.jst.server.generic.ui/build.properties
  109. BIN  plugins/org.eclipse.jst.server.generic.ui/icons/obj16/lomboz.gif
  110. BIN  plugins/org.eclipse.jst.server.generic.ui/icons/wizban/logo.gif
  111. +0 4 plugins/org.eclipse.jst.server.generic.ui/plugin.properties
  112. +0 62 plugins/org.eclipse.jst.server.generic.ui/plugin.xml
  113. +0 66 ...st.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericLaunchConfigurationTabGroup.java
  114. +0 57 ...se.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerEditorPartFactory.java
  115. +0 56 ...jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerEditorSectionFactory.java
  116. +0 235 ...st.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerRuntimeWizardFragment.java
  117. +0 63 ...g.eclipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerUIMessages.java
  118. +0 7 ...pse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerUIMessages.properties
  119. +0 160 ...lipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericServerWizardFragment.java
  120. +0 114 plugins/org.eclipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/GenericUiPlugin.java
  121. +0 73 ...rver.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/ServerDefinitionTypeAwareWizardFragment.java
  122. +0 325 ...eclipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/internal/ServerTypeDefinitionGroup.java
  123. +0 7 plugins/org.eclipse.jst.server.tomcat.ui/.classpath
  124. +0 5 plugins/org.eclipse.jst.server.tomcat.ui/.cvsignore
  125. +0 4 plugins/org.eclipse.jst.server.tomcat.ui/.options
  126. +0 28 plugins/org.eclipse.jst.server.tomcat.ui/.project
  127. +0 22 plugins/org.eclipse.jst.server.tomcat.ui/META-INF/MANIFEST.MF
  128. +0 17 plugins/org.eclipse.jst.server.tomcat.ui/build.properties
  129. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/mime_extension.gif
  130. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/mime_mapping.gif
  131. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/port.gif
  132. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/project_missing.gif
  133. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/server_32.gif
  134. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/server_40.gif
  135. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/server_41.gif
  136. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/server_50.gif
  137. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/server_55.gif
  138. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/tomcat_tools.gif
  139. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/obj16/web_module.gif
  140. BIN  plugins/org.eclipse.jst.server.tomcat.ui/icons/wizban/tomcat_wiz.gif
  141. +0 83 plugins/org.eclipse.jst.server.tomcat.ui/plugin.properties
  142. +0 118 plugins/org.eclipse.jst.server.tomcat.ui/plugin.xml
  143. +0 48 plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/ContextIds.java
  144. +0 62 plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/SWTUtil.java
  145. +0 42 ....server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatLaunchConfigurationTabGroup.java
  146. +0 285 ...eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeComposite.java
  147. +0 66 ...se.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeWizardFragment.java
  148. +0 191 ...ins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatUIPlugin.java
  149. +0 54 plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Trace.java
  150. +0 419 ...ver.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationMimeEditorSection.java
  151. +0 39 ...cat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationMimeEditorSectionFactory.java
  152. +0 247 ...ver.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationPortEditorSection.java
  153. +0 38 ...cat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationPortEditorSectionFactory.java
  154. +0 40 ...omcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationWebModuleEditorFactory.java
  155. +0 373 ...r.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ConfigurationWebModuleEditorPart.java
  156. +0 154 ...lipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/MimeMappingDialog.java
  157. +0 203 ....server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ServerGeneralEditorSection.java
  158. +0 24 ....tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/ServerGeneralEditorSectionFactory.java
  159. +0 280 ...eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/editor/WebModuleDialog.java
  160. +0 7 plugins/org.eclipse.jst.server.ui/.classpath
  161. +0 5 plugins/org.eclipse.jst.server.ui/.cvsignore
  162. +0 4 plugins/org.eclipse.jst.server.ui/.options
  163. +0 28 plugins/org.eclipse.jst.server.ui/.project
  164. +0 17 plugins/org.eclipse.jst.server.ui/META-INF/MANIFEST.MF
  165. +0 18 plugins/org.eclipse.jst.server.ui/build.properties
  166. BIN  plugins/org.eclipse.jst.server.ui/icons/obj16/appclient_module.gif
  167. BIN  plugins/org.eclipse.jst.server.ui/icons/obj16/ear.gif
  168. BIN  plugins/org.eclipse.jst.server.ui/icons/obj16/ejb_module.gif
  169. BIN  plugins/org.eclipse.jst.server.ui/icons/obj16/java_jar.gif
  170. BIN  plugins/org.eclipse.jst.server.ui/icons/obj16/web_module.gif
  171. BIN  plugins/org.eclipse.jst.server.ui/icons/wizban/new_runtime_wiz.gif
  172. +0 12 plugins/org.eclipse.jst.server.ui/plugin.properties
  173. +0 43 plugins/org.eclipse.jst.server.ui/plugin.xml
  174. +0 54 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/ContextIds.java
  175. +0 267 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/GenericRuntimeComposite.java
  176. +0 68 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/GenericRuntimeWizardFragment.java
  177. +0 122 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/ImageResource.java
  178. +0 42 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/JavaServerUIPlugin.java
  179. +0 31 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/Messages.java
  180. +0 20 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/Messages.properties
  181. +0 62 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/SWTUtil.java
  182. +0 53 plugins/org.eclipse.jst.server.ui/sjavaui/org/eclipse/jst/server/ui/internal/Trace.java
  183. +0 7 plugins/org.eclipse.wst.internet.monitor.core/.classpath
  184. +0 5 plugins/org.eclipse.wst.internet.monitor.core/.cvsignore
  185. +0 6 plugins/org.eclipse.wst.internet.monitor.core/.options
  186. +0 28 plugins/org.eclipse.wst.internet.monitor.core/.project
  187. +0 14 plugins/org.eclipse.wst.internet.monitor.core/META-INF/MANIFEST.MF
  188. +0 19 plugins/org.eclipse.wst.internet.monitor.core/build.properties
  189. +0 1  plugins/org.eclipse.wst.internet.monitor.core/component.xml
  190. +0 197 plugins/org.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/IMonitor.java
  191. +0 46 ...g.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/IMonitorListener.java
  192. +0 100 ...clipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/IMonitorWorkingCopy.java
  193. +0 55 ...g.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/IRequestListener.java
  194. +0 111 ...ns/org.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/MonitorCore.java
  195. +0 350 plugins/org.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/Request.java
  196. +0 142 ...ipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/AcceptThread.java
  197. +0 50 ...clipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/Connection.java
  198. +0 79 ...pse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/ContentFilter.java
  199. +0 67 ...se.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/IContentFilter.java
  200. +0 194 ....eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/IMemento.java
  201. +0 57 ....wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/IProtocolAdapter.java
  202. +0 25 ....eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/IStartup.java
  203. +0 318 ...g.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/Monitor.java
  204. +0 305 ...se.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/MonitorManager.java
  205. +0 225 ...pse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/MonitorPlugin.java
  206. +0 117 ...st.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/MonitorWorkingCopy.java
  207. +0 75 ...e.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/ProtocolAdapter.java
  208. +0 88 ...ternet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/ProtocolAdapterDelegate.java
  209. +0 351 ...pse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/SocketWrapper.java
  210. +0 49 ....internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/TCPIPProtocolAdapter.java
  211. +0 81 ...lipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/TCPIPThread.java
  212. +0 73 ...org.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/Trace.java
  213. +0 368 ...clipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/XMLMemento.java
  214. +0 120 ...t.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/HTTPConnection.java
  215. +0 51 ...ernet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/HTTPProtocolAdapter.java
  216. +0 95 ....wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/HTTPRequest.java
  217. +0 629 ...e.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/HTTPThread.java
  218. +0 36 ...rnet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/ResendHTTPConnection.java
  219. +0 146 ...nternet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/http/ResendHTTPRequest.java
  220. +0 50 ...itor.core/monitorcore/org/eclipse/wst/internet/monitor/core/internal/provisional/ContentFilterDelegate.java
  221. +0 28 plugins/org.eclipse.wst.internet.monitor.core/monitorcore/org/eclipse/wst/internet/monitor/core/package.xml
  222. +0 27 plugins/org.eclipse.wst.internet.monitor.core/plugin.properties
  223. +0 21 plugins/org.eclipse.wst.internet.monitor.core/plugin.xml
  224. +0 131 plugins/org.eclipse.wst.internet.monitor.core/schema/internalContentFilters.exsd
  225. +0 123 plugins/org.eclipse.wst.internet.monitor.core/schema/protocolAdapters.exsd
  226. +0 114 plugins/org.eclipse.wst.internet.monitor.core/schema/startup.exsd
  227. +0 7 plugins/org.eclipse.wst.internet.monitor.ui/.classpath
  228. +0 5 plugins/org.eclipse.wst.internet.monitor.ui/.cvsignore
  229. +0 4 plugins/org.eclipse.wst.internet.monitor.ui/.options
  230. +0 28 plugins/org.eclipse.wst.internet.monitor.ui/.project
  231. +0 18 plugins/org.eclipse.wst.internet.monitor.ui/META-INF/MANIFEST.MF
  232. +0 18 plugins/org.eclipse.wst.internet.monitor.ui/build.properties
  233. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/clcl16/clear.gif
  234. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/clcl16/httpHeader.gif
  235. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/clcl16/sortResponseTime.gif
  236. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/cview16/monitorView.gif
  237. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/dlcl16/clear.gif
  238. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/dlcl16/httpHeader.gif
  239. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/dlcl16/sortResponseTime.gif
  240. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/elcl16/clear.gif
  241. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/elcl16/httpHeader.gif
  242. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/elcl16/resendRequest.gif
  243. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/elcl16/sortResponseTime.gif
  244. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/etool16/editRequest.gif
  245. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/eview16/monitorView.gif
  246. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/obj16/host.gif
  247. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/obj16/monitorOff.gif
  248. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/obj16/monitorOn.gif
  249. BIN  plugins/org.eclipse.wst.internet.monitor.ui/icons/obj16/tcp.gif
  250. +0 133 plugins/org.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/ContentViewer.java
  251. +0 25 .../org.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/ContextIds.java
  252. +0 49 ....wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/MonitorContentProvider.java
  253. +0 238 ...g.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/MonitorDialog.java
  254. +0 338 ...e.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/MonitorPreferencePage.java
  255. +0 95 ...t.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/MonitorTableLabelProvider.java
  256. +0 348 ...eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/MonitorUIPlugin.java
  257. +0 34 ...pse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/RequestActionFilter.java
  258. +0 40 ...e.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/RequestAdapterFactory.java
  259. +0 83 ...ins/org.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/SWTUtil.java
  260. +0 24 ...ins/org.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/Startup.java
  261. +0 53 plugins/org.eclipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/Trace.java
  262. +0 41 ...t.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/provisional/MonitorUICore.java
  263. +0 36 ...lipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/FilterAction.java
  264. +0 98 ...pse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/IViewerManager.java
  265. +0 59 ...st.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/ModifyMessageAction.java
  266. +0 201 ...rnet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/MonitorTreeContentProvider.java
  267. +0 502 ...clipse.wst.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/MonitorView.java
  268. +0 59 ...st.internet.monitor.ui/monitorui/org/eclipse/wst/internet/monitor/ui/internal/view/ResendMessageAction.java
Sorry, we could not display the entire diff because too many files (415) changed.
7 plugins/org.eclipse.jst.server.core/.classpath
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<classpath>
3   - <classpathentry kind="src" path="sjavacore/"/>
4   - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5   - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6   - <classpathentry kind="output" path="bin"/>
7   -</classpath>
5 plugins/org.eclipse.jst.server.core/.cvsignore
... ... @@ -1,5 +0,0 @@
1   -bin
2   -build.xml
3   -org.eclipse.jst.server.core_3.0.0.jar
4   -sjavacore.jar
5   -temp.folder
4 plugins/org.eclipse.jst.server.core/.options
... ... @@ -1,4 +0,0 @@
1   -# Debugging options for the org.eclipse.jst.server.core plugin
2   -
3   -# Turn on general debugging
4   -org.eclipse.jst.server.core/debug=true
28 plugins/org.eclipse.jst.server.core/.project
... ... @@ -1,28 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<projectDescription>
3   - <name>org.eclipse.jst.server.core</name>
4   - <comment></comment>
5   - <projects>
6   - </projects>
7   - <buildSpec>
8   - <buildCommand>
9   - <name>org.eclipse.jdt.core.javabuilder</name>
10   - <arguments>
11   - </arguments>
12   - </buildCommand>
13   - <buildCommand>
14   - <name>org.eclipse.pde.ManifestBuilder</name>
15   - <arguments>
16   - </arguments>
17   - </buildCommand>
18   - <buildCommand>
19   - <name>org.eclipse.pde.SchemaBuilder</name>
20   - <arguments>
21   - </arguments>
22   - </buildCommand>
23   - </buildSpec>
24   - <natures>
25   - <nature>org.eclipse.jdt.core.javanature</nature>
26   - <nature>org.eclipse.pde.PluginNature</nature>
27   - </natures>
28   -</projectDescription>
17 plugins/org.eclipse.jst.server.core/META-INF/MANIFEST.MF
... ... @@ -1,17 +0,0 @@
1   -Manifest-Version: 1.0
2   -Bundle-ManifestVersion: 2
3   -Bundle-Name: %pluginName
4   -Bundle-SymbolicName: org.eclipse.jst.server.core; singleton:=true
5   -Bundle-Version: 1.0.0
6   -Bundle-Activator: org.eclipse.jst.server.core.internal.JavaServerPlugin
7   -Bundle-Vendor: %providerName
8   -Bundle-Localization: plugin
9   -Export-Package: org.eclipse.jst.server.core,
10   - org.eclipse.jst.server.core.internal
11   -Require-Bundle: org.eclipse.core.resources,
12   - org.eclipse.debug.core,
13   - org.eclipse.wst.server.core,
14   - org.eclipse.jdt.core,
15   - org.eclipse.jdt.launching,
16   - org.eclipse.core.runtime
17   -Eclipse-AutoStart: true
18 plugins/org.eclipse.jst.server.core/build.properties
... ... @@ -1,18 +0,0 @@
1   -###############################################################################
2   -# Copyright (c) 2004 IBM Corporation and others.
3   -# All rights reserved. This program and the accompanying materials
4   -# are made available under the terms of the Eclipse Public License v1.0
5   -# which accompanies this distribution, and is available at
6   -# http://www.eclipse.org/legal/epl-v10.html
7   -#
8   -# Contributors:
9   -# IBM Corporation - initial API and implementation
10   -###############################################################################
11   -bin.includes = plugin.xml,\
12   - plugin.properties,\
13   - .,\
14   - META-INF/
15   -src.includes = schema/,\
16   - build.properties,\
17   - component.xml
18   -source.. = sjavacore/
1  plugins/org.eclipse.jst.server.core/component.xml
... ... @@ -1 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?><component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="org.eclipse.jst.server"><component-depends unrestricted="true"></component-depends><plugin id="org.eclipse.jst.server.core" fragment="false"/><plugin id="org.eclipse.jst.server.generic.core" fragment="false"/><plugin id="org.eclipse.jst.server.generic.serverdefinitions" fragment="false"/><plugin id="org.eclipse.jst.server.generic.ui" fragment="false"/><plugin id="org.eclipse.jst.server.tomcat.core" fragment="false"/><plugin id="org.eclipse.jst.server.tomcat.ui" fragment="false"/><plugin id="org.eclipse.jst.server.ui" fragment="false"/><package name="org.eclipse.jst.server.core"><type name="IConnectorModule"/><type name="IEJBModule"/><type name="IJ2EEModule"/><type name="Servlet"/><type name="ILooseArchiveSupport"/><type name="ILooseArchive"/><type name="IWebModule"/><type name="IEnterpriseApplication"/><type name="JndiObject"/><type name="ClasspathRuntimeTargetHandler"/><type name="IApplicationClientModule"/><type name="EJBBean"/><type name="JndiLaunchable"/></package><package name="org.eclipse.jst.server.generic.servertype.definition"></package></component>
19 plugins/org.eclipse.jst.server.core/plugin.properties
... ... @@ -1,19 +0,0 @@
1   -###############################################################################
2   -# Copyright (c) 2004, 2005 IBM Corporation and others.
3   -# All rights reserved. This program and the accompanying materials
4   -# are made available under the terms of the Eclipse Public License v1.0
5   -# which accompanies this distribution, and is available at
6   -# http://www.eclipse.org/legal/epl-v10.html
7   -#
8   -# Contributors:
9   -# IBM Corporation - initial API and implementation
10   -###############################################################################
11   -pluginName=Java Server Support
12   -providerName=Eclipse.org
13   -
14   -runtimeTypeName=J2EE Runtime Library
15   -runtimeTypeDescription=A runtime that represents a set of J2EE runtime libraries.
16   -
17   -moduleTypeJ2EEWebName=J2EE Web module
18   -moduleTypeJ2EEEJBName=J2EE EJB module
19   -moduleTypeJ2EEEARName=J2EE Enterprise application
45 plugins/org.eclipse.jst.server.core/plugin.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<?eclipse version="3.0"?>
3   -
4   -<plugin>
5   - <extension point="org.eclipse.jdt.core.classpathContainerInitializer">
6   - <classpathContainerInitializer
7   - id="org.eclipse.jst.server.core.container"
8   - class="org.eclipse.jst.server.core.internal.RuntimeClasspathContainerInitializer"/>
9   - </extension>
10   -
11   - <extension point="org.eclipse.wst.server.core.moduleTypes">
12   - <moduleType
13   - id="j2ee.web"
14   - name="%moduleTypeJ2EEWebName"/>
15   - <moduleType
16   - id="j2ee.ejb"
17   - name="%moduleTypeJ2EEEJBName"/>
18   - <moduleType
19   - id="j2ee.ear"
20   - name="%moduleTypeJ2EEEARName"/>
21   - </extension>
22   -
23   - <extension point="org.eclipse.wst.server.core.runtimeTypes">
24   - <runtimeType
25   - id="org.eclipse.jst.server.core.runtimeType"
26   - name="%runtimeTypeName"
27   - description="%runtimeTypeDescription"
28   - class="org.eclipse.jst.server.core.internal.GenericRuntime">
29   - <moduleType
30   - types="j2ee.*"
31   - versions="*"/>
32   - <moduleType
33   - types="utility"
34   - versions="*"/>
35   - </runtimeType>
36   - </extension>
37   -
38   - <extension point="org.eclipse.wst.server.core.runtimeTargetHandlers">
39   - <runtimeTargetHandler
40   - id="org.eclipse.jst.server.core.runtimeTarget"
41   - runtimeTypeIds="org.eclipse.jst.server.core.runtimeType"
42   - class="org.eclipse.jst.server.core.internal.GenericRuntimeTargetHandler"/>
43   - </extension>
44   -
45   -</plugin>
492 ...ins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/ClasspathRuntimeTargetHandler.java
... ... @@ -1,492 +0,0 @@
1   -/*******************************************************************************
2   - * Copyright (c) 2003, 2005 IBM Corporation and others.
3   - * All rights reserved. This program and the accompanying materials
4   - * are made available under the terms of the Eclipse Public License v1.0
5   - * which accompanies this distribution, and is available at
6   - * http://www.eclipse.org/legal/epl-v10.html
7   - *
8   - * Contributors:
9   - * IBM Corporation - Initial API and implementation
10   - *******************************************************************************/
11   -package org.eclipse.jst.server.core;
12   -
13   -import java.io.File;
14   -import java.util.ArrayList;
15   -import java.util.Iterator;
16   -import java.util.List;
17   -
18   -import org.eclipse.core.resources.IProject;
19   -import org.eclipse.core.runtime.*;
20   -import org.eclipse.jdt.core.*;
21   -import org.eclipse.jdt.launching.JavaRuntime;
22   -import org.eclipse.jst.server.core.internal.*;
23   -import org.eclipse.wst.server.core.IRuntime;
24   -import org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate;
25   -/**
26   - * A runtime target handler that supports changing the classpath of the
27   - * project by adding one or more classpath containers. Runtime providers
28   - * can extend this class and implement the abstract methods to provide
29   - * the correct build path for their runtime type.
30   - *
31   - * @since 1.0
32   - */
33   -public abstract class ClasspathRuntimeTargetHandler extends RuntimeTargetHandlerDelegate {
34   - private class SourceAttachmentUpdate {
35   - String runtimeId;
36   - String id;
37   - IPath entry;
38   - IPath sourceAttachmentPath;
39   - IPath sourceAttachmentRootPath;
40   - }
41   -
42   - private List sourceAttachments;
43   -
44   - /** (non-Javadoc)
45   - * @see RuntimeTargetHandlerDelegate#setRuntimeTarget(IProject, IRuntime, IProgressMonitor)
46   - */
47   - public void setRuntimeTarget(IProject project, IRuntime runtime, IProgressMonitor monitor) throws CoreException {
48   - if (project == null || runtime == null)
49   - return;
50   -
51   - IJavaProject javaProject = null;
52   - try {
53   - javaProject = (IJavaProject) project.getNature(JavaCore.NATURE_ID);
54   - } catch (Exception e) {
55   - // ignore
56   - }
57   -
58   - if (javaProject == null)
59   - return;
60   -
61   - try {
62   - List list = new ArrayList();
63   - IClasspathEntry[] cp = javaProject.getRawClasspath();
64   - int size = cp.length;
65   - for (int i = 0; i < size; i++) {
66   - if (cp[i].getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
67   - if (!cp[i].getPath().segment(0).equals(RuntimeClasspathContainer.SERVER_CONTAINER))
68   - list.add(cp[i]);
69   - } else
70   - list.add(cp[i]);
71   - }
72   -
73   - List add = new ArrayList();
74   - IClasspathEntry[] entries = getDelegateClasspathEntries(runtime, monitor);
75   - if (entries != null) {
76   - size = entries.length;
77   - for (int i = 0; i < size; i++)
78   - add.add(entries[i]);
79   - }
80   -
81   - String[] ids = getClasspathEntryIds();
82   - if (ids != null) {
83   - size = ids.length;
84   - for (int i = 0; i < size; i++) {
85   - String id2 = getRuntimeTargetHandler().getId();
86   - IPath path = new Path(RuntimeClasspathContainer.SERVER_CONTAINER).append(id2).append(runtime.getId());
87   - if (ids[i] != null)
88   - path.append(ids[i]);
89   - add.add(JavaCore.newContainerEntry(path));
90   - String id = "";
91   - if (path.segmentCount() > 3)
92   - id = path.segment(3);
93   - RuntimeClasspathContainer rcc = new RuntimeClasspathContainer(path, this, runtime, id);
94   - JavaCore.setClasspathContainer(path, new IJavaProject[] { javaProject}, new IClasspathContainer[] { rcc }, monitor);
95   - }
96   - }
97   -
98   - // clean up duplicates
99   - cleanupDuplicateClasspath(javaProject, list, add);
100   -
101   - Iterator iterator = add.iterator();
102   - while (iterator.hasNext()) {
103   - list.add(iterator.next());
104   - }
105   -
106   - cp = new IClasspathEntry[list.size()];
107   - list.toArray(cp);
108   - javaProject.setRawClasspath(cp, monitor);
109   - } catch (Exception e) {
110   - Trace.trace(Trace.WARNING, "Error setting runtime target", e);
111   - throw new CoreException(new Status(IStatus.ERROR, JavaServerPlugin.PLUGIN_ID, 0, e.getLocalizedMessage(), e));
112   - }
113   - }
114   -
115   - private void cleanupDuplicateClasspath(IJavaProject project, List current, List add) {
116   - if (project == null || current == null || add == null)
117   - throw new IllegalArgumentException();
118   -
119   - // check if we even have to bother
120   - boolean sourceOnly = true;
121   - Iterator iterator = current.iterator();
122   - while (iterator.hasNext()) {
123   - IClasspathEntry entry = (IClasspathEntry) iterator.next();
124   - if (entry.getEntryKind() != IClasspathEntry.CPE_SOURCE)
125   - sourceOnly = false;
126   - }
127   - if (sourceOnly)
128   - return;
129   -
130   - // remove any of our own containers
131   - List remove = new ArrayList();
132   - iterator = current.iterator();
133   - while (iterator.hasNext()) {
134   - IClasspathEntry entry = (IClasspathEntry) iterator.next();
135   -
136   - if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
137   - try {
138   - if (RuntimeClasspathContainer.SERVER_CONTAINER.equals(entry.getPath().segment(0))
139   - || JavaRuntime.JRE_CONTAINER.equals(entry.getPath().segment(0)))
140   - remove.add(entry);
141   - } catch (Exception e) {
142   - Trace.trace(Trace.FINEST, "Error resolving classpath container", e);
143   - }
144   - }
145   - }
146   -
147   - // expand the "add" list
148   - List addExpanded = new ArrayList();
149   - iterator = add.iterator();
150   - while (iterator.hasNext()) {
151   - IClasspathEntry entry = (IClasspathEntry) iterator.next();
152   - if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
153   - try {
154   - IClasspathContainer container = JavaCore.getClasspathContainer(entry.getPath(), project);
155   - IClasspathEntry[] entries = container.getClasspathEntries();
156   - int size = entries.length;
157   - for (int i = 0; i < size; i++) {
158   - if (entries[i] != null)
159   - addExpanded.add(entries[i]);
160   - }
161   - } catch (Exception e) {
162   - Trace.trace(Trace.FINEST, "Error resolving classpath container 2", e);
163   - }
164   - } else if (entry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
165   - entry = JavaCore.getResolvedClasspathEntry(entry);
166   - if (entry != null)
167   - addExpanded.add(entry);
168   - } else
169   - addExpanded.add(entry);
170   - }
171   -
172   - // check for duplicates by also expanding the current list
173   - iterator = current.iterator();
174   - while (iterator.hasNext()) {
175   - IClasspathEntry entry = (IClasspathEntry) iterator.next();
176   -
177   - List currentExpanded = new ArrayList();
178   - if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
179   - try {
180   - IClasspathContainer container = JavaCore.getClasspathContainer(entry.getPath(), project);
181   - IClasspathEntry[] entries = container.getClasspathEntries();
182   - int size = entries.length;
183   - for (int i = 0; i < size; i++) {
184   - if (entries[i] != null)
185   - currentExpanded.add(entries[i]);
186   - }
187   - } catch (Exception e) {
188   - Trace.trace(Trace.FINEST, "Error resolving classpath container 3", e);
189   - }
190   - } else if (entry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
191   - entry = JavaCore.getResolvedClasspathEntry(entry);
192   - if (entry != null)
193   - currentExpanded.add(entry);
194   - } else
195   - currentExpanded.add(entry);
196   -
197   - // loop over all of the expanded entries of this current entry
198   - boolean dup = false;
199   - Iterator iterator2 = currentExpanded.iterator();
200   - while (!dup && iterator2.hasNext()) {
201   - IClasspathEntry entry2 = (IClasspathEntry) iterator2.next();
202   - Iterator iterator3 = addExpanded.iterator();
203   - while (iterator3.hasNext()) {
204   - IClasspathEntry entry3 = (IClasspathEntry) iterator3.next();
205   - if (entry3.getPath().equals(entry2.getPath()))
206   - dup = true;
207   - }
208   - }
209   - if (dup && !remove.contains(entry))
210   - remove.add(entry);
211   - }
212   -
213   - // remove duplicates
214   - iterator = remove.iterator();
215   - while (iterator.hasNext()) {
216   - current.remove(iterator.next());
217   - }
218   - }
219   -
220   - /** (non-Javadoc)
221   - * @see RuntimeTargetHandlerDelegate#removeRuntimeTarget(IProject, IRuntime, IProgressMonitor)
222   - */
223   - public void removeRuntimeTarget(IProject project, IRuntime runtime, IProgressMonitor monitor) {
224   - Trace.trace(Trace.FINEST, "Removing runtime target");
225   - if (project == null || runtime == null)
226   - return;
227   -
228   - IJavaProject javaProject = null;
229   - try {
230   - javaProject = (IJavaProject) project.getNature(JavaCore.NATURE_ID);
231   - } catch (Exception e) {
232   - // ignore
233   - }
234   -
235   - if (javaProject == null)
236   - return;
237   -
238   - try {
239   - IClasspathEntry[] delegates = getDelegateClasspathEntries(runtime, monitor);
240   - int delegateSize = 0;
241   - if (delegates != null)
242   - delegateSize = delegates.length;
243   -
244   - List list = new ArrayList();
245   - IClasspathEntry[] cp = javaProject.getRawClasspath();
246   - int size = cp.length;
247   - for (int i = 0; i < size; i++) {
248   - boolean remove = false;
249   -
250   - if (cp[i].getPath().segment(0).equals(RuntimeClasspathContainer.SERVER_CONTAINER))
251   - remove = true;
252   -
253   - for (int j = 0; j < delegateSize; j++) {
254   - if (cp[i].equals(delegates[j]))
255   - remove = true;
256   - }
257   - if (!remove)
258   - list.add(cp[i]);
259   - }
260   -
261   - cp = new IClasspathEntry[list.size()];
262   - list.toArray(cp);
263   - javaProject.setRawClasspath(cp, monitor);
264   - } catch (Exception e) {
265   - Trace.trace(Trace.WARNING, "Error removing runtime target", e);
266   - }
267   - }
268   -
269   - private static void addJarFiles(File dir, List list, boolean includeSubdirectories) {
270   - int depth = 0;
271   - if (includeSubdirectories)
272   - depth = 2;
273   - addJarFiles(dir, list, depth);
274   - }
275   -
276   - private static void addJarFiles(File dir, List list, int depth) {
277   - if (dir == null)
278   - throw new IllegalArgumentException();
279   -
280   - File[] files = dir.listFiles();
281   - if (files != null) {
282   - int size = files.length;
283   - for (int i = 0; i < size; i++) {
284   - if (files[i].isDirectory() && depth > 0) {
285   - addJarFiles(files[i], list, depth - 1);
286   - } else if (files[i].getAbsolutePath().endsWith(".jar") || files[i].getAbsolutePath().endsWith(".zip")) {
287   - IPath path = new Path(files[i].getAbsolutePath());
288   - list.add(JavaCore.newLibraryEntry(path, null, null));
289   - }
290   - }
291   - }
292   - }
293   -
294   - /**
295   - * Add library entries to the given list for every jar file found in the
296   - * given directory. Optionally search subdirectories as well.
297   - *
298   - * @param list a list
299   - * @param dir a directory
300   - * @param includeSubdirectories <code>true</code> to include subdirectories, and
301   - * <code>false</code> otherwise
302   - */
303   - protected static void addLibraryEntries(List list, File dir, boolean includeSubdirectories) {
304   - if (dir == null)
305   - throw new IllegalArgumentException();
306   - addJarFiles(dir, list, includeSubdirectories);
307   - }
308   -
309   - /**
310   - * Returns the classpath entries that correspond to the given runtime.
311   - *
312   - * @param runtime a runtime
313   - * @param monitor a progress monitor, or <code>null</code> if progress
314   - * reporting and cancellation are not desired
315   - * @return an array of classpath entries
316   - */
317   - public IClasspathEntry[] getDelegateClasspathEntries(IRuntime runtime, IProgressMonitor monitor) {
318   - return null;
319   - }
320   -
321   - /**
322   - * Returns the classpath entry ids for this runtime target handler. These
323   - * ids will be added to the classpath container id to create a new fully
324   - * qualified classpath container id.
325   - * <p>
326   - * By default, there is a single classpath entry for the runtime, with no
327   - * extra id (<code>new String[1]</code>). To create multiple ids, just
328   - * return a string array containing the ids. For instance, to have two
329   - * classpath containers with ids "id1" and "id2", use
330   - * <code>new String[] { "id1", "id2" }</code>
331   - * </p>
332   - *
333   - * @return an array of classpath entry ids
334   - */
335   - public String[] getClasspathEntryIds() {
336   - return new String[1];
337   - }
338   -
339   - /**
340   - * Request that the classpath container for the given runtime and id be updated
341   - * with the given classpath container entries.
342   - *
343   - * @param runtime a runtime
344   - * @param id an id
345   - * @param entries an array of classpath entries
346   - */
347   - public void requestClasspathContainerUpdate(IRuntime runtime, String id, IClasspathEntry[] entries) {
348   - // default behaviour is to save the source path entries
349   - if (runtime == null || entries == null)
350   - return;
351   -
352   - // find the source attachments
353   - sourceAttachments = new ArrayList();
354   -
355   - int size = entries.length;
356   - for (int i = 0; i < size; i++) {
357   - if (entries[i].getSourceAttachmentPath() != null) {
358   - SourceAttachmentUpdate sau = new SourceAttachmentUpdate();
359   - sau.runtimeId = runtime.getId();
360   - sau.id = id;
361   - sau.entry = entries[i].getPath();
362   - sau.sourceAttachmentPath = entries[i].getSourceAttachmentPath();
363   - sau.sourceAttachmentRootPath = entries[i].getSourceAttachmentRootPath();
364   - sourceAttachments.add(sau);
365   - }
366   - }
367   - save();
368   - }
369   -
370   - /**
371   - * Returns the classpath container label for the given runtime and the given
372   - * classpath container id (returned from getClasspathEntryIds()). This method
373   - * must not return null.
374   - *
375   - * @param runtime the runtime to resolve the container label for
376   - * @param id the classpath entry id
377   - * @return a classpath container label
378   - */
379   - public abstract String getClasspathContainerLabel(IRuntime runtime, String id);
380   -
381   - /**
382   - * Resolve the classpath container.
383   - *
384   - * @param runtime a runtime
385   - * @param id a container id
386   - * @return a possibly empty array of classpath entries
387   - */
388   - public IClasspathEntry[] resolveClasspathContainerImpl(IRuntime runtime, String id) {
389   - IClasspathEntry[] entries = resolveClasspathContainer(runtime, id);
390   -
391   - if (entries == null)
392   - entries = new IClasspathEntry[0];
393   -
394   - if (sourceAttachments == null)
395   - load();
396   -
397   - int size = entries.length;
398   - int size2 = sourceAttachments.size();
399   - for (int i = 0; i < size; i++) {
400   - for (int j = 0; j < size2; j++) {
401   - SourceAttachmentUpdate sau = (SourceAttachmentUpdate) sourceAttachments.get(j);
402   - if ((id != null && sau.id.equals(id)) || (id == null && sau.id == null)) {
403   - if (sau.runtimeId.equals(runtime.getId()) && sau.entry.equals(entries[i].getPath())) {
404   - entries[i] = JavaCore.newLibraryEntry(entries[i].getPath(), sau.sourceAttachmentPath, sau.sourceAttachmentRootPath);
405   - }
406   - }
407   - }
408   - }
409   -
410   - return entries;
411   - }
412   -
413   - private void save() {
414   - if (sourceAttachments == null)
415   - return;
416   - String id = getRuntimeTargetHandler().getId();
417   - String filename = JavaServerPlugin.getInstance().getStateLocation().append(id + ".xml").toOSString();
418   - try {
419   - XMLMemento memento = XMLMemento.createWriteRoot("classpath");
420   -
421   - Iterator iterator = sourceAttachments.iterator();
422   - while (iterator.hasNext()) {
423   - SourceAttachmentUpdate sau = (SourceAttachmentUpdate) iterator.next();
424   - IMemento child = memento.createChild("source-attachment");
425   - child.putString("runtime-id", sau.runtimeId);
426   - if (sau.id != null)
427   - child.putString("id", sau.id);
428   - if (sau.entry != null)
429   - child.putString("entry", sau.entry.toPortableString());
430   - if (sau.sourceAttachmentPath != null)
431   - child.putString("source-attachment-path", sau.sourceAttachmentPath.toPortableString());
432   - if (sau.sourceAttachmentRootPath != null)
433   - child.putString("source-attachment-root-path", sau.sourceAttachmentRootPath.toPortableString());
434   - }
435   -
436   - memento.saveToFile(filename);
437   - } catch (Exception e) {
438   - Trace.trace(Trace.SEVERE, "Error saving source path info", e);
439   - }
440   - }
441   -
442   - private void load() {
443   - sourceAttachments = new ArrayList();
444   -
445   - if (getRuntimeTargetHandler() == null)
446   - return;
447   - String id = getRuntimeTargetHandler().getId();
448   - String filename = JavaServerPlugin.getInstance().getStateLocation().append(id + ".xml").toOSString();
449   -
450   - try {
451   - IMemento memento = XMLMemento.loadMemento(filename);
452   -
453   - IMemento[] children = memento.getChildren("source-attachment");
454   - int size = children.length;
455   -
456   - for (int i = 0; i < size; i++) {
457   - try {
458   - SourceAttachmentUpdate sau = new SourceAttachmentUpdate();
459   - sau.runtimeId = children[i].getString("runtime-id");
460   - sau.id = children[i].getString("id");
461   - String temp = children[i].getString("entry");
462   - if (temp != null)
463   - sau.entry = new Path(temp);
464   - temp = children[i].getString("source-attachment-path");
465   - if (temp != null)
466   - sau.sourceAttachmentPath = new Path(temp);
467   - temp = children[i].getString("source-attachment-root-path");
468   - if (temp != null)
469   - sau.sourceAttachmentRootPath = new Path(temp);
470   - sourceAttachments.add(sau);
471   - } catch (Exception e) {
472   - Trace.trace(Trace.WARNING, "Could not load monitor: " + e);
473   - }
474   - }
475   - } catch (Exception e) {
476   - Trace.trace(Trace.WARNING, "Could not load source path info: " + e.getMessage());
477   - }
478   - }
479   -
480   - /**
481   - * Resolves (creates the classpath entries for) the classpath container with
482   - * the given runtime and the given classpath container id (returned from
483   - * getClasspathEntryIds()). If the classpath container cannot be resolved
484   - * (for instance, if the runtime does not exist), return null.
485   - *
486   - * @param runtime the runtime to resolve the container for
487   - * @param id the classpath entry id
488   - * @return an array of classpath entries for the container, or null if the
489   - * container could not be resolved
490   - */
491   - public abstract IClasspathEntry[] resolveClasspathContainer(IRuntime runtime, String id);
492   -}
77 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/EJBBean.java
... ... @@ -1,77 +0,0 @@
1   -/*******************************************************************************
2   - * Copyright (c) 2003, 2005 IBM Corporation and others.
3   - * All rights reserved. This program and the accompanying materials
4   - * are made available under the terms of the Eclipse Public License v1.0
5   - * which accompanies this distribution, and is available at
6   - * http://www.eclipse.org/legal/epl-v10.html
7   - *
8   - * Contributors:
9   - * IBM Corporation - Initial API and implementation
10   - *******************************************************************************/
11   -package org.eclipse.jst.server.core;
12   -
13   -import org.eclipse.wst.server.core.IModule;
14   -import org.eclipse.wst.server.core.IModuleArtifact;
15   -/**
16   - *
17   - * @since 1.0
18   - */
19   -public class EJBBean implements IModuleArtifact {
20   - private IModule module;
21   - private String jndiName;
22   - private boolean local;
23   - private boolean remote;
24   -
25   - /**
26   - * Create a new EJBBean.
27   - *
28   - * @param module the module that the EJB is contained in
29   - * @param jndiName the JNDI name of the EJB
30   - * @param remote <code>true</code> if the EJB has a remote interface, and
31   - * <code>false</code> otherwise
32   - * @param local <code>true</code> if the EJB has a local interface, and
33   - * <code>false</code> otherwise
34   - */
35   - public EJBBean(IModule module, String jndiName, boolean remote, boolean local) {
36   - this.module = module;
37   - this.jndiName = jndiName;
38   - this.remote = remote;
39   - this.local = local;
40   - }
41   -
42   - /**
43   - * @see IModuleArtifact#getModule()
44   - */
45   - public IModule getModule() {
46   - return module;
47   - }
48   -
49   - /**
50   - * Returns the JNDI name of the EJB.
51   - *
52   - * @return the JNDI name of the EJB
53   - */
54   - public String getJndiName() {
55   - return jndiName;
56   - }
57   -
58   - /**
59   - * Returns whether the EJB has a remote interface.
60   - *
61   - * @return <code>true</code> if the EJB has a remote interface, and
62   - * <code>false</code> otherwise
63   - */
64   - public boolean hasRemoteInterface() {
65   - return remote;
66   - }
67   -
68   - /**
69   - * Returns whether the EJB has a local interface.
70   - *
71   - * @return <code>true</code> if the EJB has a local interface, and
72   - * <code>false</code> otherwise
73   - */
74   - public boolean hasLocalInterface() {
75   - return local;
76   - }
77   -}
18 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IApplicationClientModule.java
... ... @@ -1,18 +0,0 @@
1   -/*******************************************************************************
2   - * Copyright (c) 2003, 2005 IBM Corporation and others.
3   - * All rights reserved. This program and the accompanying materials
4   - * are made available under the terms of the Eclipse Public License v1.0
5   - * which accompanies this distribution, and is available at
6   - * http://www.eclipse.org/legal/epl-v10.html
7   - *
8   - * Contributors:
9   - * IBM Corporation - Initial API and implementation
10   - *******************************************************************************/
11   -package org.eclipse.jst.server.core;
12   -/**
13   - *
14   - * @since 1.0
15   - */
16   -public interface IApplicationClientModule extends IJ2EEModule {
17   - // no additional methods
18   -}
26 plugins/org.eclipse.jst.server.core/sjavacore/org/eclipse/jst/server/core/IConnectorModule.java
... ... @@ -1,26 +0,0 @@
1   -/*******************************************************************************
2   - * Copyright (c) 2003, 2005 IBM Corporation and others.
3   - * All rights reserved. This program and the accompanying materials
4   - * are made available under the terms of the Eclipse Public License v1.0
5   - * which accompanies this distribution, and is available at
6   - * http://www.eclipse.org/legal/epl-v10.html
7   - *
8   - * Contributors:
9   - * IBM Corporation - Initial API and implementation
10   - *******************************************************************************/
11   -package org.eclipse.jst.server.core;
12   -
13   -import org.eclipse.core.runtime.IPath;
14   -/**
15   - * A J2EE connector module.
16   - *
17   - * @since 1.0
18   - */
19   -public interface IConnectorModule extends IJ2EEModule {
20   - /**
21   - * Returns the classpath as an array of absolute IPaths.
22   - *
23