Groovy and Grails support is missing

Bug #291811 reported by Luis Arias
4
Affects Status Importance Assigned to Milestone
shared-mime-info
Incomplete
Wishlist
shared-mime-info (Ubuntu)
Triaged
Wishlist
Luis Arias

Bug Description

Binary package hint: shared-mime-info

I have filed a bug with upstream gtksourceview to include groovy and gsp language files.

http://bugzilla.gnome.org/show_bug.cgi?id=553894

However for things to work automatically with gedit, I need the groovy-mime.xml and gsp-mime.xml language files included in shared-mime-info.

The author of this blog has kindly provided these files which I will also attach to this issue.

http://henyoonline.blogspot.com/2008/07/setting-up-gedit-for-groovy-and-grails.html

Revision history for this message
In , Luis Arias (kaaloo) wrote :

Created an attachment (id=19982)
gsp-mime.xml

Revision history for this message
Luis Arias (kaaloo) wrote :

Binary package hint: shared-mime-info

I have filed a bug with upstream gtksourceview to include groovy and gsp language files.

http://bugzilla.gnome.org/show_bug.cgi?id=553894

However for things to work automatically with gedit, I need the groovy-mime.xml and gsp-mime.xml language files included in shared-mime-info.

The author of this blog has kindly provided these files which I will also attach to this issue.

http://henyoonline.blogspot.com/2008/07/setting-up-gedit-for-groovy-and-grails.html

Revision history for this message
Luis Arias (kaaloo) wrote :
Revision history for this message
Luis Arias (kaaloo) wrote :
Revision history for this message
Luis Arias (kaaloo) wrote :

I forgot to mention the corresponding bug in launchpad for gtksourceview:

https://bugs.edge.launchpad.net/gedit/+bug/291789

Revision history for this message
Luis Arias (kaaloo) wrote :

I will try to add the two files to this package and produce a diff since it is based on the upstream tar ball instead of a debian package.

Changed in shared-mime-info:
assignee: nobody → kaaloo
Changed in shared-mime-info:
status: Unknown → Confirmed
Changed in shared-mime-info:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
In , Pino Toscano (pinotree) wrote :

What is this MIME type used for? It sounds like something specific to an application...

Revision history for this message
In , Luis Arias (kaaloo) wrote :

Hi, both file types are used in the grails development framework : http://grails.org. GSP are server page templates similar to JSP files. Groovy is a dynamic language for the JVM : http://groovy.codehaus.org. The rationale for including these mime types is that it allows gedit to do syntax highlighting automatically and thus provides a better experience for the Groovy / Grails developer.

Revision history for this message
In , Bastien Nocera (hadess-deactivatedaccount) wrote :

Please provide patches to shared-mime-info, as well as test files.

Changed in shared-mime-info:
importance: Unknown → Wishlist
Revision history for this message
In , Bugzilla-x (bugzilla-x) wrote :

Please follow the instructions in the HACKING file about providing patches.
http://cgit.freedesktop.org/xdg/shared-mime-info/plain/HACKING

Changed in shared-mime-info:
importance: Wishlist → Unknown
Changed in shared-mime-info:
importance: Unknown → Wishlist
Changed in shared-mime-info:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.