Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] What packaging to use for a myapp.target project?

This article outlines setting up a target platform using a separate
project:
 http://www.modumind.com/2012/10/23/rcp-best-practices-set-up-a-target-platform/

However it doesn't actually give a POM example for the project, the
article says:
  "So the first step is to create a project called something like
   com.mycompany.myapp.target. This can be just a simple project, not a
   Java or Plugin project."

Unfortunately the article doesn't say what it means by "a simple
project"... does the article mean a project with pom packaging?  Or does
it mean something else?

And is the approach outlined by the article (a separate myapp.target
project matching the myapp.core, myapp.test etc. projects) still the way
to do this?

I have a set of projects created by tycho-eclipse-plugin-archetype, ie.
 myapp
 myapp.core
 myapp.feature
 myapp.site
 myapp.test

Should defining the target platform instead rather be in one of these?

This web page outlines many ways of defining the target platform, but
none mention creating a separate target project:
 http://wiki.eclipse.org/Tycho/Target_Platform

Unfortunately the documentation above isn't clear on in _which_ POM the
target definition should reside in, except for the OSGi dependencies
 http://wiki.eclipse.org/Tycho/Target_Platform#.22POM_dependencies_consider.22
which should be defined in the parent POM, ie.
 myapp/pom.xml
in my example.

I guess the parent POM is the one that makes sense to put things in...?

Or should there be a separate myapp.target project, with a
yet-to-be-determined packaging, like the first article says...?

Thanks!


- Steinar



Back to the top