Henrik,
Comments below.
On 30.03.2020 15:45, Henrik Rentz-Reichert (hrr) wrote:
Hi,
Eclipse eTrice uses a combined Maven and Gradle build. The Gradle part
uses the already built generator to generate code for the tests.
Gradle uses our own generator plug-ins for this task.
Those Gradle plug-ins are not tied with our Eclipse project and just
use a passed class path plus a convention to call the generators.
Now we have two options:
1. We leave the sources for the Gradle plug-ins in our eTrice
repository and create another build which builds and deploys them
2. We host the sources independently of eTrice at GitHub (we already
started with this, see [1])
The second option has the advantage that we can factor out code which
isn’t strictly a part of the eTrice project and can be maintained
separately.
Yes, I suppose a separate repo makes sense, but for EMF I just keep them
in the same repo in a releng folder.
https://git.eclipse.org/c/emf/org.eclipse.emf.git/tree/releng
If we go that way, two questions arise
* Do we need a CQ for this (I already filed [2])?
I suppose so, though build dependencies get more into a gray zone
because you don't redistribute this content. So it's more of a
WORKSWITH dependency. It never hurts to file one. :-P
*
* Is there anything that we’ve overlooked such that 1) is the
preferred/better option?
Whatever makes the most sense for your project and is easiest and
cleanest to maintain seems fine.
*
Thanks for your feedback,
Henrik
[1] https://github.com/protossoftware/etrice-gradle-plugin
[2] https://dev.eclipse.org/ipzilla/show_bug.cgi?id=21859
<https://dev.eclipse.org/ipzilla/show_bug.cgi?id=21859>
______________________________
**
*Dr. Henrik Rentz-Reichert*
E-Mail: [email protected]
<mailto:[email protected]>
Mobile: 0049 176 30682514
PROTOS Software GmbH - Agnes-Pockels-Bogen 1 - D-80992 München
Website: http://www.protos.de <http://www.protos.de/>
Geschäftsführer: Thomas Schütz, Dr. Henrik Rentz-Reichert
Registergericht: Amtsgericht München HRB 115580 - Sitz: München
Umsatzsteuer-Identifikationsnummer: DE185446589
Unsere aktuelle Datenschutzerklärung nach DSGVO, sowie
Kontaktformulare für Ihre Einwilligung und Datenschutzrechte finden
Sie unter > https://www.protos.de/datenschutz/
_______________________________________________
modeling-pmc mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/modeling-pmc
_______________________________________________
modeling-pmc mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/modeling-pmc