[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Root files support fails in Tycho 0.13
|
did you try the working demo example with root files [1] ?
Jan
[1] http://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jay Jay Billings
Sent: Donnerstag, 5. April 2012 16:51
To: Tycho user list
Subject: Re: [tycho-user] Root files support fails in Tycho 0.13
Everyone,
Any thoughts on this? I'd like to exhaust the wisdom on the list before posting a bug. I've tried just about everything in my pom files, but still no luck. The build works perfect for everything be installing the root files.
Here's the content of my repository and feature poms as well as the "feature" block from my feature.xml in case any of you see something that I'm missing. (I've omitted the rest of feature.xml because it's about 700 lines.)
Thanks again,
Jay
feature pom:
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<name>NiCE Feature</name>
<artifactId>gov.ornl.nice.feature</artifactId>
<version>2.0.0</version>
<packaging>eclipse-feature</packaging>
<parent>
<groupId>NiCE</groupId>
<artifactId>gov.ornl.nice.build</artifactId>
<version>2.0.0</version>
</parent>
</project>
repository pom:
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>NiCE</groupId>
<artifactId>gov.ornl.nice.build</artifactId>
<version>2.0.0</version>
</parent>
<name>NiCE Infrastructure Product</name>
<artifactId>gov.ornl.nice.repository</artifactId>
<version>2.0.0</version>
<packaging>eclipse-repository</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<!-- (optional) install the product for all configured os/ws/arch environments
using p2 director -->
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<!-- (optional) create product zips (one per os/ws/arch) -->
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
<!-- (optional) customize the root folder name of the product zip -->
<configuration>
<products>
<product>
<id>nice.product</id>
<rootFolder>NiCE</rootFolder>
</product>
</products>
</configuration>
</plugin>
</plugins>
</build>
</project>
feature.xml's feature block
<feature
id="gov.ornl.nice.feature"
label="NiCE Infrastructure Feature"
version="2.0.0"
provider-name="ornl.gov"
os="linux,macosx,win32"
ws="cocoa,gtk,win32"
nl="en"
arch="x86,x86_64">
On Wed, Apr 4, 2012 at 12:18 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
Everyone,
I'm trying to add some root files to my feature's build.properties file so that they will appear in the root directory of my final product. I've followed the example build.properties at http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/example-feature/build.properties but I'm not having any luck. My build.properties currently contains:
bin.includes = feature.xml
root = file:test.txt
My feature id and my artifact id are both gov.ornl.nice.feature and both files have the same version number.
It appears that a zip of the root files is created and installed in my local repository:
Installing /home/bkj/research/NiCE/NiCEWorkspace/gov.ornl.nice.feature/target/gov.ornl.nice.feature_root-2.0.0-root.zip to /home/bkj/.m2/repository/NiCE/gov.ornl.nice.feature/2.0.0/gov.ornl.nice.feature-2.0.0-root.zip
I have checked and verified that the archive contains test.txt.
Any thoughts on how to fix this?
Thanks in advance!
Jay