Exporting Eclipse Plugins and Features

33 views
Skip to first unread message

Harshad RJ

unread,
May 14, 2012, 1:42:57 AM5/14/12
to scala-i...@googlegroups.com
Hi all,

With the help of this excellent group, I have been developing an Eclipse Plugin in Scala. The plugin works well and I now need to package it to for my client.

After struggling with packaging for the whole day yesterday, I was finally able to do it with the help of this ant build script by Michel Kraemer:
http://www.michel-kraemer.com/scala-projects-with-eclipse-pde-build-2

I am just wondering if this is the recommended way of packaging plugins developed in Scala? And if it is, the page below should probably be updated with this information:
http://www.assembla.com/spaces/scala-ide/wiki/Eclipse_Plugin_Development_using_the_Scala_IDE

cheers,
Harshad

Harshad RJ

unread,
May 14, 2012, 1:57:41 AM5/14/12
to scala-i...@googlegroups.com


On Mon, May 14, 2012 at 11:12 AM, Harshad RJ <harsh...@gmail.com> wrote:
After struggling with packaging for the whole day yesterday, I was finally able to do it with the help of this ant build script by Michel Kraemer:
http://www.michel-kraemer.com/scala-projects-with-eclipse-pde-build-2

I am just wondering if this is the recommended way of packaging plugins developed in Scala?

I just hit upon another blog entry by Michel explaining about the use of Buckminster for building plugins written in Scala:
http://www.michel-kraemer.com/build-scala-projects-with-eclipse-buckminster

This seems less hacky. I haven't tried it yet though. Just thought I should mention it for completeness sake.

--
Harshad RJ
http://lavadip.com

iulian dragos

unread,
May 14, 2012, 5:01:20 AM5/14/12
to scala-i...@googlegroups.com
On Mon, May 14, 2012 at 7:57 AM, Harshad RJ <harsh...@gmail.com> wrote:
>
>
> On Mon, May 14, 2012 at 11:12 AM, Harshad RJ <harsh...@gmail.com> wrote:
>>
>> After struggling with packaging for the whole day yesterday, I was finally
>> able to do it with the help of this ant build script by Michel Kraemer:
>> http://www.michel-kraemer.com/scala-projects-with-eclipse-pde-build-2
>>
>> I am just wondering if this is the recommended way of packaging plugins
>> developed in Scala?

We are using Maven and Tycho. You can have a look at the setup of, for
instance, the sdt.core plugin:

https://github.com/scala-ide/scala-ide/blob/master/org.scala-ide.sdt.core/pom.xml

More info on Tycho: http://www.sonatype.org/tycho

cheers,
iulian

>
>
> I just hit upon another blog entry by Michel explaining about the use of
> Buckminster for building plugins written in Scala:
> http://www.michel-kraemer.com/build-scala-projects-with-eclipse-buckminster
>
> This seems less hacky. I haven't tried it yet though. Just thought I should
> mention it for completeness sake.
>
> --
> Harshad RJ
> http://lavadip.com



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Matt Russell

unread,
May 14, 2012, 7:34:18 AM5/14/12
to scala-i...@googlegroups.com
On Monday, May 14, 2012 10:01:20 AM UTC+1, Iulian Dragos wrote:

We are using Maven and Tycho. You can have a look at the setup of, for 
instance, the sdt.core plugin: 
 
A simpler example project than Scala IDE using the same approach, which might also be helpful:

  https://github.com/mdr/pomodoro4eclipse 

-- Matt

Harshad RJ

unread,
May 14, 2012, 8:57:06 AM5/14/12
to scala-i...@googlegroups.com
Thanks Iulian and Matt for the responses. I have updated the Assembla wiki page with a mention of Tycho and added links to sample projects:
http://www.assembla.com/spaces/scala-ide/wiki/Eclipse_Plugin_Development_using_the_Scala_IDE
Reply all
Reply to author
Forward
0 new messages