Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho 0.14 SNAPSHOT builds

I am not sure I understand the problem. I am quite certain Tycho
0.14.0-SNAPSHOT works with file:// p2 repositories. If it does not work
for you, I'd double check there is actually existing repository at the
location specified in your pom. Do note that Tycho expects repository to
exist before the build has started and will fail the build otherwise (I
believe 0.13 and earlier silently ignored missing repositories).

As for resolving test dependencies. If the tests are part of the same
reactor build as the rest of the code, then Tycho will be able to
resolve test dependencies without separate <repository> the for main
bundles. If tests are run separately, then you do need <repository> for
the main bundles, but you almost certainly want to use http/https URL so
tests can actually be run independently.

--
Regards,
Igor

On 11-12-18 12:10 PM, Marc-Andre Laperle wrote:
Hi Igor,

Any idea when the 0.14 will be released?

A problem I encountered when using 0.14 to build CDT is that it can't
find the repository specified in org.eclipse.cdt.core.tests

<repositories>
<repository>
<id>cdt.repo</id>
<url>file:/${basedir}/../../releng/org.eclipse.cdt.repo/target/repository</url>

<layout>p2</layout>
</repository>
</repositories>

I *think* this was trying to make sure that the plugins that were just
built are actually the one that will be tested. Would that make sense?
 From what I tested, this is not necessary anymore; Tycho pickups up the
plugins that were just built when running the tests. So, with the lines
commented out, the build goes smoothly. I just want to make sure that
this change in behavior was intentional and not a bug.

Marc-Andre

On 12/6/2011 6:35 PM, Igor Fedorenko wrote:
As the list of issues addressed and new features implemented in Tycho
0.14 is growing longer [1], I believe it is very important to get
feedback (positive and otherwise) from Tycho user and development
community.

While we are still working on setting up permanent home for Tycho
artifacts [2], I've re-enabled deployment of Tycho snapshot builds to
our old location at repository.sonatype.org.

To try the most recent snapshot build, simply add the following snippet
to your (parent) pom.xml and set tycho version to 0.14.0-SNAPSHOT.

<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>

<url>https://repository.sonatype.org/content/repositories/snapshots/</url>

</pluginRepository>
</pluginRepositories>


And don't forget to let us know how the new version works for your
projects!

[1]
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;classification=Technology;product=Tycho;target_milestone=0.14.0

[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=360628


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


Back to the top