[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] Re: p2.inf startLevel directive not working
- From: "Andrew Eisenberg" <andrew@xxxxxxxxxxxx>
- Date: Wed, 29 Oct 2008 21:13:22 -0700
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=qTb/uEVPIU5UZPVnpoKApvVmCkfcqQkG/C9Jj2xdStZNCNH92DtmSao9sBefYVLrNv rZix7hmE9W6Ty1J91k4lLnACX94DFmW/ed5wbJaMYUbfZ1zgwdFHKcnaFfPa4gU807SV x5KYEOWy0YZoDyGjuTMBZkYvgXmoZUkFVqD/A=
Apologies for resending this message, but I do hope to get a response
on this before it drops too far down the list.
If you think this is a bug, then I can raise it on bugzilla.
On Tue, Oct 28, 2008 at 3:58 PM, Andrew Eisenberg <andrew@xxxxxxxxxxxx> wrote:
> Hi all,
> I have an update site to install a version of AJDT located at
> This update site includes the bundle
> org.eclipse.equinox.weaving.aspectj. This bundle has a p2.inf file
> with the following contents:
> instructions.configure = \
> setStartLevel(startLevel:2); \
> markStarted(started: true); \
> propValue:org.eclipse.equinox.weaving.hook); \
> propValue:true); \
> setProgramProperty(propName:org.aspectj.osgi.verbose, propValue:true); \
> setProgramProperty(propName:aj.weaving.verbose, propValue:true);
> instructions.unconfigure = \
> setProgramProperty(propName:osgi.framework.extensions, propValue:); \
> setProgramProperty(propName:org.aspectj.weaver.showWeaveInfo, propValue:); \
> setProgramProperty(propName:org.aspectj.osgi.verbose, propValue:); \
> setProgramProperty(propName:aj.weaving.verbose, propValue:);
> I generate the p2 repository and put it on the download servers.
> Anyone can install AJDT from here.
> So far, so good.
> The problem comes after installing and trying to run eclipse again.
> Eclipse has an error on startup, which is logged in a log file that I
> am attaching. Note that eclipse will not startup at all. The splash
> page appears for half a second, then the error is thrown and the
> process exits.
> After fiddling around for a bit, I was able to get eclipse started
> with no errors. Here is what I had to do:
> 1. in configuration/config.ini, there was an entry
> in the osgi.bundles directive. I had to remove that entry.
> (note that the config.ini correctly has all of the appropriate program
> properties set)
> 2. in the configuration/org.eclipse.equinox.simpleconfigurator/bindles.info
> file, I had to change one line from:
> So, that's my setup and how to get around the problem. Here are my questions:
> 1. why is the weaving hook bundle fragment added to the config.ini file?
> 2. why is org.eclipse.equinox.weaving.aspectj not set to start level 1
> even when I explicitly set it in the p2.inf file for that bundle?
> I appreciate any help with this problem.