Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Build standalone Eclipse with CDT and custom plugins, command line
  • From: Clément Hurlin <clement.hurlin@xxxxxxxxxxxxx>
  • Date: Thu, 5 Sep 2019 18:14:04 +0200
  • Autocrypt: addr=clement.hurlin@xxxxxxxxxxxxx; keydata= mQENBE5g9TkBCAC6rGL88GPAgBbez3qC2JqD/lQKumfAk+U8tIbbDssc/PJvDHISP+TcxyTF r+yMrCQlI3iqJxWd6M5DQx/MigOE36ZoPzHvIsiDTrcw7koYkl5UoMNffmdQ1QfPSKEgatou tKZ73eCqptj8nXFyyhYT9phsmSVhcuzjMlMT/5iAYJlEyg8Ej/wB3kCj+yTkokljOtjY3+rm 2ooX+UcfG4nd1eWrd6KPF1BP5uPgQxfROTs7JmRCMABcwlQhftoFMiepro/oH1/0A/v91rKe vWUY9tRYypHpW573oL6X0U9FvwhSJ1m7qRYKwhDqSrHzNwCSe4lKYvRD4KM2CFb0+A/LABEB AAG0LkNsw6ltZW50IEh1cmxpbiA8Y2xlbWVudC5odXJsaW5AcHJvdmVucnVuLmNvbT6JATgE EwECACIFAk5g9TkCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJED+ctNSKreL1F8oH /iPCnvSLB4pr5XPfjQlkaRfOtkWxZJDMJeRdDTd3FvQMuFhBCUy/19mAPFh92h1dwnY9Kz6/ nIdD7NEBgZSbScVqvx2mEvnYeaFmtUKXuxMI85xqTtEYr+CFtQjEM+hjEp0dD68rSrei6mVS dXHKyecen/A4GCbq2EOeSLo/ba6LkLtVgen8XdsEUWQEsK9F0+sVE5R5M6YofsrzQ/ZJvj7W lAR/Iw5CzqhPet01l+x11uTAJvuzr80dHKLODbwvA7KRof8FJ/jV5Cqf0/P3Ne9IssjYzZEc YFxcTPwH+qBMZZUu4Q7UMeg/KGxoxl4PpSj5tQcndJ3hUOY6b7ryV0e5AQ0ETmD1OQEIAMiw CYnoyFOqyH+wJSENEyOrmSN//2+Bxc/p0BeSiKuU/hhhN+gOIxPFbqI+lM4pX08XVSOWCYU/ 8Zi02Jljmb7pw8CWAlAZ7kuyktHibQnS5p8c3qFmud5JSIRjCl9tHiuisHBUbln7VsV/5syd ReU3oKcKTY115FulteKwmd674EMhSzWTpkkwllXwm1gRhZL67GThKJLem7xboY1KIVLnBUd1 fLy3jyk9Pt9IXJBDHj1Ub3m52gts0SvbP2Hu/NR9V5ziSpC2d4IgzZc95qVsf8mIpqgiW0W1 rcKubYAsD0TdOBNA3vOmswAq5nA9OhZYHvEeaBd+2v6Rlbbk/hkAEQEAAYkBHwQYAQIACQUC TmD1OQIbDAAKCRA/nLTUiq3i9bcQB/9oCjAI+Nc6CK9YDW9GdnP1z6sgAcu9OTF80HY1Bg7Z RJHaz1GC2ob4DGCok3F+wOoZPdOtR5iHvaJ82KJsXbOc7y7SHNCyc3v5kPTYl7HUdb53y88h 3q7XTsfGX669xO2SMGNmFPStZ5rNUk8BQ3Ez07N6PdS7JiiMFFuBRoEguF8WcfUIV6VtVteG GAoy9TdU81DZoQtZdG6C9MLC7+Lg5KmimQ57IgNwrebo1TFI5s42UzjdMNFIldVyeCWouY3i V3ZTjk1IUSh1ADFO/RcbpSZfDUpN+rkYwku2QOIZoqAqy7NG52AYh/nI6iMTfk+VZ/JtZs1f RSBux0Dd9zcj
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Thank you Austin,

  I had checked out Oomph before and I believe it doesn't fit my use case (or I didn't understand how to do it). I don't want clients to have to launch oomph and choose our custom setup, it's a bit cumbersome (need to switch to oomph's "Advanced" mode); I want to provide them completely standalone Eclipse installs. But your answer prompted me to look again and I found my way using the p2 director application:

  With it I succeeded building a standalone Eclipse, installing the CDT using a public repo, and installing our own plugin specifying a file:/ URI for the update site!


ps: for reference, my command goes like this (highlighting our custom plugins):

./eclipse -application org.eclipse.equinox.p2.director -repository,file:/media/truecrypt1/pncide/releng/com.provenrun.pncide.tycho.updatesite/target/updatesite, -installIU org.eclipse.sdk.ide,, -destination /tmp/p2test/fromscratch/ -profile SDKProfile -profileProperties org.eclipse.update.install.features=true -bundlepool /tmp/p2test/fromscratch/ -p2.os linux -roaming

On Tue, Sep 03, 2019 at 06:38:27PM +0200, Clément Hurlin wrote:
Dear CDT developers,

  A few months ago I requested guidance from regarding generating
.cproject files from the command line. This project is now deployed
internally and users are happily generating CDT configurations (from a
web service backed up by command line) specifically tuned for the
products we develop at Prove&Run \o/

  I'm writing to you /again/ because we would now like to send *complete
installations of Eclipse*, including the CDT as well as a few custom
plugins; to customers so that they are gently introduced to the code we
ship to them. However, I don't understand how to do that. I know how to
build standalone Eclipse using tycho *by using .product files*. But this
mechanism requires to have a *product to point to*. In my case I don't
have a product, simply a list of RCP plugins (or features, which we use
to build standalone update sites).

  In other words I'd like to build a vanilla installation of the CDT
augmented with our custom plugins; exactly as if I had taken a vanilla
installation and manually installed our plugins from an update site. Do
you have any pointer on *how to do that from the command line*?

Best regards,

Thanks for your hard work on the CDT,

Clément Hurlin
 I believe you are looking for Oomph. This is a pretty decent write-up

Austin Morgan
cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top