Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] fragment could not be found by tycho-surefire

Can you provide complete standalone example project that demonstrates
the problem?

--
Regards,
Igor

On 12-01-29 4:53 PM, Cristiano Gavião wrote:
Hi,

I need some help to resolve a problem in a test where I'm trying to
install a fragment needed for the test using tycho 0.14.

The problematic fragment is part of the reactor and is being built
properly:

[INFO] Reactor Summary:
[INFO]
[INFO] Parent POM ...................... SUCCESS [0.154s]
[INFO] Configuration Manager Service Wrapper Bundle SUCCESS [3.104s]
[INFO] com.c4biz.osgiutils.configuration.manager.test.conf SUCCESS
[1.448s]
[INFO] com.c4biz.osgiutils.tests ......................... FAILURE
[1.152s]
[INFO]
------------------------------------------------------------------------

but tycho could not found it:
[INFO]
{org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,
osgi.ws=cocoa, osgi.arch=x86_64, osgi.os=macosx,
org.eclipse.update.install.features=true,
org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR] You requested to install 'bundle
com.c4biz.osgiutils.configuration.manager.test.conf 0.0.0' but it
could not be found
[ERROR]
that is my tycho-surefire config:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<includes>
<include>**/*Test.class</include>
</includes>
<failIfNoTests>false</failIfNoTests>
<showEclipseLog>true</showEclipseLog>
<!-- <argLine>${ui.test.vmargs}</argLine> -->
<bundleStartLevel>
<bundle>
<id>org.eclipse.osgi</id>
<level>-1</level>
<autoStart>true</autoStart>
</bundle>
<bundle>
<id>org.eclipse.equinox.common</id>
<level>1</level>
<autoStart>true</autoStart>
</bundle>
<bundle>
<id>org.eclipse.equinox.ds</id>
<level>2</level>
<autoStart>true</autoStart>
</bundle>

</bundleStartLevel>

<dependencies>
<dependency>
<type>instalable-unit</type>
<artifactId>org.eclipse.osgi</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>instalable-unit</type>
<artifactId>org.eclipse.osgi.services</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>com.c4biz.osgiutils.configuration.manager.test.conf</artifactId>

<version>0.0.0</version>
</dependency>
</dependencies>
<useUIHarness>false</useUIHarness>
<useUIThread>false</useUIThread>
</configuration>
</plugin>

please, could someone give a tip what am I missing here?

thanks

Cristiano

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


Back to the top