I have a java application develeped in netbeans. I want to create a batchfile that recompiles the project and packs the resulting jar files along with some documentation to a zip file and generate an installer.
The packing and generation of the installer is no problem, but I dont know how to automate the compilation from commandline/batchfile - whenever I change something in the source-code I have to manually click on "Clean and Build" inside netbeans and run my batchfile afterwards.
What do I have to add to the batchfile to do the same as "Clean and Build" from inside netbeans?
I found out myself what to do:
The batchfile I use:
"Error running javac.exe compiler" Looks if the JDK was not in the PATH.