Re: [osgi-dev] enRoute workspace debugging

2019-02-02 Thread Ferry Huberts via osgi-dev
You could try and turn off sources and see what happens.

-sources: false

I use
-sources: ${if;${gestalt;batch};false;true}
in my Gradle build, to have sources in the bundles when building in
bndtools, and no sources when building in gradle/jenkins


On 02/02/2019 14:57, Ferry Huberts via osgi-dev wrote:
> Maybe it is inconvenient, but I think that strictly speaking that is
> absolutely right, since those java files correspond to what is actually
> running.
> 
> On 02/02/2019 14:52, Thomas Driessen via osgi-dev wrote:
>> It seems those are the .java files within the OSGI-OPT folder of the
>> generated  bundle/.jar.
>> But I have no idea why Eclipse picks those up when it is debugging. 
>> I used the enroute archetypes and didn't change anything.
>> Maybe it's just a setting somewhere in Eclipse that has to be changed or
>> within the pom files, I don't know :(
>>
>> Am Sa., 2. Feb. 2019 um 03:55 Uhr schrieb Raymond Auge via osgi-dev
>> mailto:osgi-dev@mail.osgi.org>>:
>>
>> The bigger question is why I'm the world are there java files in
>> target? target is the build directory. We are there source files in
>> there?
>>
>> - Ray
>>
>> On Fri, Feb 1, 2019, 13:47 Paul F Fraser via osgi-dev
>> mailto:osgi-dev@mail.osgi.org> wrote:
>>
>> Thomas,
>> Thank goodness someone else has experienced this. I thought it
>> was my problem only.
>> I mentioned this on this list previously but so far no response.
>> Paul
>>
>>
>> On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote:
>>> Hi,
>>>
>>> now that I'm using the enroute maven workspace I stumbled upon
>>> another issue.
>>>
>>> When I'm debugging and a breakpoint is hit, then Eclipse does
>>> not open the respective .java file in my project,
>>> but the java file from the target folder. 
>>> Now each time I want to change breakpoints/code/etc. I have to
>>> go back to the workspace .java file.
>>> Is there a way to tell Eclipse to use the workspace .java file
>>> instead of the target folder .java file for debugging?
>>>
>>> Kind regards,
>>> Thomas
>>>
>>> ___
>>> OSGi Developer Mail List
>>> osgi-dev@mail.osgi.org 
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>>
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org 
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org 
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>>
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
> 

-- 
Ferry Huberts
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] enRoute workspace debugging

2019-02-02 Thread Ferry Huberts via osgi-dev
Maybe it is inconvenient, but I think that strictly speaking that is
absolutely right, since those java files correspond to what is actually
running.

On 02/02/2019 14:52, Thomas Driessen via osgi-dev wrote:
> It seems those are the .java files within the OSGI-OPT folder of the
> generated  bundle/.jar.
> But I have no idea why Eclipse picks those up when it is debugging. 
> I used the enroute archetypes and didn't change anything.
> Maybe it's just a setting somewhere in Eclipse that has to be changed or
> within the pom files, I don't know :(
> 
> Am Sa., 2. Feb. 2019 um 03:55 Uhr schrieb Raymond Auge via osgi-dev
> mailto:osgi-dev@mail.osgi.org>>:
> 
> The bigger question is why I'm the world are there java files in
> target? target is the build directory. We are there source files in
> there?
> 
> - Ray
> 
> On Fri, Feb 1, 2019, 13:47 Paul F Fraser via osgi-dev
> mailto:osgi-dev@mail.osgi.org> wrote:
> 
> Thomas,
> Thank goodness someone else has experienced this. I thought it
> was my problem only.
> I mentioned this on this list previously but so far no response.
> Paul
> 
> 
> On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote:
>> Hi,
>>
>> now that I'm using the enroute maven workspace I stumbled upon
>> another issue.
>>
>> When I'm debugging and a breakpoint is hit, then Eclipse does
>> not open the respective .java file in my project,
>> but the java file from the target folder. 
>> Now each time I want to change breakpoints/code/etc. I have to
>> go back to the workspace .java file.
>> Is there a way to tell Eclipse to use the workspace .java file
>> instead of the target folder .java file for debugging?
>>
>> Kind regards,
>> Thomas
>>
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org 
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> 
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org 
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org 
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> 
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 

-- 
Ferry Huberts
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] enRoute workspace debugging

2019-02-02 Thread Thomas Driessen via osgi-dev
It seems those are the .java files within the OSGI-OPT folder of the
generated  bundle/.jar.
But I have no idea why Eclipse picks those up when it is debugging.
I used the enroute archetypes and didn't change anything.
Maybe it's just a setting somewhere in Eclipse that has to be changed or
within the pom files, I don't know :(

Am Sa., 2. Feb. 2019 um 03:55 Uhr schrieb Raymond Auge via osgi-dev <
osgi-dev@mail.osgi.org>:

> The bigger question is why I'm the world are there java files in target?
> target is the build directory. We are there source files in there?
>
> - Ray
>
> On Fri, Feb 1, 2019, 13:47 Paul F Fraser via osgi-dev <
> osgi-dev@mail.osgi.org wrote:
>
>> Thomas,
>> Thank goodness someone else has experienced this. I thought it was my
>> problem only.
>> I mentioned this on this list previously but so far no response.
>> Paul
>>
>>
>> On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote:
>>
>> Hi,
>>
>> now that I'm using the enroute maven workspace I stumbled upon another
>> issue.
>>
>> When I'm debugging and a breakpoint is hit, then Eclipse does not open
>> the respective .java file in my project,
>> but the java file from the target folder.
>> Now each time I want to change breakpoints/code/etc. I have to go back to
>> the workspace .java file.
>> Is there a way to tell Eclipse to use the workspace .java file instead of
>> the target folder .java file for debugging?
>>
>> Kind regards,
>> Thomas
>>
>> ___
>> OSGi Developer Mail 
>> listosgi-...@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>>
>> ___
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] enRoute workspace debugging

2019-02-01 Thread Raymond Auge via osgi-dev
The bigger question is why I'm the world are there java files in target?
target is the build directory. We are there source files in there?

- Ray

On Fri, Feb 1, 2019, 13:47 Paul F Fraser via osgi-dev <
osgi-dev@mail.osgi.org wrote:

> Thomas,
> Thank goodness someone else has experienced this. I thought it was my
> problem only.
> I mentioned this on this list previously but so far no response.
> Paul
>
>
> On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote:
>
> Hi,
>
> now that I'm using the enroute maven workspace I stumbled upon another
> issue.
>
> When I'm debugging and a breakpoint is hit, then Eclipse does not open the
> respective .java file in my project,
> but the java file from the target folder.
> Now each time I want to change breakpoints/code/etc. I have to go back to
> the workspace .java file.
> Is there a way to tell Eclipse to use the workspace .java file instead of
> the target folder .java file for debugging?
>
> Kind regards,
> Thomas
>
> ___
> OSGi Developer Mail 
> listosgi-...@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] enRoute workspace debugging

2019-02-01 Thread Paul F Fraser via osgi-dev

Thomas,
Thank goodness someone else has experienced this. I thought it was my problem 
only.
I mentioned this on this list previously but so far no response.
Paul


On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote:

Hi,

now that I'm using the enroute maven workspace I stumbled upon another issue.

When I'm debugging and a breakpoint is hit, then Eclipse does not open the respective .java file 
in my project,

but the java file from the target folder.
Now each time I want to change breakpoints/code/etc. I have to go back to the 
workspace .java file.
Is there a way to tell Eclipse to use the workspace .java file instead of the target folder .java 
file for debugging?


Kind regards,
Thomas

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev



___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] enRoute workspace debugging

2019-02-01 Thread Thomas Driessen via osgi-dev

Hi,

now that I'm using the enroute maven workspace I stumbled upon another 
issue.


When I'm debugging and a breakpoint is hit, then Eclipse does not open 
the respective .java file in my project,

but the java file from the target folder.
Now each time I want to change breakpoints/code/etc. I have to go back 
to the workspace .java file.
Is there a way to tell Eclipse to use the workspace .java file instead 
of the target folder .java file for debugging?


Kind regards,
Thomas___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev