[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] resolving partially

That sounds exactly like what I need. I'll give it a try.

Thanks!

On Mon, Jul 14, 2008 at 4:28 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
> No, but there is a platform property you can set on the State object to put
> the resolver in "development" mode. Using the platform property
> osgi.resolverMode=development will allow bundle constraints (Import-Package,
> Require-Bundle etc.) to resolve to bundles in the state which are not
> resolved because of missing constraints. This is what PDE uses to resolve
> the PDE classpath container within the workspace.
>
> HashMap platformProps = new HashMap();
> platformProps.put("osgi.resolverMode", "development");
> // add other platform props here
> State state = getState();
> state.setPlatformProperties(platformProps);
>
> Tom
>
>
>
> "Tom Huybrechts" ---07/10/2008 08:09:25 AM---Hi, I'm using the Equinox
> resolver in tooling (Maven) to build a classpath
>
>
> From:
> "Tom Huybrechts" <tom.huybrechts@xxxxxxxxx>
> To:
> "Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
> Date:
> 07/10/2008 08:09 AM
> Subject:
> [equinox-dev] resolving partially
> ________________________________
>
>
> Hi,
>
> I'm using the Equinox resolver in tooling (Maven) to build a classpath
> for the JDT compiler.
> This requires me to have all the transitive dependencies of the
> plugins I'm building, and I'd like to avoid this.
> Is it possible to mark certain bundles as resolved before resolving,
> even if their dependencies are not present ?
>
> Tom
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>