Opened 11 years ago

Closed 5 years ago

Last modified 5 years ago

#39991 closed enhancement (fixed)

maven_select not setting up mvnDebug

Reported by: genthaler@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: maven_select

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Please create symlinks for mvnDebug in a similar way as for mvn.

Currently, I have all 3 mavens installed, and the following symlinks are in place:

/opt/local/bin/mvn -> /opt/local/bin/mvn3
/opt/local/bin/mvn1 -> ../share/java/maven1/bin/mvn
/opt/local/bin/mvn2 -> ../share/java/maven2/bin/mvn
/opt/local/bin/mvn3 -> ../share/java/maven3/bin/mvn

What's missing from this are symlinks to mvnDebug (which is similar to the mvn command but sets up the appropriate options for JDWP). Now I could just call mvn -DMAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 but that's extra friction.

Thanks.

Change History (6)

comment:1 Changed 11 years ago by genthaler@…

Cc: genthaler@… added

Cc Me!

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: genthaler@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to blair@…

comment:3 Changed 11 years ago by blair (Blair Zajac)

Due to limited cycles, I don't have the time to look at this, but if you want to submit a diff for all mavens I can commit it.

comment:4 Changed 6 years ago by breun (Nils Breunese)

I've created a pull request for this: https://github.com/macports/macports-ports/pull/1937

comment:5 Changed 5 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

The PR was merged. Please re-open if that did not address this ticket.

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Version: 2.2.0
Note: See TracTickets for help on using tickets.