Closed dwoodard1 closed 10 months ago
@dwoodard1 @MMaiero @ctron Kura examples (or apps) only depend on the Kura API. There is no need to release the examples with every Kura release but only when we break the API. On the other hand if we move the apps to a separate repository then you would need a separate Oomph installer for apps development. Any comments?
Having such an installer would make sense to me. On the other hand if we would have support for Maven central we could easily go with a plain Maven build and simplify things a lot. E.g. using the maven-bundle-plugin
.
@ctron @dwoodard1 @MMaiero
Let's start with making examples/
a standalone project (without a parent pom) and let's try to build it against the p2 repo created by the org.eclipse.kura-p2
project via the Tycho target-platform-configuration
plugin.
Then, once we have proper p2 sites for Kura and it's target platform, we can consider moving examples to its own repo.
Note: the examples repo would then become the User workspace as it would be possible to have a self-contained Tycho build and all the required bundles to run an emulator in the Eclipse IDE.
+1 Do you want to assign this to me since I have already been looking into this? Just to make sure we aren't duplicating work.
@dwoodard1 I've started implementing that in #1439. Maybe we can take it as a starting point, if it is ok for you.
@MMaiero Sounds good. One question, how are we going to handle the develop branch of the examples? Are we going to push the develop/snapshot P2 repo to a public server?
One question, how are we going to handle the develop branch of the examples? Are we going to push the develop/snapshot P2 repo to a public server?
This is really a good question.
I believe we all agree that it should be possible to build the examples locally without having the Kura p2 site(s) hosted somewhere. This is a must for the Kura developer who needs to test locally first.
For CI (Hudson/Jenkins/Travis) I believe we need to be able to configure the examples build against:
and in both cases we need the Kura p2 sites (release and snapshot) deployed somewhere.
The Nexus Unzip Plugin could help [1], [2] but I doubt it's available from Eclipse or OSSRH.
Maybe we should explore what Eclipse itself does for the IDE?
[1] https://wiki.eclipse.org/Tycho/Nexus_Unzip_Plugin [2] http://www.vogella.com/tutorials/Nexus/article.html#p2-nexus-plugins
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Update poms for application projects to use archetype.