Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Issue when trying to include fragments to tests

Hi,

I'm trying to include these two additional fragments to the test runtime :
  • org.eclipse.core.resources.win32.x86
  • org.eclipse.core.filesystem.win32.x86
Based on this page: https://docs.sonatype.org/display/TYCHO/PackagingTypes

I tried to add dependency tag in <plugin><configuration> for maven-osgi-test-plugin :
  • add: 
    <dependency>
       <type>p2-installable-unit</type>
       <artifactId>org.eclipse.platform</artifactId>
    </dependency>
  • or add:
    <dependency>
    <type>eclipse-fragment</type>
            <artifactId>org.eclipse.core.resources.win32.x86</artifactId>
      </dependency>
  • or add:
    <dependency>
    <type>eclipse-plugin</type>
            <artifactId>org.eclipse.core.resources.win32.x86</artifactId>
      </dependency>
Unfortunately it seems that none of these methods works for me.

For the two first tries, in target/work/configuration/config.ini there are no trace of the fragments.
For the last one, it throws an error "bundle org.eclipse.core.resources.win32.x86 0.0.0' but it could not be found"

Can someone guide me on what I need to do and tell me what I am doing wrong?

Thanks for any hints

regards,


--

Aurelien Pupier
R&D Engineer, BOS Studio Developer
Beijing QA Team Project Leader

BonitaSoft - Open your processes
email : aurelien.pupier@xxxxxxxxxxxxxx

This message and any attachment (the "message") is intended solely for the addressees and is confidential. If you receive this message by mistake, please delete it and notify the sender immediately. Any use not in accordance with its purpose, any out-spread or disclosure, either as a whole or partially, is prohibited except with formal approval. Internet cannot guarantee the integrity of this message, therefore BonitaSoft will not be liable for the message if modified.


Back to the top