gercan | ab445c8 | 2006-04-19 18:57:34 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <tns:ServerRuntime |
| 3 | xmlns:tns="http://eclipse.org/jst/server/generic/ServerTypeDefinition" |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | xsi:schemaLocation="http://eclipse.org/jst/server/generic/ServerTypeDefinition ServerTypeDefinitionSchema.xsd " |
| 6 | name="JBOSS 3.2.3" version="v3.2.3"> |
| 7 | <property id="serverRootDirectory" |
| 8 | label="%ApplicationServerDirectory" |
| 9 | type="directory" |
| 10 | context="runtime" |
| 11 | default="/your_server_root/appservers/jboss-3.2.3" /> |
| 12 | <property id="serverAddress" |
| 13 | label="%serverAddress" |
| 14 | type="string" |
| 15 | context="server" |
| 16 | default="127.0.0.1" /> |
| 17 | <property id="port" |
| 18 | label="%serverPort" |
| 19 | type="string" |
| 20 | context="server" |
| 21 | default="8080" /> |
| 22 | <property id="jndiPort" |
| 23 | label="%jndiPort" |
| 24 | type="string" |
| 25 | context="server" |
| 26 | default="1099" /> |
| 27 | |
| 28 | <property id="serverConfig" |
| 29 | label="%jboss323serverConfig" |
| 30 | type="select" |
| 31 | context="server" |
| 32 | default="default,all,minimal" /> |
| 33 | |
| 34 | |
| 35 | <port> |
| 36 | <no>${port}</no> |
| 37 | <name>Http</name> |
| 38 | <protocol>http</protocol> |
| 39 | </port> |
| 40 | |
| 41 | <module> |
| 42 | <type>jst.web</type> |
| 43 | <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy</publishDir> |
| 44 | <publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
| 45 | </module> |
| 46 | <module> |
| 47 | <type>jst.ejb</type> |
| 48 | <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy</publishDir> |
| 49 | <publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
| 50 | </module> |
| 51 | <module> |
| 52 | <type>jst.ear</type> |
| 53 | <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy</publishDir> |
| 54 | <publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
| 55 | </module> |
| 56 | |
| 57 | <project> |
| 58 | <classpathReference>jboss.project</classpathReference> |
| 59 | </project> |
| 60 | |
| 61 | <start> |
| 62 | <mainClass>org.jboss.Main</mainClass> |
| 63 | <workingDirectory>${serverRootDirectory}/bin</workingDirectory> |
| 64 | <programArguments>-c ${serverConfig}</programArguments> |
| 65 | <vmParameters></vmParameters> |
| 66 | <classpathReference>jboss</classpathReference> |
| 67 | </start> |
| 68 | |
| 69 | <stop> |
| 70 | <mainClass>org.jboss.Shutdown</mainClass> |
| 71 | <workingDirectory>${serverRootDirectory}/bin</workingDirectory> |
| 72 | <programArguments>-S</programArguments> |
| 73 | <vmParameters></vmParameters> |
| 74 | <classpathReference>jboss</classpathReference> |
| 75 | </stop> |
| 76 | <publisher id="org.eclipse.jst.server.generic.antpublisher"> |
| 77 | <publisherdata> |
| 78 | <dataname>build.file</dataname> |
| 79 | <datavalue>/buildfiles/jboss323.xml</datavalue> |
| 80 | </publisherdata> |
| 81 | <publisherdata> |
| 82 | <dataname>target.publish.jst.web</dataname> |
| 83 | <datavalue>deploy.j2ee.web</datavalue> |
| 84 | </publisherdata> |
| 85 | <publisherdata> |
| 86 | <dataname>target.publish.jst.ejb</dataname> |
| 87 | <datavalue>deploy.j2ee.ejb</datavalue> |
| 88 | </publisherdata> |
| 89 | <publisherdata> |
| 90 | <dataname>target.unpublish.jst.web</dataname> |
| 91 | <datavalue>undeploy.j2ee.web</datavalue> |
| 92 | </publisherdata> |
| 93 | <publisherdata> |
| 94 | <dataname>target.unpublish.jst.ejb</dataname> |
| 95 | <datavalue>undeploy.j2ee.ejb</datavalue> |
| 96 | </publisherdata> |
| 97 | <publisherdata> |
| 98 | <dataname>target.publish.jst.ear</dataname> |
| 99 | <datavalue>deploy.j2ee.ear</datavalue> |
| 100 | </publisherdata> |
| 101 | <publisherdata> |
| 102 | <dataname>target.unpublish.jst.ear</dataname> |
| 103 | <datavalue>undeploy.j2ee.ear</datavalue> |
| 104 | </publisherdata> |
| 105 | </publisher> |
| 106 | |
| 107 | <classpath id="jboss" > |
| 108 | <archive path="${serverRootDirectory}/bin/run.jar" /> |
| 109 | <archive path="${serverRootDirectory}/bin/shutdown.jar" /> |
| 110 | <archive path="${serverRootDirectory}/client/jboss-j2ee.jar" /> |
| 111 | <archive path="${serverRootDirectory}/server/default/lib/javax.servlet.jar" /> |
| 112 | <archive path="${serverRootDirectory}/lib/jboss-boot.jar" /> |
| 113 | <archive path="${serverRootDirectory}/lib/jboss-system.jar" /> |
| 114 | <archive path="${serverRootDirectory}/lib/jboss-jmx.jar" /> |
| 115 | <archive path="${serverRootDirectory}/lib/jboss-common.jar" /> |
| 116 | <archive path="${serverRootDirectory}/lib/concurrent.jar" /> |
| 117 | <archive path="${serverRootDirectory}/server/default/lib/jboss.jar" /> |
| 118 | <archive path="${serverRootDirectory}/server/default/lib/jnpserver.jar" /> |
| 119 | <archive path="${serverRootDirectory}/server/default/lib/jpl-pattern.jar" /> |
| 120 | <archive path="${serverRootDirectory}/server/default/lib/jpl-util.jar" /> |
| 121 | <archive path="${serverRootDirectory}/server/default/lib/jboss-transaction.jar" /> |
| 122 | <archive path="${serverRootDirectory}/server/default/lib/bcel.jar" /> |
| 123 | <archive path="${serverRootDirectory}/lib/jdom.jar" /> |
| 124 | <archive path="${serverRootDirectory}/lib/xercesImpl.jar" /> |
| 125 | <archive path="${serverRootDirectory}/lib/xml-apis.jar" /> |
| 126 | <archive path="${serverRootDirectory}/lib/gnu-regexp.jar" /> |
| 127 | <archive path="${serverRootDirectory}/lib/getopt.jar" /> |
| 128 | </classpath> |
| 129 | |
| 130 | <classpath id="jboss.project" > |
| 131 | <archive path="${serverRootDirectory}/client/jboss-j2ee.jar" /> |
| 132 | <archive path="${serverRootDirectory}/server/default/lib/javax.servlet.jar" /> |
| 133 | <archive path="${serverRootDirectory}/server/default/lib/activation.jar" /> |
| 134 | <archive path="${serverRootDirectory}/server/default/lib/mail.jar" /> |
| 135 | </classpath> |
| 136 | <jndiConnection> |
| 137 | <providerUrl>jnp://${serverAddress}:${jndiPort}</providerUrl> |
| 138 | <initialContextFactory>org.jnp.interfaces.NamingContextFactory</initialContextFactory> |
| 139 | <jndiProperty> |
| 140 | <name></name> |
| 141 | <value></value> |
| 142 | </jndiProperty> |
| 143 | </jndiConnection> |
| 144 | </tns:ServerRuntime> |