eclipse [lomboz et jboss4]

eclipse [lomboz et jboss4] - Java - Programmation

Marsh Posté le 14-09-2005 à 12:01:34    

Je veut utiliser le plug-in Eclipse Lomboz pour le serveur JBoss 4.0.0...  
 
mais Lomboz ne prend pas en compte la version 4 de JBoss...  
j'ai essaié un code adapter pour JBOSS4.0.0 et Lomboz :  
 
 
 
fichier jboss400.server dans  \eclipse\plugins\com.objectlearn.jdt.j2ee\servers
 

Code :
  1. <serverDefinition
  2.     name="JBOSS 4.0"
  3.     ejbModules="true"
  4.     webModules="true"
  5.     earModules="true">
  6. <property id="serverRootDirectory"
  7.    label="Application Server Directory:"
  8.    type="directory"
  9.    default="C:/jboss-4.0.0" />
  10. <property id="serverAddress"
  11.    label="Address:"
  12.    type="string"
  13.    default="127.0.0.1" />
  14. <property id="serverPort"
  15.    label="Port:"
  16.    type="string"
  17.    default="8080" />
  18. <property id="serverConfig"
  19.    label="Server Configuration (minimal/default/all):"
  20.    type="string"
  21.    default="default" />
  22. <property id="classPathVariableName"
  23.    label="Classpath Variable Name:"
  24.    type="string"
  25.    default="jboss-4.0.0" />
  26. <property id="classPath"
  27.    label="Classpath Variable:"
  28.    type="directory"
  29.    default="C:/jboss-4.0.0" />
  30. <property id="minimumHeapSize"
  31.    label="Minimum total heap size:"
  32.    type="string"
  33.    default="256m" />
  34. <property id="maximumHeapSize"
  35.    label="Maximum total heap size:"
  36.    type="string"
  37.    default="256m" />
  38. <property id="proxyProperties"
  39.    label="Proxy properties:"
  40.    type="string"
  41.    default="-DproxySet=true -DproxyHost=proxy -DproxyPort=8080" />
  42. <serverHome>${serverRootDirectory}</serverHome>
  43. <webModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</webModulesDeployDirectory>
  44. <ejbModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</ejbModulesDeployDirectory>
  45. <earModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</earModulesDeployDirectory>
  46. <jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory>
  47. <jndiProviderUrl>jnp://${serverAddress}:1099</jndiProviderUrl>
  48. <startClass>org.jboss.Main</startClass>
  49. <startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory>
  50. <startVmParameters>-Xms${minimumHeapSize} -Xmx${maximumHeapSize}
  51. ${proxyProperties}
  52. -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</startVmParameters>
  53. <startProgramArguments>-c ${serverConfig}</startProgramArguments>
  54. <stopClass>org.jboss.Shutdown</stopClass>
  55. <stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory>
  56. <stopVmParameters></stopVmParameters>
  57. <stopProgramArguments>${serverAddress}
  58. ${serverPort}</stopProgramArguments>
  59. <serverClassPath>
  60.    <jar type="variable">${classPathVariableName}/bin/run.jar</jar>
  61.    <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar>
  62.    <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar>
  63.    <jar type="variable">${classPathVariableName}/lib/endorsed/resolver.jar</jar>
  64.    <jar type="variable">${classPathVariableName}/lib/endorsed/xalan.jar</jar>
  65.    <jar type="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar</jar>
  66.    <jar type="variable">${classPathVariableName}/lib/endorsed/xml-apis.jar</jar>
  67.    <jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
  68.    <jar type="variable">${classPathVariableName}/lib/commons-httpclient.jar</jar>
  69.    <jar type="variable">${classPathVariableName}/lib/commons-logging.jar</jar>
  70.    <jar type="variable">${classPathVariableName}/lib/concurrent.jar</jar>
  71.    <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar>
  72.    <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar>
  73.    <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar>
  74.    <jar type="variable">${classPathVariableName}/lib/jboss-common.jar</jar>
  75.    <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar</jar>
  76.    <jar type="variable">${classPathVariableName}/lib/jboss-system.jar</jar>
  77.    <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar</jar>
  78.    <jar type="variable">${classPathVariableName}/lib/namespace.jar</jar>
  79.    <jar type="variable">${classPathVariableName}/lib/webdavlib.jar</jar>
  80.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/activation.jar</jar>
  81.    <jar type="variable">${classPathVariableName}/server/all/lib/autonumber-plugin.jar</jar>
  82.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/avalon-framework.jar</jar>
  83.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar>
  84.    <jar type="variable">${classPathVariableName}/server/all/lib/bindingservice-plugin.jar</jar>
  85.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-commands-1.3.0.jar</jar>
  86.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-core-1.3.0.jar</jar>
  87.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-deployer.jar</jar>
  88.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/castor-0.9.3.9-xml.jar</jar>
  89.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/cglib-full-2.0.1.jar</jar>
  90.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hibernate2.jar</jar>
  91.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb-plugin.jar</jar>
  92.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb.jar</jar>
  93.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jacorb.jar</jar>
  94.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar</jar>
  95.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jsp.jar</jar>
  96.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jaxr-client.jar</jar>
  97.    <jar type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar</jar>
  98.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-common-jdbc-wrapper.jar</jar>
  99.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-hibernate.jar</jar>
  100.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-iiop.jar</jar>
  101.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-j2ee.jar</jar>
  102.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jaxrpc.jar</jar>
  103.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jca.jar</jar>
  104.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jsr77.jar</jar>
  105.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-management.jar</jar>
  106.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-monitoring.jar</jar>
  107.    <jar type="variable">${classPathVariableName}/server/all/lib/jboss-remoting.jar</jar>
  108.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-saaj.jar</jar>
  109.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar>
  110.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar>
  111.    <jar type="variable">${classPathVariableName}/server/all/lib/jbossha.jar</jar>
  112.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jbossmq.jar</jar>
  113.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jbosssx.jar</jar>
  114.    <jar type="variable">${classPathVariableName}/server/all/lib/jgroups.jar</jar>
  115.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jmx-adaptor-plugin.jar</jar>
  116.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar>
  117.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar>
  118.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar>
  119.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/log4j.jar</jar>
  120.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/mail-plugin.jar</jar>
  121.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/mail.jar</jar>
  122.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0.jar</jar>
  123.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/properties-plugin.jar</jar>
  124.    <jar type="variable">${classPathVariableName}/server/all/lib/scheduler-plugin-example.jar</jar>
  125.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/scheduler-plugin.jar</jar>
  126.    <jar type="variable">${classPathVariableName}/server/all/lib/snmp-adaptor.jar</jar>
  127.    <jar type="variable">${classPathVariableName}/server/all/lib/snmp-support.jar</jar>
  128. </serverClassPath>
  129. <clientClassPath>
  130.    <jar type="variable">${classPathVariableName}/client/avalon-framework.jar</jar>
  131.    <jar type="variable">${classPathVariableName}/client/axis-ws4ee.jar</jar>
  132.    <jar type="variable">${classPathVariableName}/client/commons-discovery.jar</jar>
  133.    <jar type="variable">${classPathVariableName}/client/commons-logging.jar</jar>
  134.    <jar type="variable">${classPathVariableName}/client/concurrent.jar</jar>
  135.    <jar type="variable">${classPathVariableName}/client/getopt.jar</jar>
  136.    <jar type="variable">${classPathVariableName}/client/jacorb.jar</jar>
  137.    <jar type="variable">${classPathVariableName}/client/jaxr-client.jar</jar>
  138.    <jar type="variable">${classPathVariableName}/client/jboss-client.jar</jar>
  139.    <jar type="variable">${classPathVariableName}/client/jboss-common-client.jar</jar>
  140.    <jar type="variable">${classPathVariableName}/client/jboss-deployment.jar</jar>
  141.    <jar type="variable">${classPathVariableName}/client/jboss-iiop-client.jar</jar>
  142.    <jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
  143.    <jar type="variable">${classPathVariableName}/client/jboss-jaxrpc.jar</jar>
  144.    <jar type="variable">${classPathVariableName}/client/jboss-jsr77-client.jar</jar>
  145.    <jar type="variable">${classPathVariableName}/client/jboss-saaj.jar</jar>
  146.    <jar type="variable">${classPathVariableName}/client/jboss-system-client.jar</jar>
  147.    <jar type="variable">${classPathVariableName}/client/jboss-transaction-client.jar</jar>
  148.    <jar type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar</jar>
  149.    <jar type="variable">${classPathVariableName}/client/jbosscx-client.jar</jar>
  150.    <jar type="variable">${classPathVariableName}/client/jbossha-client.jar</jar>
  151.    <jar type="variable">${classPathVariableName}/client/jbossjmx-ant.jar</jar>
  152.    <jar type="variable">${classPathVariableName}/client/jbossmq-client.jar</jar>
  153.    <jar type="variable">${classPathVariableName}/client/jbosssx-client.jar</jar>
  154.    <jar type="variable">${classPathVariableName}/client/jmx-client.jar</jar>
  155.    <jar type="variable">${classPathVariableName}/client/jmx-invoker-adaptor-client.jar</jar>
  156.    <jar type="variable">${classPathVariableName}/client/jnp-client.jar</jar>
  157.    <jar type="variable">${classPathVariableName}/client/log4j.jar</jar>
  158.    <jar type="variable">${classPathVariableName}/client/logkit.jar</jar>
  159. </clientClassPath>
  160. <projectClassPath>
  161.    <jar type="variable">${classPathVariableName}/bin/run.jar</jar>
  162.    <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar>
  163.    <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar>
  164.    <jar type="variable">${classPathVariableName}/lib/endorsed/resolver.jar</jar>
  165.    <jar type="variable">${classPathVariableName}/lib/endorsed/xalan.jar</jar>
  166.    <jar type="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar</jar>
  167.    <jar type="variable">${classPathVariableName}/lib/endorsed/xml-apis.jar</jar>
  168.    <jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
  169.    <jar type="variable">${classPathVariableName}/lib/commons-httpclient.jar</jar>
  170.    <jar type="variable">${classPathVariableName}/lib/commons-logging.jar</jar>
  171.    <jar type="variable">${classPathVariableName}/lib/concurrent.jar</jar>
  172.    <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar>
  173.    <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar>
  174.    <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar>
  175.    <jar type="variable">${classPathVariableName}/lib/jboss-common.jar</jar>
  176.    <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar</jar>
  177.    <jar type="variable">${classPathVariableName}/lib/jboss-system.jar</jar>
  178.    <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar</jar>
  179.    <jar type="variable">${classPathVariableName}/lib/namespace.jar</jar>
  180.    <jar type="variable">${classPathVariableName}/lib/webdavlib.jar</jar>
  181.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/activation.jar</jar>
  182.    <jar type="variable">${classPathVariableName}/server/all/lib/autonumber-plugin.jar</jar>
  183.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/avalon-framework.jar</jar>
  184.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar>
  185.    <jar type="variable">${classPathVariableName}/server/all/lib/bindingservice-plugin.jar</jar>
  186.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-commands-1.3.0.jar</jar>
  187.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-core-1.3.0.jar</jar>
  188.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-deployer.jar</jar>
  189.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/castor-0.9.3.9-xml.jar</jar>
  190.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/cglib-full-2.0.1.jar</jar>
  191.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hibernate2.jar</jar>
  192.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb-plugin.jar</jar>
  193.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb.jar</jar>
  194.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jacorb.jar</jar>
  195.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar</jar>
  196.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jsp.jar</jar>
  197.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jaxr-client.jar</jar>
  198.    <jar type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar</jar>
  199.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-common-jdbc-wrapper.jar</jar>
  200.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-hibernate.jar</jar>
  201.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-iiop.jar</jar>
  202.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-j2ee.jar</jar>
  203.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jaxrpc.jar</jar>
  204.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jca.jar</jar>
  205.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jsr77.jar</jar>
  206.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-management.jar</jar>
  207.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-monitoring.jar</jar>
  208.    <jar type="variable">${classPathVariableName}/server/all/lib/jboss-remoting.jar</jar>
  209.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-saaj.jar</jar>
  210.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar>
  211.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar>
  212.    <jar type="variable">${classPathVariableName}/server/all/lib/jbossha.jar</jar>
  213.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jbossmq.jar</jar>
  214.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jbosssx.jar</jar>
  215.    <jar type="variable">${classPathVariableName}/server/all/lib/jgroups.jar</jar>
  216.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jmx-adaptor-plugin.jar</jar>
  217.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar>
  218.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar>
  219.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar>
  220.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/log4j.jar</jar>
  221.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/mail-plugin.jar</jar>
  222.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/mail.jar</jar>
  223.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0.jar</jar>
  224.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/properties-plugin.jar</jar>
  225.    <jar type="variable">${classPathVariableName}/server/all/lib/scheduler-plugin-example.jar</jar>
  226.    <jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/scheduler-plugin.jar</jar>
  227.    <jar type="variable">${classPathVariableName}/server/all/lib/snmp-adaptor.jar</jar>
  228.    <jar type="variable">${classPathVariableName}/server/all/lib/snmp-support.jar</jar>
  229. </projectClassPath>
  230. <adminTool>
  231.    <web><deploy /><undeploy />
  232.    </web>
  233.    <ejb><deploy /><undeploy />
  234.    </ejb>
  235.    <ear><deploy /><undeploy />
  236.       <webModule><deploy /><undeploy />
  237.       </webModule>
  238.       <ejbModule><deploy /><undeploy />
  239.       </ejbModule>
  240.    </ear>
  241. </adminTool>
  242. <adminToolPath>
  243. </adminToolPath>
  244. </serverDefinition>


 
ca marche pas ,  
je ne trouve pas jboss4 dans la liste "server definition" (window >preference>lomboz) :cry:

Reply

Marsh Posté le 14-09-2005 à 12:01:34   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed