Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31532 - [gant] appears to need startGroovy to be in /usr/share/groovy/bin

Attached to Project: Community Packages
Opened by corey (corey_s) - Thursday, 13 September 2012, 19:57 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 13 September 2012, 21:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:


* package version(s):

groovy 2.0.1-1


* config and/or log files etc.


Steps to reproduce:


Install gant, ( I did so using the gant aur), try to run it.

First, you'll need GROOVY_HOME to be set ( to /usr/share/groovy ) -- this should probably go in a /etc/profile.d/groovy.sh .

Second, you'll need a symlink:

mkdir /usr/share/groovy/bin && ln -s /usr/bin/startGroovy /usr/share/groovy/bin/


... those two steps will allow gant to run:

gant --version



( note that I opened this bug under the groovy package rather than the gant package, because I believe this is in fact groovy specific, and that I'm just using gant as an example. )



This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 13 September 2012, 21:59 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comment.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 13 September 2012, 21:58 GMT
The title ("groovy appears to need startGroovy to be in /usr/share/groovy/bin") is misleading, when it is in fact gant that looks for startGroovy in /usr/share/groovy/bin (not a good place to put executables), instead of groovy.

Note that:

* gant is in AUR and is unsupported
* gant should be configured to look for startGrovy in /usr/bin/startGroovy instead
* If gant for some reason can't be configured or forced to look for startGrovy in /usr/bin/startGroovy or by using an environment variable, report a bug upstream to the gant developers
* grails and netbeans has no problems with using groovy as it is
* Users can (and are expected) to define their own environment variables if they are not defined in /etc/profile.d

I'll close this bug for the above reasons. If you're opposed to this, reopen this bug and leave a comment.

If it's a problem that GROOVY_HOME is not set, please open a new bug ticket for the groovy package.

Thanks.

Loading...