Hi all,
I have the following problem. We are developing web applications using our own common framework which consists of: Java classes, jsps and other web content.
Whenever we need to create a new project, typically what it’s done is to checkout the common project and then create a new Web project, and then configuring the build dependency between both. However, by default MyEclipse deployer will only copy from the common project the compiled Java classes, but not the other web content (such as common jsp pages, etc) that need to go into the same web folder in the final deploy dir.
The way I came up to overcome this problem is to create my own eclipse builder that uses an ant scrip to copy this web content into the final deployment directory. However I can’t avoid feeling that this solution is somehow hacked and not always the best.
How do people typically handle this situation ? Is our approach of dividing the common content into a different project wrong from the very start ? Is there an easier and more seamless way to accomplish this ?
Thanks in advance,
Joel