nbcompile

1.4.0 • Public • Published

nbcompile

npm version Build Status

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 and nbc.

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

Package Sidebar

Install

npm i nbcompile

Weekly Downloads

9

Version

1.4.0

License

MIT

Unpacked Size

5.42 kB

Total Files

4

Last publish

Collaborators

  • kvartborg