Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Target definition entry to local p2 repository

Zitat von Oliver Pfau <Oliver.Pfau@xxxxxxxxxxxx>:

No success. Tycho fails to resolve the dependencies from the local p2 repository. Probably I have to define a category in the local p2 repository. I try this.

No, Tycho ignores categories and features; you can only compile against bundles.

Are you sure the local repo is valid (artifact and content files are valid, correct, and up-to-date)?

FWIW, I use this in my POM:

    <repository>
        <id>indigo</id>
        <layout>p2</layout>
        <url>file:${user.home}/p2-repo</url>
    </repository>

and this works.

Regards,

-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Aaron Digulla
Gesendet: Dienstag, 6. Dezember 2011 15:02
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Target definition entry to local p2 repository

Zitat von Oliver Pfau <Oliver.Pfau@xxxxxxxxxxxx>:

Hi,

I have a custom and local p2 repository. If I add the repository to
the target definition file in eclipse location type="Directory" I
can build in eclipse.
Tycho logs a warning that location type="Directory" is not
supported. Is it possible to add the local p2 repository to the
target definition to get it work in eclipse and tycho?
I tried <repository location="file:///D:/p2testrepo"/> without
success in tycho and eclpse

Try "file:/D:/..."

Regards,

--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                   http://blog.pdark.de/
_______________________________________________
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





--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                   http://blog.pdark.de/


Back to the top