Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Plugin project not appearing in console


David,

I'm glad your running again.  I was trying to reproduce your problem on Linux and Windows, but was not able to.  Do you happen to have the original project that was causing the issue?  When you rebuilt the project did you use an '_' in the project name again?  I still suggest you open a bug report against PDE-UI to record the strange behavior.  Maybe others have seen it or will have a reproducible scenario so we can track down the issue.

Thanks.

Tom





David Leangen <osgi@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

05/07/2007 08:11 PM

Please respond to
osgi@xxxxxxxxxxx; Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Alex Blewitt <alex.blewitt@xxxxxxxxx>
cc
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Subject
Re: [equinox-dev] Plugin project not appearing in console






I truly appreciate your help, but I've given up. What you suggested
below did not solve the problem.

So, I just completely rebuilt the project again, but without using any
copy/paste.

Maybe there was some kind of encoding problem which got replicated the
other times I rebuilt the project??


Anyway, after several attempts, I was finally able to get going again.


Wish I knew what the problem was, though... :-/


Thanks again!
Dave




On Mon, 2007-05-07 at 10:54 +0100, Alex Blewitt wrote:
> Ah right, that's possibly a bug in PDE. It uses the delimiter _ to
> separate out the version number from the bundle name. There were
> similar problems in the 3.2.1 timeframe when the OSGi had _R32x in the
> name and caused all sorts of joy with similar code in WebStart IIRC.
>
> My guess is that if you rename it to be something other than kf_junit,
> such as kfjunit, then you won't see this issue.
>
> Can you report this as a bug at http://bugs.eclipse.org? Sounds like
> it should be easy to reproduce. Also worth noting which OS it
> does/doesn't work on.
>
> Alex.
>
> On 07/05/07, David Leangen <osgi@xxxxxxxxxxx> wrote:
> >
> > You're right, I forgot to mention which bundle...
> >
> > It's the kf_junit bundle that's missing.
> >
> > As you pointed out, when I install it manually, it because bundle #max
> > +1. However, even though it is in the launch configuration, it is not
> > being installed. It should be bundle #1, but when I "ss", there is no
> > bundle #1 in the list, not even as RESOLVED.
> >
> >
> > Cheers,
> > David
> >
> >
> >
> >
> > On Mon, 2007-05-07 at 09:10 +0100, Alex Blewitt wrote:
> > > Which bundle is missing? You never mentioned, other than it was the
> > > one with ID #1. As bundles get uninstalled and then installed with a
> > > new version, the ID is given (max+1). The only time they're reused is
> > > if they have the same locationURL.
> > >
> > > Alex.
> > >
> > > On 07/05/07, David Leangen <osgi@xxxxxxxxxxx> wrote:
> > > >
> > > > Thanks for this. My reply inline below.
> > > >
> > > > On Mon, 2007-05-07 at 08:36 +0100, Alex Blewitt wrote:
> > > > > Possibly a problem with your launch configuration that you're using.
> > > > > When you look at that, what bundles are selected for running?
> > > >
> > > > I doubt it. I've tried rebuilding the launch file (as well as all the
> > > > projects) from scratch. I pasted the contents of the file below.
> > > >
> > > >
> > > > > You can launch it with -clean on the runtime PDE instance (there's an
> > > > > option on the launch config, via Run->Run...) and check to  make sure
> > > > > you're including it e.g. via the bundles.
> > > >
> > > > Yup, did all that.
> > > >
> > > >
> > > > > It would be interesting to know what the launch config looks like,
> > > > > such as whether your config points to this bundle as a kind of Windows
> > > > > URL which therefore doesn't resolve on a Linux box. If it's a project
> > > > > in your workspace, this shouldn't be an issue (but might be).
> > > >
> > > > Thanks, Alex.
> > > >
> > > > Here are the contents of the launch file:
> > > >
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <launchConfiguration type="org.eclipse.pde.ui.EquinoxLauncher">
> > > > <intAttribute key="default_start_level" value="4"/>
> > > > <stringAttribute key="bootstrap" value=""/>
> > > > <booleanAttribute key="tracing" value="false"/>
> > > > <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
> > > > value="-console"/>
> > > > <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"
> > > > value="-Dorg.osgi.service.http.port=8080
> > > > -Dbundles.configuration.location=
> > > > ${workspace_loc:/lsd-autocomplete/configurations} -Xmx512m"/>
> > > > <booleanAttribute key="clearConfig" value="true"/>
> > > > <booleanAttribute key="automaticValidate" value="false"/>
> > > > <booleanAttribute
> > > > key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
> > > > <booleanAttribute key="useDefaultConfigArea" value="true"/>
> > > > <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER"
> > > > value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
> > > > <stringAttribute key="target_bundles"
> > > > value="org.eclipse.equinox.servlet.api@default:default,org.eclipse.osgi@:,org.eclipse.osgi.services@default:default,org.junit@default:default,org.junit4@default:default,org.ungoverned.osgi.bundle.http@default:default"/>
> > > > <stringAttribute key="workspace_bundles"
> > > > value="json@default:default,kf_junit@default:default,org.ops4j.pax.logging.api@default:default,org.ops4j.pax.logging.jcl@default:default,org.ops4j.pax.logging.log4j@default:default,org.ops4j.pax.logging.service@default:default,org.ops4j.pax.wicket.service@default:default"/>
> > > > <booleanAttribute key="automaticAdd" value="false"/>
> > > > <booleanAttribute key="default_auto_start" value="true"/>
> > > > <stringAttribute key="checked" value="[NONE]"/>
> > > > <booleanAttribute key="includeOptional" value="true"/>
> > > > <stringAttribute key="configLocation" value=""/>
> > > > </launchConfiguration>
> > > >
> > > >
> > > >
> >
> >

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top