nbcompile
v1.4.0
Published
Compile a NetBeans project from the terminal
Downloads
7
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 nbcompile
Or 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/nbcompile
Usage
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
nbc
The command is aliased as both
nbcompile
andnbc
.
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