Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Proposal to tweak the platform build instructions

concurrent builds are a problem [1] but mostly these  happen on build servers.

If I understand it correctly this wiki should give first-time users a quick start, so we shouldn't jump on them with all the gory details right away IMHO.

There are ways to make your build reproducible even if you use the standard local maven repo in ~/.m2/repository

Use -Dtycho.localArtifacts=ignore [2] to prevent locally installed artifacts from being added to the target platform.

The cost of a local maven repo per build is remote download of over and over 95% the same binaries adding up to GBs easily.

just my 2 cents,
Jan

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=394998 
[2] http://wiki.eclipse.org/Tycho/Release_Notes/0.16 

-----Original Message-----
From: cbi-dev-bounces@xxxxxxxxxxx [mailto:cbi-dev-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Mittwoch, 28. November 2012 21:50
To: cbi-dev@xxxxxxxxxxx
Subject: Re: [cbi-dev] Proposal to tweak the platform build instructions

-0.

The requirement to build both 3.8 and 4.2 branches was the reason I
suggested use version-specific local repository. OSGi/P2 dependencies
often use quite wide version ranges and shared local repository may
result in use of incorrect versions of locally installed artifacts.

There are also problems running multiple concurrent builds against the
same local repository.

More advanced Tycho/Maven users may be able to understand advantages and
disadvantages of using shared local repository, but I for new users I
think it is safer and easier to always use per-build local repositories.

--
Regards,
Igor

On 12-11-28 11:45 AM, Andrew Ross wrote:
> Hi Everyone,
>
> This may be a quick thing.
>
> Jan suggests we drop -Dmaven.repo.local=$LOCAL_REPO
> <https://twitter.com/sieversjan/status/273712813841735681> in our
> Eclipse platform build instructions.
>
> I agree with this suggestion so it has my +1. My thinking is that anyone
> who really cares deeply will not be blocked from specifying where their
> output goes. Casual builders and newcomers don't need to care.
>
> If you would, please let me know where you stand by +1 or -1. If we make
> it to +4 with no strong objections, I'll make the change.
>
> Thanks,
>
> Andrew
>
>
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev
>
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top