Building a product (a branded Eclipse application, or one that is launched from eclipse -application
from the command line) can also be built with Tycho using the eclipse-repository
packaging type. To do this, the app project needs to be built with Tycho and made available in the feature, and a new project for the product needs to be created.
Move the
com.packtpub.e4.application
project under thecom.packtpub.e4.parent
project.Add the line
<module>com.packtpub.e4.application</module>
to the parentpom.xml
file.Copy the
pom.xml
file from the clock plug-in to the application project.Change the
artifactId
tocom.packtpub.e4.application
.The resulting
pom.xml
file will look like:<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion...