为了测试 adempiere 的 webui,我需要构建代码并在每次更改时部署它。它非常耗时。远程调试非常有用。但是构建、设置和服务器运行时间保持不变。我们可以通过 eclipse 运行 JBoss 服务器吗?因此,我们可以编写代码并在调试模式下对其进行测试吗?
问问题
1478 次
1 回答
4
You Can run the jboss server in eclipse and deploy adempiere projects in jboss also
- Download the jboss4.2.3 and place into your desire location in your drive.
- Extract the jboss zip file (let say /home/Giri/Server/jboss4.2.3GA/....)
- 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)
- 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
- Click on the Next button
- Here you need to select the your jboss server path (as previously i mentioned /home/Giri/Server/jboss4.2.3GA/ )
- Click on the
Next
(no need to change the ports)--->Finish
- Don't bother about the project
Add And Remove Project
- Don't bother about the project
- Now in server editor you will get a jboss server details in single line
- Now double click on the server, or Right click on the jboss server And select the
Open
- It will open server details page
- Now update the following settings
- In
Publishing
:- SelectNever select auotmatically
- In
Time Out
:- Setstart time
as5000
- Save(CTRL+S) the settings and close the settings
- In
- Click on the
Open launch configuration
- It will open the a pop-up
- Now Navigate into
classpath
tab, And select theUser Entries
and add the following mentioned jars by clicking on theAdd 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
)
- If you want to configure the properties files then add the properties files details into
Arguments
tab - Save it and close it
- 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. - Run click on jboss and publish after that start it....
Hope your server will start properly .....
于 2014-03-28T15:40:00.197 回答