Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho is taking the wrong POM-FIRST source jar.

I've improved the ITP02 demo project. I've added two features (core and source) and one P2 project.

You can see that the P2 is being generated without error, but there, the source bundle has the same size than binary one.

I'm sending it as attachment.

And please, could someone of tycho team tell me if this issue is related to those:

[1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=361149
[2] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=368596

regards,

Cristiano


On 28/02/12 12:28, Cristiano Gavião wrote:
Hi,

I've included source feature in my P2 and I observe a strange behavior.

In my local repository I have this bundles created in a pom-first reactor, using maven-source-plugin and maven-bundle-plugin (attention to the size):

org.jbehave.osgi.web-0.0.3-SNAPSHOT.jar - 11 MB on disk
org.jbehave.osgi.web-0.0.3-SNAPSHOT-sources.jar - 4 KB on disk (1.610 bytes)


In the source feature project , in feature.xml I've added this:

<plugin
         id="org.jbehave.osgi.web.source"
         download-size="1"
         install-size="2"
         version="0.0.3.qualifier"
         unpack="false"/>


In the source feature project pom I've added this dependency:

<dependency>
<groupId>org.jbehave.osgi</groupId>
<artifactId>org.jbehave.osgi.web</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
</dependency>


The build occurs without any errors, but when I was use the generated p2 I noted the time that it was taking to get the source and investigating I found the size was identical in both files. This is the files in P2:


org.jbehave.osgi.web_0.0.3.qualifier.jar - 11 MB on disk (10.967.778 bytes) org.jbehave.osgi.web.source_0.0.3.qualifier.jar - 11 MB on disk (10.967.778 bytes)


It is a know issue or am I forgetting something here ?

regards,

Cristiano


Attachment: itp02.zip
Description: Zip archive


Back to the top