Looked for this in the forum and documentation, could not see an answer
to this. I start with a new empty OSGi style Debug config. I add my main
bundle and click "Add required plugins" then "Validate plugins". Then I
run it with the std args provided by the New command for a OSGi debug
It tries to run my bundle and then outputs about 200 of these, 1 for
each project in my workspace.
>FULL BUILD STATS for: DbUnit
> compiled 76962 lines in 3260ms:23607.9lines/s
> parse: 826 ms (25.3%), resolve: 1807 ms (55.4%), analyze: 0 ms
(0.0%), generate: 273 ms (8.3%)
I cannot see where OSGi is configured to build everything in sight each
time I start it. Where is this, or how can I stop it.
On 19/07/11 16:20, Gunnar Wagenknecht wrote:
> Hi David,
> Am 19.07.2011 16:07, schrieb David Wynter:
>> I cannot see where OSGi is configured to build everything in sight each
>> time I start it. Where is this, or how can I stop it.
> There is a global preference option for this.
> Window -> Preferences -> Run/Debug -> Launching
Yes, thanks for that. It is not the problem. By default it appears that
the OSGi debug New command uses the users home directory as a default
working directory. Then somehow it finds my workspace directly under
that and then compiles all projects in that workspace due to the option
you pointed out.
What you actually need to do is set the working directory to a directory
somewhere where there are no projects other than the bundle you want to
run. In my case I have a sub directory of that - ./etc and in there I
have my jetty,xml and realms.properties.
The documentation needs to explain this somewhere...