Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho-Surefire guessing the Test Framework

When creating a software project, there is a need for reliable and 
reproducable creation of builds.
To do this, a build tool is chosen and build metadata is committed with 
the source.

As far as I understand it, you have chosen Eclipse as the main build tool.
The releng engineers then need to try to reproduce the build using Maven.

In my view, it is the responsability of the devs to supply a reliable, 
tested and reproducable build.
How this is packaged and deployed is another concern.

However, relying on Eclipse as the main build tool seems like a bad idea.
Do you persist the Eclipse configuration also somewhere?
What build metadata do you persist? Eclipse project files?

IMO, Maven should be the main build tool.
I would be satisfied if I can produce a build using Maven, and Eclipse 
offers only text highlighting and editing. All the rest is extra, 
because build reproducability in time and between machines is primary.

Getting a project working in Eclipse and not in Maven is the equivalent 
of "works on my machine" for me. Not acceptable.

However, if you think there is a valid use case for this, please explain!
Maybe in your situation it makes sense, I would like to understand.

Dieter

On 05/15/2012 12:41 PM, Hervé Esteguet wrote:
>> What is the gain in separating?
> - We avoid polluting source with maven metadata. Tycho is not yet the native method used by eclipse to build bundles from the workbench. When it will be so, the presence of the pom.xml into a plugin source will be justified.
>
> - The releng engineer is not always allowed to modify the source repository which can be of different sources and natures. In fact the project could depends on others projects in which you just have a readonly access.
>
>> Looks like it makes things more difficult
> - Tycho make this approach easier, in most case the modification of the pom parent generated by tycho will suffice to configure the whole build process (an XSLT transformation do the trick). There are small cases like the original subject of this thread which complicated things.
>
> ----- Original Message -----
> From: "Mickael Istria"<mistria@xxxxxxxxxx>
> To: "Tycho user list"<tycho-user@xxxxxxxxxxx>
> Sent: Mardi 15 Mai 2012 12:12:37
> Subject: Re: [tycho-user] Tycho-Surefire guessing the Test Framework
>
>
> On 05/15/2012 11:56 AM, Hervé Esteguet wrote:
>
> In our dev team we separate releng concerns from dev ones. Sounds like a bad idea to separate them. They are tightly coupled. Code affects releng, releng affects code. You cannot isolate them.
>
>
>
> Our idea is that, it's not the same person which is responsible for the development and for the release engineering. Ok, but IMHO, the guy doing release engineering is part of the dev team, and should be allowed to commit poms into bundles.
>
>
>
> The releng engineer maintains a project which inject tycho configuration during the build process on CI. By doing so we separate eclipse bundle development from maven considerations.
>

Back to the top