1

Cntrl+B( or clean-> build) will build complete java project under eclipse environment. Is this build uses project which is configured default build or it builds based on the eclipse plugin?

one of the java application I have seen is eclipse build will build complete project and depoy in the tomcat directory. How this is happening?

TechFind
  • 3,696
  • 18
  • 47
  • 62
  • Well, eclipse is able to package its own build and deploy it in a server. Which build is used depends on the project setup, e.g. a Maven project would normally be built using the Maven plugin in Eclipse whereas an Ant project is normally built using the provided ant build scripts (configurable, e.g. which target to use etc.). – Thomas Sep 08 '11 at 08:10
  • in my eclipse I have different projects which is having its own build.xml. but I don't think eclipse uses this build to build. – TechFind Sep 08 '11 at 08:26

1 Answers1

2

You might have seen the deployment feature with an Eclipse configured with WTP (Web Tools Platform).
WTP is featured in the Eclipse IDE for Java EE Developers and Eclipse IDE for JavaScript Web Developers, and contributes to many of the other Indigo packages.

WTP is able to deploy an app in a Tomcat (or in a local Tomcat within Eclipse itself).
See also "How does eclipse deploy web applications using WTP?"

You can see an example a a build and deployment in "HowToSetupEclipseWtp".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250