3

为了测试 adempiere 的 webui,我需要构建代码并在每次更改时部署它。它非常耗时。远程调试非常有用。但是构建、设置和服务器运行时间保持不变。我们可以通过 eclipse 运行 JBoss 服务器吗?因此,我们可以编写代码并在调试模式下对其进行测试吗?

4

1 回答 1

4

You Can run the jboss server in eclipse and deploy adempiere projects in jboss also

  1. Download the jboss4.2.3 and place into your desire location in your drive.
  2. Extract the jboss zip file (let say /home/Giri/Server/jboss4.2.3GA/....)
  3. Open your eclipse IDE, and open the server pane
    • Click on the Window And choose Show View
    • It will open a popup and select the server (By writing the help text you will get)
  4. Right click on the server editor, New---->Server
    • It will open the a new server pop-up
    • Select the jboss and select the jboss version as the 4.2
  5. Click on the Next button
  6. Here you need to select the your jboss server path (as previously i mentioned /home/Giri/Server/jboss4.2.3GA/ )
  7. Click on the Next (no need to change the ports)---> Finish
    • Don't bother about the project Add And Remove Project
  8. Now in server editor you will get a jboss server details in single line
  9. Now double click on the server, or Right click on the jboss server And select the Open
  10. It will open server details page
  11. Now update the following settings
    • In Publishing :- Select Never select auotmatically
    • In Time Out :- Set start time as 5000
    • Save(CTRL+S) the settings and close the settings
  12. Click on the Open launch configuration
  13. It will open the a pop-up
  14. Now Navigate into classpath tab, And select the User Entries and add the following mentioned jars by clicking on the Add Jars button at right side
    • trunk\tools\lib*.jars (Except cglib.jar, log4j.jar, jnlp.jar, javaee.jar)
    • trunk\japserreportstool\lib*.jars (Except jfreechart***.jar)
    • and add the javaw.jar from the jre library (by using Add external jars)
  15. If you want to configure the properties files then add the properties files details into Arguments tab
  16. Save it and close it
  17. Right click on the server and Click on the Add And Remove Select available installers and add to right side tab, and click on Finish.
  18. Run click on jboss and publish after that start it....

Hope your server will start properly .....

于 2014-03-28T15:40:00.197 回答