Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Representing Virgo Tomcat Server as a local p2 repository

The Virgo installation isn't a p2 repo, so I'm not surprised this approach doesn't work.  I haven't been able to make it work with a target file either.  From Eclipse I'm defining the target as an "Installation".  However, the Tycho docs state the location types "Directory", "Installation", and "Features" are not supported.

Is there any way I can point at a local Virgo installation and have it work for Tycho and from within Eclipse?

Thanks,
Cameron.

Sent from my iPhone

On 2012-06-16, at 9:34 AM, "Cristiano Gavião" <cvgaviao@xxxxxxxxx> wrote:

Hi,

A target platform definition file can point to directories containing plugins and features that no necessarily is a P2 repo...

What I know is that tycho can't work with directories/folders, only with P2 repo containing its proper metadata.

Are you sure that this file:///C:/Virgo/virgo-tomcat-server-3.5.0.M04 is a p2 repo ?

regards,

Cristiano

On 16/06/12 10:11, Cameron Ross wrote:

Hi,


I have a target platform defined within Eclipse to point at a local installation of Virgo Tomcat Server and everything works fine.  However, when I try to define my Virgo target as a p2 repository within my pom I get  “org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/C:/Virgo/virgo-tomcat-server-3.5.0.M04” :

 

<repository>                                     

    <id>virgo</id>                                 

    <layout>p2</layout>

    <url>file:///C:/Virgo/virgo-tomcat-server-3.5.0.M04</url>

</repository>

 

How should I point maven at my Virgo target?


Cameron.


Sent from my iPhone


_______________________________________________
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