nbcompile
v1.4.0
Published
Compile a NetBeans project from the terminal
Maintainers
Readme
nbcompile
Compile NetBeans projects directly from your terminal.
Requirements
This script is using Apache Ant under the hood to compile
the source, your need the latest version for this to work.
Supported platforms are macOS and linux, it should work on Windows
with the bash emulator.
Install
Use npm to install the script globally.
npm install -g nbcompileOr clone this repo and place the nbcompile.sh in /usr/local/bin.
git clone https://github.com/kvartborg/nbcompile
cp -a nbcompile/bin/nbcompile.sh /usr/local/bin/nbcompileUsage
Navigate to a NetBeans project in your terminal and run the nbcompile command.
This will compile and run your java code like the NetBeans IDE.
cd my/netbeans/project
nbcThe command is aliased as both
nbcompileandnbc.
Clean & build
NetBeans clean and build feature is also supported by nbcompile, run the clean command and the project dist and build folder will be clean before execution.
nbc clean