문제

When Eclipse builds my workspace, I assume that it creates Java .class files. What else should otherwise deploy to my running JBoss AS?

Do you know where I can find these class files that Eclipse temporarily creates?

도움이 되었습니까?

해결책

Right click on your project, and then click on properties. Now click on the Java Build Path section, and you will be able to see and set the Default output folder on the "Source" tab. I believe Eclipse defaults to "bin"

More than likely though, it won't be enough to just copy these over to JBoss. You'll need to deploy your application as a .war file, which is basically a .zip with a different extension. Do some googling on "ant war task" for some examples and articles.

다른 팁

As gregcase has said, you want to deploy a .war file, and if you want Eclipse to do this for you, just right-click on the project, select "export" and under "web" choose "WAR file."

Copy this file to $JBOSS_HOME/server/default/deploy/ and you should be set.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top