evankstone
11 Sep 2007, 2:14 PM
Sorry if this isn't the right forum for this question, but it seemed like a good place for it. Let me know if I should post this elsewhere.
I'm looking for advice (or personal experiences, web/print resources) on best practices surrounding doing builds and deployment with JavaScript and Java-based web technologies (specifically JSP/JSF in my case), since I'm getting to the point where it's going to be important to be able to automate the minification and deployment of our JavaScript libraries and also the pages that include them.
It seems to me that I'd like to be able to use my current toolset locally (eclipse, with exploded deployments under JBoss) for JavaScript development work and be able to work on the separate, smaller .js files that get minified and merged by the build script to make up a bigger, single library file for deployment (kind of like how Ext seems to be architected).
But then it seems there needs to be some kind of conditionality in the JSP files that have the includes for the .js files. When working locally, I'll need to point to the handful of separate files, then during the build process the page would have to be changed so that it points to the single, minified aggregate version of the library...
So how do developers who are using this mix of technologies typically manage this scenario?
Thanks!
:D
I'm looking for advice (or personal experiences, web/print resources) on best practices surrounding doing builds and deployment with JavaScript and Java-based web technologies (specifically JSP/JSF in my case), since I'm getting to the point where it's going to be important to be able to automate the minification and deployment of our JavaScript libraries and also the pages that include them.
It seems to me that I'd like to be able to use my current toolset locally (eclipse, with exploded deployments under JBoss) for JavaScript development work and be able to work on the separate, smaller .js files that get minified and merged by the build script to make up a bigger, single library file for deployment (kind of like how Ext seems to be architected).
But then it seems there needs to be some kind of conditionality in the JSP files that have the includes for the .js files. When working locally, I'll need to point to the handful of separate files, then during the build process the page would have to be changed so that it points to the single, minified aggregate version of the library...
So how do developers who are using this mix of technologies typically manage this scenario?
Thanks!
:D