Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

[R7] Simple way of including specific R7 packages #4

Open
dleangen opened this issue Aug 14, 2018 · 7 comments
Open

[R7] Simple way of including specific R7 packages #4

dleangen opened this issue Aug 14, 2018 · 7 comments

Comments

@dleangen
Copy link
Contributor

Hi Peter,

Is there a way to include a specific R7 package in my enRoute workspace?

The reason I ask is: I have considered attempting to update to R7 in enRouteV2, but each time I open it up, it ends up turning into something pretty big.

I just want to be able to use a few packages (like R7 Promises, Converter...) without having to undertake a multi-day job.

Blacklisting is for bundles, not packages. I don't want to blacklist the entire enRoute base API. I just want to use specific packages from R7.

Is that possible? Or am I asking for trouble?

Cheers,
=David

@dleangen
Copy link
Contributor Author

Just for info, I tried playing around with Import-Package:

Import-Package: \
	!org.osgi.util.function;version=1.0,\
	org.osgi.util.function;version=1.1,\
	!org.osgi.util.promise;version=1.0,\
	org.osgi.util.promise;version=1.1,\
	*

Sadly, that did not work. Eclipse still references the 1.0 version of the package.

@pkriens
Copy link
Member

pkriens commented Aug 14, 2018 via email

@dleangen
Copy link
Contributor Author

dleangen commented Aug 14, 2018 via email

@pkriens
Copy link
Member

pkriens commented Aug 15, 2018 via email

@dleangen
Copy link
Contributor Author

Thanks for the hints Peter.

I'll try to take another look soon to see if I can figure out how that works. Right now I'm caught up in a few urgent tasks.

Cheers,
=David

@dleangen
Copy link
Contributor Author

Hi @pkriens,

I spent a few more unproductive hours trying to figure out the magic that makes this work, but was unsuccessful. If I can see even one successful example by you I'm sure I could figure it out, and could help include some other R7 packages. :-)

Cheers,
=David

@pkriens
Copy link
Member

pkriens commented Aug 24, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants