eclipse-archived / ceylon

The Ceylon compiler, language module, and command line tools
http://ceylon-lang.org
Apache License 2.0
399 stars 62 forks source link

'ceylon osgi' command #6739

Open gavinking opened 7 years ago

gavinking commented 7 years ago

In theory the compiler generates OSGi metadata inside the .cars, but apparently that's sometimes not good enough, and so @davidfestal has some rubbish additional build step that unzips .cars and edits their META-INF files. And then apparently repository generation is a whole separate manual thing. What a mess.

Instead, I propose that we have a separate assembly command that produces an OSGi repository in one of the layouts listed here, containing .jar files with the needed OSGi metadata.

To be clear: I want to see the whole job of assembling an OSGi "application" or "plugin" automated and no more of this manual futzing around with Ant files or Maven or any of this rubbish that has been going on for years now.

@davidfestal We'll need you to properly define the requirements here.

davidfestal commented 7 years ago

yes, I'll work on this and the corresponding requirements.

gavinking commented 7 years ago

Great!

gavinking commented 7 years ago

P.S. How is this related to the existing ceylon p2 command?

gavinking commented 7 years ago

We desperately need this!!