Permalink
Browse files

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

  • Loading branch information...
2 parents 6c28603 + 74f4149 commit fcf213d1c6d4d9beda7cb1b59b060ae4573f53c2 ndai committed Dec 2, 2004
Showing with 14,683 additions and 0 deletions.
  1. +7 −0 plugins/org.eclipse.jst.server.generic.core/.classpath
  2. +6 −0 plugins/org.eclipse.jst.server.generic.core/.cvsignore
  3. +28 −0 plugins/org.eclipse.jst.server.generic.core/.project
  4. +12 −0 plugins/org.eclipse.jst.server.generic.core/build.properties
  5. +10 −0 plugins/org.eclipse.jst.server.generic.core/plugin.properties
  6. +110 −0 plugins/org.eclipse.jst.server.generic.core/plugin.xml
  7. +123 −0 plugins/org.eclipse.jst.server.generic.core/servers/jboss323.server
  8. +118 −0 plugins/org.eclipse.jst.server.generic.core/servers/jonas.server
  9. +149 −0 plugins/org.eclipse.jst.server.generic.core/servers/weblogic81.server
  10. +130 −0 plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/CorePlugin.java
  11. +63 −0 ...se.jst.server.generic.core/src/org/eclipse/jst/server/generic/core/GenericServerCoreMessages.java
  12. +7 −0 ....server.generic.core/src/org/eclipse/jst/server/generic/core/GenericServerCoreMessages.properties
  13. +195 −0 ...clipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/AntPublisher.java
  14. +671 −0 ...lipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/GenericServer.java
  15. +130 −0 ...re/src/org/eclipse/jst/server/generic/internal/core/GenericServerLaunchConfigurationDelegate.java
  16. +92 −0 ...core/src/org/eclipse/jst/server/generic/internal/core/GenericServerLaunchableAdapterDelegate.java
  17. +147 −0 ...st.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/GenericServerRuntime.java
  18. +88 −0 ...eric.core/src/org/eclipse/jst/server/generic/internal/core/GenericServerRuntimeTargetHandler.java
  19. +80 −0 ...eneric.core/src/org/eclipse/jst/server/generic/internal/core/GenericServerRuntimeWorkingCopy.java
  20. +82 −0 ...ore/src/org/eclipse/jst/server/generic/internal/core/GenericServerSourcePathComputerDelegate.java
  21. +246 −0 ...erver.generic.core/src/org/eclipse/jst/server/generic/internal/core/GenericServerWorkingCopy.java
  22. +110 −0 ....eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/PingThread.java
  23. +68 −0 ...er.generic.core/src/org/eclipse/jst/server/generic/internal/core/ServerTypeDefinitionManager.java
  24. +81 −0 ...erver.generic.core/src/org/eclipse/jst/server/generic/internal/core/ServerTypeDefinitionUtil.java
  25. +74 −0 ...s/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/core/Trace.java
  26. +174 −0 ...org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java
  27. +204 −0 ...org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/XMLUtils.java
  28. +80 −0 ...jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ArchiveType.java
  29. +172 −0 ...e.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Classpath.java
  30. +188 −0 ...er.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/LaunchConfiguration.java
  31. +134 −0 ...ipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Module.java
  32. +134 −0 ...clipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Port.java
  33. +80 −0 ...pse.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Project.java
  34. +191 −0 ...se.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Property.java
  35. +107 −0 ...jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/PublishType.java
  36. +135 −0 ...e.jst.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/Publisher.java
  37. +413 −0 ...t.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ServerRuntime.java
  38. +162 −0 ...rver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ServerTypeFactory.java
  39. +1,316 −0 ...rver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/ServerTypePackage.java
  40. +107 −0 ...t.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/UnpublishType.java
  41. +188 −0 ...r.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ArchiveTypeImpl.java
  42. +362 −0 ...ver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ClasspathImpl.java
  43. +404 −0 ...c.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/LaunchConfigurationImpl.java
  44. +296 −0 ...server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ModuleImpl.java
  45. +296 −0 ...t.server.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/PortImpl.java
  46. +188 −0 ...erver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ProjectImpl.java
  47. +404 −0 ...rver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/PropertyImpl.java
  48. +242 −0 ...r.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/PublishTypeImpl.java
  49. +297 −0 ...ver.generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/PublisherImpl.java
  50. +881 −0 ...generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ServerRuntimeImpl.java
  51. +211 −0 ...ric.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ServerTypeFactoryImpl.java
  52. +1,329 −0 ...ric.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/ServerTypePackageImpl.java
  53. +242 −0 ...generic.core/src/org/eclipse/jst/server/generic/servertype/definition/impl/UnpublishTypeImpl.java
  54. +316 −0 ....core/src/org/eclipse/jst/server/generic/servertype/definition/util/ServerTypeAdapterFactory.java
  55. +89 −0 .../src/org/eclipse/jst/server/generic/servertype/definition/util/ServerTypeResourceFactoryImpl.java
  56. +58 −0 ...ic.core/src/org/eclipse/jst/server/generic/servertype/definition/util/ServerTypeResourceImpl.java
  57. +366 −0 ....generic.core/src/org/eclipse/jst/server/generic/servertype/definition/util/ServerTypeSwitch.java
  58. +121 −0 plugins/org.eclipse.jst.server.generic.core/xsd/ServerTypeDefinitionSchema.xsd
  59. +400 −0 plugins/org.eclipse.jst.server.generic.core/xsd/org.eclipse.jst.server.generic.servertype.ecore
  60. +81 −0 plugins/org.eclipse.jst.server.generic.core/xsd/servertype.genmodel
  61. +132 −0 plugins/org.eclipse.jst.server.generic.core/xsd/servertype.xsd2ecore
  62. +7 −0 plugins/org.eclipse.jst.server.generic.ui/.classpath
  63. +5 −0 plugins/org.eclipse.jst.server.generic.ui/.cvsignore
  64. +28 −0 plugins/org.eclipse.jst.server.generic.ui/.project
  65. +10 −0 plugins/org.eclipse.jst.server.generic.ui/build.properties
  66. BIN plugins/org.eclipse.jst.server.generic.ui/icons/obj16/lomboz.gif
  67. BIN plugins/org.eclipse.jst.server.generic.ui/icons/wizban/logo.gif
  68. +4 −0 plugins/org.eclipse.jst.server.generic.ui/plugin.properties
  69. +103 −0 plugins/org.eclipse.jst.server.generic.ui/plugin.xml
  70. +66 −0 ...generic.ui/src/org/eclipse/jst/server/generic/internal/ui/GenericLaunchConfigurationTabGroup.java
  71. +59 −0 ...ver.generic.ui/src/org/eclipse/jst/server/generic/internal/ui/GenericServerEditorPartFactory.java
  72. +58 −0 ....generic.ui/src/org/eclipse/jst/server/generic/internal/ui/GenericServerEditorSectionFactory.java
  73. +284 −0 ...generic.ui/src/org/eclipse/jst/server/generic/internal/ui/GenericServerRuntimeWizardFragment.java
  74. +144 −0 ...server.generic.ui/src/org/eclipse/jst/server/generic/internal/ui/GenericServerWizardFragment.java
  75. +73 −0 ...ic.ui/src/org/eclipse/jst/server/generic/internal/ui/ServerDefinitionTypeAwareWizardFragment.java
  76. +331 −0 ...t.server.generic.ui/src/org/eclipse/jst/server/generic/internal/ui/ServerTypeDefinitionGroup.java
  77. +63 −0 ....eclipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/GenericServerUIMessages.java
  78. +7 −0 ...se.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/GenericServerUIMessages.properties
  79. +114 −0 plugins/org.eclipse.jst.server.generic.ui/src/org/eclipse/jst/server/generic/ui/GenericUiPlugin.java
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
@@ -0,0 +1,6 @@
+bin
+build.xml
+genericserver.jar
+org.eclipse.jst.server.generic.core_1.0.0.jar
+temp.folder
+*.settings
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.jst.server.generic.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,12 @@
+source.genericserver.jar = src/
+output.genericserver.jar = bin/
+bin.includes = plugin.xml,\
+ genericserver.jar,\
+ servers/,\
+ plugin.properties,\
+ xsd/ServerTypeDefinitionSchema.xsd
+src.includes = servers/,\
+ src/,\
+ plugin.xml,\
+ plugin.properties,\
+ xsd/
@@ -0,0 +1,10 @@
+pluginName= Generic Server Plugin
+providerName=Eteration.com
+pluginDescription=Provides generic server tooling with easy to develop meta data configuration files
+
+runtimeTypeName=Generic Server Runtime
+runtimeTypeDescription=This is the Lomboz type runtime support
+
+serverTypeName=Generic server support
+serverTypeDescription=Lomboz type generic server
+launchConfigurationTypeName=Generic server launch configuration type
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+ id="org.eclipse.jst.server.generic.core"
+ name="%pluginName"
+ version="1.0.0"
+ provider-name="%providerName"
+ class="org.eclipse.jst.server.generic.core.CorePlugin"
+ description="%pluginDescription">
+
+ <runtime>
+ <library name="genericserver.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+
+ <requires>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.debug.core"/>
+ <import plugin="org.eclipse.jdt.core"/>
+ <import plugin="org.eclipse.jdt.launching"/>
+ <import plugin="org.eclipse.wst.server.core"/>
+ <import plugin="org.eclipse.jst.server.core"/>
+ <import plugin="org.eclipse.debug.ui"/>
+ <import plugin="org.eclipse.ant.core"/>
+ <import plugin="org.eclipse.ant.ui"/>
+ <import plugin="org.eclipse.jst.server.generic.modules"/>
+ <import plugin="org.eclipse.emf.common"/>
+ <import plugin="org.eclipse.emf.ecore"/>
+ <import plugin="org.eclipse.emf.ecore.xmi"/>
+ </requires>
+
+ <extension point="org.eclipse.wst.server.core.runtimeTargetHandlers">
+ <runtimeTargetHandler
+ id="org.eclipse.jst.server.generic.runtimeTarget"
+ runtimeTypeIds="org.eclipse.jst.server.generic.runtime"
+ class="org.eclipse.jst.server.generic.internal.core.GenericServerRuntimeTargetHandler"/>
+ </extension>
+
+ <extension point="org.eclipse.wst.server.core.moduleKinds">
+ <moduleKind
+ id="j2ee.web"
+ name="war file"/>
+ <moduleKind
+ id="j2ee.ejb"
+ name="ejb"/>
+ <moduleKind
+ id="j2ee.ear"
+ name="ear"/>
+ </extension>
+
+ <extension point="org.eclipse.wst.server.core.runtimeTypes">
+ <runtimeType
+ id="org.eclipse.jst.server.generic.runtime"
+ name="%runtimeTypeName"
+ description="%runtimeTypeDescription"
+ vendor="All"
+ version="0"
+ order="100"
+ class="org.eclipse.jst.server.generic.internal.core.GenericServerRuntime"
+ workingCopyClass="org.eclipse.jst.server.generic.internal.core.GenericServerRuntimeWorkingCopy">
+ <moduleType
+ types="j2ee.web"
+ versions="1.2, 1.3, 1.4"/>
+ </runtimeType>
+ </extension>
+
+<extension point="org.eclipse.wst.server.core.serverTypes">
+ <serverType
+ runtime="true"
+ class="org.eclipse.jst.server.generic.internal.core.GenericServer"
+ order="100"
+ hosts="localhost"
+ id="org.eclipse.jst.server.generic"
+ initialState="stopped"
+ workingCopyClass="org.eclipse.jst.server.generic.internal.core.GenericServerWorkingCopy"
+ runtimeTypeId="org.eclipse.jst.server.generic.runtime"
+ description="%serverTypeDescription"
+ launchConfigId="org.eclipse.jst.server.generic.core.launchConfigurationType"
+ monitorable="true"
+ name="%serverTypeName"
+ launchModes="run,debug">
+
+ </serverType>
+ </extension>
+
+ <extension point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ id="org.eclipse.jst.server.generic.core.launchConfigurationType"
+ name="%launchConfigurationTypeName"
+ delegate="org.eclipse.jst.server.generic.internal.core.GenericServerLaunchConfigurationDelegate"
+ modes="run, debug"
+ sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
+ sourcePathComputerId="org.eclipse.jst.server.generic.core.sourcePathComputer"/>
+ </extension>
+
+ <extension point="org.eclipse.debug.core.sourcePathComputers">
+ <sourcePathComputer
+ id="org.eclipse.jst.server.generic.core.sourcePathComputer"
+ class="org.eclipse.jst.server.generic.internal.core.GenericServerSourcePathComputerDelegate"/>
+ </extension>
+
+ <extension point="org.eclipse.wst.server.core.launchableAdapters">
+ <launchableAdapter
+ class="org.eclipse.jst.server.generic.internal.core.GenericServerLaunchableAdapterDelegate"
+ id="org.eclipse.jst.server.generic.web"/>
+ </extension>
+</plugin>
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tns:ServerRuntime
+ xmlns:tns="http://eclipse.org/jst/server/generic/ServerTypeDefinition"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://eclipse.org/jst/server/generic/ServerTypeDefinition ServerTypeDefinitionSchema.xsd "
+ name="JBOSS 3.2.3" version="v3.2.3">
+<property id="serverRootDirectory"
+ label="Application Server Directory:"
+ type="directory"
+ context="runtime"
+ default="/your_server_root/appservers/jboss-3.2.3" />
+<property id="serverAddress"
+ label="Address:"
+ type="string"
+ context="server"
+ default="127.0.0.1" />
+<property id="port"
+ label="Port:"
+ type="string"
+ context="server"
+ default="8080" />
+<property id="serverConfig"
+ label="Server Configuration (minimal/default/all):"
+ type="string"
+ context="server"
+ default="default" />
+<property id="classPath"
+ label="Classpath Variable:"
+ type="directory"
+ context="runtime"
+ default="/your_server_root/appservers/jboss-3.2.3" />
+
+ <port>
+ <no>${port}</no>
+ <name>Http</name>
+ <protocol>http</protocol>
+ </port>
+
+ <module>
+ <type>j2ee.web</type>
+ <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy</publishDir>
+ <publisherReference>jboss.web</publisherReference>
+ </module>
+
+
+ <project>
+ <classpathReference>jboss.project</classpathReference>
+ </project>
+
+ <start>
+ <class>org.jboss.Main</class>
+ <workingDirectory>${serverRootDirectory}/bin</workingDirectory>
+ <programArguments>-c ${serverConfig}</programArguments>
+ <vmParameters></vmParameters>
+ <classpathReference>jboss</classpathReference>
+ </start>
+
+ <stop>
+ <class>org.jboss.Shutdown</class>
+ <workingDirectory>${serverRootDirectory}/bin</workingDirectory>
+ <programArguments>-S</programArguments>
+ <vmParameters></vmParameters>
+ <classpathReference>jboss</classpathReference>
+ </stop>
+ <publisher id="jboss.web">
+ <publish>
+ <task>
+ <![CDATA[
+
+ <project name="deployextension" default="deploy" basedir=".">
+ <target name="deploy">
+ <jar destfile="${deploymentUnitName}.war">
+ <zipfileset dir="${moduleDir}">
+ <include name="**/*.*"/>
+ <exclude name="**/*.war"/>
+ </zipfileset>
+ </jar>
+ <move file="${deploymentUnitName}.war" todir="${deployDir}"/>
+ </target>
+ </project>
+
+ ]]>
+ </task>
+ <classpathReference>jboss</classpathReference>
+ </publish>
+ <unpublish>
+ <task>
+ <![CDATA[<project name="deployextension" default="deploy" basedir=".">
+ <target name="deploy">
+ <delete file="${deployDir}/${deploymentUnitName}.war"/>
+ </target>
+ </project>]]>
+ </task>
+ <classpathReference>jboss</classpathReference>
+ </unpublish>
+ </publisher>
+
+ <classpath id="jboss" isLibrary="true">
+ <archive path="${classPath}/bin/run.jar" />
+ <archive path="${classPath}/bin/shutdown.jar" />
+ <archive path="${classPath}/client/jboss-j2ee.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/javax.servlet.jar" />
+ <archive path="${classPath}/lib/jboss-boot.jar" />
+ <archive path="${classPath}/lib/jboss-system.jar" />
+ <archive path="${classPath}/lib/concurrent.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/jboss.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/jnpserver.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/jpl-pattern.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/jpl-util.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/jboss-transaction.jar" />
+ <archive path="${classPath}/server/${serverConfig}/lib/bcel.jar" />
+ <archive path="${classPath}/lib/jdom.jar" />
+ <archive path="${classPath}/lib/xercesImpl.jar" />
+ <archive path="${classPath}/lib/xml-apis.jar" />
+ <archive path="${classPath}/lib/gnu-regexp.jar" />
+ <archive path="${classPath}/lib/getopt.jar" />
+ </classpath>
+
+ <classpath id="jboss.project" isLibrary="false">
+ <archive path="${classPath}/client/jboss-j2ee.jar" />
+ </classpath>
+
+</tns:ServerRuntime>
Oops, something went wrong.

0 comments on commit fcf213d

Please sign in to comment.