Created
December 8, 2015 07:52
-
-
Save mike-boddin/0939c90ec5dfe99405a2 to your computer and use it in GitHub Desktop.
NetBeans: nbactions for spring-boot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<actions> | |
<action> | |
<actionName>CUSTOM-spring-boot:run</actionName> | |
<displayName>spring-boot:run</displayName> | |
<goals> | |
<goal>spring-boot:run -Drun.jvmArguments="-Xms128m -Xmx256m"</goal> | |
</goals> | |
</action> | |
<action> | |
<actionName>CUSTOM-spring-boot:run-Debug</actionName> | |
<displayName>spring-boot:run-Debug</displayName> | |
<goals> | |
<goal>spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000""</goal> | |
</goals> | |
</action> | |
<action> | |
<actionName>CUSTOM-dependency:tree</actionName> | |
<displayName>dependency:tree</displayName> | |
<goals> | |
<goal>dependency:tree</goal> | |
</goals> | |
</action> | |
</actions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For using the debug-mode start the spring-boot:run-Debug goal, wait for

Listening for transport dt_socket at address: 4000
in the console and then attach the debugger by click onDebug->Attach Debugger...
in the context-menu