I never use remote debugging (because the tools in m2eclipse are so good) but 
looking at the scripts Stuart's analysis is right. So I can make an issue and 
just use the text of his analysis. I'll try to get the fix in for the 3.3.4 
release.

On Apr 26, 2015, at 5:08 PM, Mark Struberg <strub...@yahoo.de> wrote:

> will do tomorrow morning. Need to dig whether this already got reported first.
> 
> txs and LieGrue,
> strub
> 
>> Am 26.04.2015 um 22:39 schrieb Jason van Zyl <ja...@takari.io>:
>> 
>> Mark,
>> 
>> If this is what's happening make a JIRA and mark it for 3.3.4 and we'll get 
>> it in there. Seems easy enough to fix. Stuart, thanks for the analysis.
>> 
>> On Apr 26, 2015, at 1:24 PM, Stuart McCulloch <mccu...@gmail.com> wrote:
>> 
>>> On Sunday, 26 April 2015 at 17:34, Jason van Zyl wrote:
>>>> Did you create an issue in JIRA, I still don't know exactly what the 
>>>> problem is.
>>>> 
>>>> 
>>> 
>>> AFAICT the underlying issue is that the MAVEN_OPTS setting can be reset 
>>> when the mvn script sources .mavenrc
>>> 
>>> Before 3.3.x the mvnDebug script was a tweaked copy of mvn so this didn’t 
>>> make any difference to debugging as MAVEN_DEBUG_OPTS was still referenced 
>>> in the final command.
>>> 
>>> For 3.3.x onwards the mvnDebug script sets MAVEN_OPTS to “$MAVEN_OPTS 
>>> $MAVEN_DEBUG_OPTS” and then invokes the mvn script... which means that if 
>>> MAVEN_OPTS is subsequently reset by .mavenrc in the mvn script then the 
>>> debug settings are lost. You can recreate this by simply adding 
>>> MAVEN_OPTS=“-showversion” to your .mavenrc
>>> 
>>> One fix could be to source /etc/mavenrc and .mavenrc early on in mvnDebug 
>>> (as done in the mvn script) and then set MAVEN_SKIP_RC=1 when invoking mvn 
>>> with the combined MAVEN_OPT setting. This should stop it getting reset in 
>>> the mvn script and allow the debug settings to pass through.
>>>> 
>>>> On Apr 26, 2015, at 2:12 AM, Mark Struberg <strub...@yahoo.de 
>>>> (mailto:strub...@yahoo.de)> wrote:
>>>> 
>>>>> +1
>>>>> 
>>>>> The problem I have with mvnDebug on OSX cmd line seems to be there in 
>>>>> older 3.3.x versions already. So 3.3.3 is at least better than 3.3.2. We 
>>>>> should really fix this in the next version. But otherwise the release 
>>>>> looks good.
>>>>> 
>>>>> LieGrue,
>>>>> strub
>>>>> 
>>>>> 
>>>>>> Am 25.04.2015 um 23:45 schrieb Mark Derricutt <m...@talios.com 
>>>>>> (mailto:m...@talios.com)>:
>>>>>> 
>>>>>> On 26 Apr 2015, at 9:23, Jason van Zyl wrote:
>>>>>> 
>>>>>>> Great, thanks for testing Mirko.
>>>>>> 
>>>>>> Not seeing any binding votes?
>>>>>> 
>>>>>> --  
>>>>>> Mark Derricutt
>>>>>> http://www.theoryinpractice.net
>>>>>> http://www.chaliceofblood.net
>>>>>> http://plus.google.com/+MarkDerricutt
>>>>>> http://twitter.com/talios
>>>>>> http://facebook.com/mderricutt
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org 
>>>>> (mailto:dev-unsubscr...@maven.apache.org)
>>>>> For additional commands, e-mail: dev-h...@maven.apache.org 
>>>>> (mailto:dev-h...@maven.apache.org)
>>>>> 
>>>> 
>>>> 
>>>> Thanks,
>>>> 
>>>> Jason
>>>> 
>>>> ----------------------------------------------------------
>>>> Jason van Zyl
>>>> Founder, Takari and Apache Maven
>>>> http://twitter.com/jvanzyl
>>>> http://twitter.com/takari_io
>>>> ---------------------------------------------------------
>>>> 
>>>> We know what we are, but know not what we may be.
>>>> 
>>>> -- Shakespeare
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org 
>>>> (mailto:dev-unsubscr...@maven.apache.org)
>>>> For additional commands, e-mail: dev-h...@maven.apache.org 
>>>> (mailto:dev-h...@maven.apache.org)
>>>> 
>>>> 
>>> 
>>> 
>> 
>> Thanks,
>> 
>> Jason
>> 
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder, Takari and Apache Maven
>> http://twitter.com/jvanzyl
>> http://twitter.com/takari_io
>> ---------------------------------------------------------
>> 
>> Three people can keep a secret provided two of them are dead.
>> 
>> -- Benjamin Franklin
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder, Takari and Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

 -- The Seven Samuari, Akira Kurosawa













---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to