-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling Maven debug options #258
Conversation
@@ -82,7 +82,7 @@ public void beforeLaunch(Config config, LaunchParameters parameters) { | |||
|
|||
String logDir = argumentValue(arguments, ARG_KEY_LOG_DIR, config.getTmpDir().getAbsolutePath()); | |||
int jdwpPort = argumentIntValue(arguments, ARG_KEY_JDWP_PORT); | |||
boolean jdwpClientMode = argumentBoolValue(arguments, ARG_KEY_CLIENT_MODE); | |||
boolean jdwpClientMode = argumentValue(arguments, ARG_KEY_CLIENT_MODE, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The client mode option shall be optional, I guess.
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-plugin-plugin</artifactId> | ||
<version>3.2</version> | ||
<version>3.5</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Necessary to let the .class
file analyzer to process JDK8 files with lamdas.
plugins/maven/plugin/pom.xml
Outdated
<dependency> | ||
<groupId>com.mobidevelop.robovm</groupId> | ||
<artifactId>robovm-debugger</artifactId> | ||
<version>${project.version}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove version from here and add reference to debugger in <dependencyManagement>
of plugins/maven/pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 8494951.
@dkimitsa is this mergeable? |
@florianf it looks ok for me |
Contribution to #254 - enabling the
-Drobovm.debug
and-Drobovm.debugPort
options again. The debugger seems to start and listens or connects.