How can I build a NetBeans project outside of NetBeans?

IMO the main Ant/Maven/whatever build files should be hand-crafted to do what you actually need, and completely removed from all IDE/directory structure/etc. Dependencies.

IMO the main Ant/Maven/whatever build files should be hand-crafted to do what you actually need, and completely removed from all IDE/directory structure/etc. Dependencies. NetBeans/Eclipse/IntelliJ can all use a properly-configured Ant file, but they can't necessarily (ever?) use one generated by another IDE, nor can humans/CI servers. Another option is to create a build script specifically for production/CI/etc. Deployment; we've done both depending on actual needs/who can touch what/etc.

NetBeans can open Maven files directly. So that should be the "common denominator" between IDE and "non-IDE" – a_horse_with_no_name Sep 18 at 14:21 Except that he's talking about Ant, but yes, I agree: projects should be buildable, repeatedly, from the command line, across environments/desktops. – Dave Newton Sep 18 at 14:24 So if I read you right, what you're basically saying is: Learn ant, write your own build files, and ignore (or throw away) the stuff NetBeans created.

– Steve Ferguson Sep 19 at 11:59 Yep (although I could be wrong :) It's just more convenient in the long run: people not running NetBeans can use it, CI servers w/ no IDE at all can use it, etc. – Dave Newton Sep 19 at 12:21 If you rely on the scripts that netbeans generates then there are some dependencies on ant-netbeans jar files as well (I'm pretty sure that the other IDE's do similar). For repeatable builds in different environments I really think Maven is worth evaluation – Tim Sparg Sep 19 at 12:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions