Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho 0.11.0 always downloading content.xml and artifacts.xml from local p2 helios mirror

Don't use -Dtycho.targetPlatform=. It is deprecated and will be removed
as soon as we find time to do this.

--
Regards,
Igor

On 11-05-03 04:02 AM, vincent bonnier wrote:

Hi Dimo, may be it will not fit to your requirement, but you can use an
explicite target platform in order to build your project. You will have
to make your target platform with anger and pain but then you can simply
call maven/tycho
with the -Dtycho.targetPlatform=/path/to/your/target/platform. It's the
speedest way i found for building a project.

But may be you can't use an explicit platform ?

2011/5/3 Dimo Velev <dimo.public@xxxxxxxxxxxxxx
<mailto:dimo.public@xxxxxxxxxxxxxx>>

    Hi guys,

    I am completely new to tycho and eclipse RCP so this might be a
    trivial problem.

    Every time I run maven it first downloads the content.xml and
    artifacts.xml files from the nexus helios p2 mirror repository. As
    these files are pretty big (70 MB in total) it takes 3 minutes to
    finish a build of a trivial project.

    What can I do to fix that? I currently use mvn -o as a workaround
    but I guess there should be a better way.

    The corresponding logs from maven look like that:
    --cut--
    [INFO] Adding repository
    http://LOCALREPO/nexus/content/repositories/eclipse-helios/
    [INFO] Fetching content.xml (0B of 61.25MB at 0B/s) from
    http://LOCALREPO/nexus/content/repositories/eclipse-helios/content.xml
    [INFO] 1 operation remaining.
    [INFO] Fetching content.xml (3.4kB of 61.25MB at 0B/s) from
    http://LOCALREPO/nexus/content/repositories/eclipse-helios/content.xml
    ...
    --cut--

    Thank you in advance,
    Dimo

    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto: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