Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to set up a large and complex Java web project so that "trial-and-error" isn't terrible waste of time?
    primarykey
    data
    text
    <p>This question is something like a holy grail of project environment setting. Here goes a rationale:</p> <p>Big projects tends to have poor documentation so there are a lot of trial-and-error cycles. Therefore I often use the reload-without-redeploy feature of some libraries (facelets, webflow, tapestry, jrebel...).</p> <p>The easiest way to use such feature is to have the same structure in VCS as is in servlet container and point servlet container directly to the development directory.</p> <p>However big projects are also often divided into some kind of modules to avoid too much complexity. This means that directory structure is very different in VCS and in the web container. Right now I even have a situation where I have two projects sharing the same core project which I need to develop simultaneously.</p> <p>If the project is small enough, I'm using incremental building with ant that is run by Eclipse on save of any file. But if there are several thousands of files where timestamp needs to be compared or some other time consuming action is run, than even incremental build can be quite annoying.</p> <p>The only thing that would make incremental builds faster (and therefore makes development MUCH MORE enjoyable) is some kind of IDE save action hooks that would supply ant more information about what is saved so that ant can avoid unnecessary work.</p> <p>If you have ever though about this, please share your thoughts with me - your favorite project setting, IDE tips, trial-and-error strategy criticism, whatever.</p> <p>For example I recently noticed the new "Web Deployment Assembly" feature, but I don't know how it can be used to make deployment dir structure synchronized with development dir structure during DEVELOPMENT, not build.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload