I have recently been the lead developer on a corporate time sheet web application developed using netbeans and the excellent Extjs library front end, Java middle tier with an Oracle backend database.
The company I work for has a global presence around the world and some countries have less developed network infrastructure with often narrow bandwidth and slow links.
Avoiding Re-inventing the Wheel
Investigating the nb build process
With some spare time today, knowing nothing about the actual build process in netbeans I decided to investigate a solution myself.
So this is what I have ascertained to date in a couple of hours :-
- netbeans uses ant build scripts to do the actual building process.
- you can write your own ant tasks.
- each netbeans project has its own build script.
- The build script contains place holders for pre/post build and distribution ant tasks.
- Learn how to build ant tasks and hook them into build.xml for my projects.
- Share the solution with the nb community.
OK, there must be some down side to this too. From my point of view:-
- I have to spend the time learning ant (not really a downer for me) time is though....
- Debugging might be an issue if the source is actually modified on the fly during building.
- I know nothing about configuring netbeans so compression could be switched off etc.