JB,

> OK, then, it’s "normal", as bin/inc is provisioned by karaf base Kar/feature 
> (https://github.com/apache/karaf/tree/master/assemblies/features/base 
> <https://github.com/apache/karaf/tree/master/assemblies/features/base>).
Yes, I am aware of that.

> So, if you want to change bin/inc, you have to create your own base 
> containing bin/inc updated.
Maybe we should define an additional run option, something like ‘bin/karaf 
debug-remote’. Just saying :-)


Cheers,

Erwin

> 
> Regards
> JB
> 
>> Le 26 janv. 2021 à 14:45, Erwin Hogeweg <[email protected] 
>> <mailto:[email protected]>> a écrit :
>> 
>> Yes, that is correct.
>> 
>> Erwin
>> 
>> 
>>> On Jan 25, 2021, at 23:51, Jean-Baptiste Onofre <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Hi Erwin,
>>> 
>>> The new assembly is "constructed" with the Karaf-maven-plugin ?
>>> 
>>> Regards
>>> JB
>>> 
>>>> Le 26 janv. 2021 à 02:23, Erwin Hogeweg <[email protected] 
>>>> <mailto:[email protected]>> a écrit :
>>>> 
>>>> Hi,
>>>> 
>>>> What is the preferred/recommended way to open 5005 for remote connections 
>>>> under J11?
>>>> 
>>>> Right now I hacked these two lines in …/bin/inc but those are gone every 
>>>> time I build a new assembly.
>>>> 
>>>>    
>>>> DEFAULT_JAVA_DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:${JAVA_DEBUG_PORT}"
>>>>   
>>>> DEFAULT_JAVA_DEBUGS_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:${JAVA_DEBUG_PORT}"
>>>> 
>>>> Plse advice.
>>>> 
>>>> 
>>>> Kind Regards,
>>>> 
>>>> Erwin
>>> 
>> 
> 

Reply via email to