Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190567 - groovy ebuild should provide 'startGroovy' script
Summary: groovy ebuild should provide 'startGroovy' script
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 20:02 UTC by corey
Modified: 2009-12-15 05:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 corey 2007-08-29 11:58:40 UTC
The following simple patch seems to do the trick:


--- groovy-1.0-r1.ebuild.orig   2007-08-29 04:56:11.000000000 -0700
+++ groovy-1.0-r1.ebuild        2007-08-29 04:55:58.000000000 -0700
@@ -115,4 +115,5 @@
        java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
        java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
        java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
+       dobin ${S}/src/bin/startGroovy
 }
Comment 2 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-07-28 14:15:24 UTC
What does startGroovy do? Is it still necessary in recent (1.6.x) Groovy? My understanding is that the groovy launcher does everything that is needed, so this bug can probably be closed.
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2009-07-30 06:12:16 UTC
(In reply to comment #2)
> What does startGroovy do? Is it still necessary in recent (1.6.x) Groovy? My
> understanding is that the groovy launcher does everything that is needed, so
> this bug can probably be closed.
> 

gant seems to use it.  

the following is a snippet of gant-starter.  it seems gant uses groovy to load itself.  this becomes harder to replicate using our launcher.

***********
# Load user specific libraries that are Ant specific.
load !{user.home}/.ant/lib/*.jar
    
# Load user specific libraries that are for Groovy.
load !{user.home}/.groovy/lib/*.jar
    
# Load required libraries
load !{gant.home}/lib/*.jar
*************

I guess it very much depends on what the groovyStarter actually is,  could it itself be another gentoo launcher?
Comment 4 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-12-15 05:29:18 UTC
Closing bug as unsure whether this loader is still needed. Reopen with a detailed use case if you think this issue is still a problem.