Installing local Bndtools build into Eclipse

5 views
Skip to first unread message

Fr Jeremy Krieg (Home)

unread,
Jul 25, 2019, 9:31:04 AM7/25/19
to bndtoo...@googlegroups.com
Hi all, p

I pray that you are well.

Quick question: having built Bndtools locally, how do I install that version into my Eclipse installation?

It seems that the P2 repo is nearly all there in org.bndtools.p2/generated - The features and plugins directories are there and populated, but it's missing the two index files in the root directory. When I set up a local update site in Eclipse to point at this dir it doesn't find any content.

I have removed org.bndtools.p2/generated and rebuilt using various Gradle commands, all for the same result.

Thoughts?

Blessings,
Fr Jeremy Krieg

BJ Hargrave

unread,
Jul 25, 2019, 11:16:04 AM7/25/19
to bndtoo...@googlegroups.com
org.bndtools.p2/generated/p2 holds a complete p2 repo (as built by the gradle build). Add a file: URL for that folder to your eclipse update sites and then you can update from it. 


--
You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bndtools-dev/CAO6F8Ywx7qxR0Se-kCk4pLyGBLfeU4qQ62kAk4x4XJpMyv0e0Q%40mail.gmail.com.
--

BJ

Fr Jeremy Krieg (Home)

unread,
Jul 25, 2019, 11:40:38 AM7/25/19
to bndtoo...@googlegroups.com
Thanks BJ. Under my org.bndtools.p2/generated directory, I have a features directory and a plugins directory, but no p2 directory. What build step am I missing? I've tried the following tasks with gradlew:
<default>
p2
:org.bndtools.p2:p2
:dist:releaseNeeded

What am I missing?

Blessings,
Fr Jeremy


BJ Hargrave

unread,
Jul 25, 2019, 11:43:21 AM7/25/19
to bndtoo...@googlegroups.com

Fr Jeremy Krieg (Home)

unread,
Jul 25, 2019, 5:15:46 PM7/25/19
to bndtoo...@googlegroups.com
No, I was using jdk 9. Under JDK 8, some other part of the build seems to fail on my machine. I'll try again, thanks for the pointer!

Fr Jeremy Krieg (Home)

unread,
Jul 26, 2019, 12:24:55 AM7/26/19
to bndtoo...@googlegroups.com
For the record, I hadn't set JAVA_HOME and it was using an old (the original?) jdk1.8.0. When I updated it to jdk1.8.0_171, it all worked fine.

Thanks for your help!

Blessings,
Fr Jeremy
Reply all
Reply to author
Forward
0 new messages