Monitoring build running from within NetBeans
- Start NetBeans
- Open your project
- In "Projects" view select a Gradle project and right-click on it to open the "Project Properties" dialog
- Select "Build-In Tasks" category
- Choose "Build" task and uncheck "Inherit" checkbox so that "JVM Arguments" field is enabled
- Add the following to the "JVM Arguments" field:
_ONE_AGENT_
_A_
_TWO_AGENTS_
- If Gradle runs on a 64-bit JVM:
_A_64_
- If Gradle runs on a 32-bit JVM:
_A_32_
_END_AGENTS_
Enable Maven monitoring
- Start NetBeans
- Open your project
- In "Projects" view select maven project and right-click on it to open the "Project Properties" dialog.
- Select "Configurations" category and choose your configuration, or crete a new one.
- Activate configuration ("Activate" button)
- Select "Actions" category in the same "Project Properties" dialog
- Choose your configuration and select "Build project" from "Actions" list
- Add the following to the "Set Properties" field:
_ONE_AGENT_
Env.MAVEN_OPTS=_A_
_TWO_AGENTS_
- If Maven runs on a 64-bit JVM:
Env.MAVEN_OPTS=_A_64_
- If Maven runs on a 32-bit JVM:
Env.MAVEN_OPTS=_A_32_
_END_AGENTS_