This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136937 - GRAILS_HOME from deb package not working
Summary: GRAILS_HOME from deb package not working
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 144328 148509 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-10 17:40 UTC by calavera
Modified: 2009-02-19 20:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
check the default installation for the grails debian package (2.42 KB, text/plain)
2008-11-21 15:32 UTC, calavera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description calavera 2008-06-10 17:40:10 UTC
Although I've configured the GRAILS_HOME into the settings, the new Grails project window shows me a warning because it
can't find the grails executable. 

This component has the same problem that I reported with this other issue:
   http://www.netbeans.org/issues/show_bug.cgi?id=136288

I think Grails Runtime should read the grails configuration from Grails Settings.
Comment 1 martin_adamek 2008-08-14 14:41:43 UTC
Hi David, it means that you grails binary is not in GRAILS_HOME/bin?
Comment 2 calavera 2008-08-20 10:17:28 UTC
Yep, if you install grails from the deb package the installer moves the grails binary file to /usr/bin instead of create
a symbolic link. This is a little weird and I'm starting thinking on create my own grails debian package because the
current package is created with an ant script and ant doesn't have some required capabilities in order to install files,
like create sym links after decompress the package.

Actually the problem is the next:

   - I've installed grails from the deb package.
   - I set the grails home into netbeans options.
   - When I try to create a new project the wizard shows me the message "Please setup your Grails Home in IDE Options".

So, I think this a package problem instead of a netbeans problem.
Comment 3 Petr Hejl 2008-10-03 10:33:33 UTC
*** Issue 144328 has been marked as a duplicate of this issue. ***
Comment 4 Petr Hejl 2008-10-03 10:41:10 UTC
*** Issue 148509 has been marked as a duplicate of this issue. ***
Comment 5 Petr Hejl 2008-11-18 13:29:34 UTC
We need to investigate, perhaps it's a bug in deb package.
Comment 6 calavera 2008-11-21 15:32:32 UTC
Created attachment 74021 [details]
check the default installation for the grails debian package
Comment 7 Petr Hejl 2008-11-21 22:23:20 UTC
Hi David,
thanks for the patch! If every would be that active as you we would have already a first class Grails support.
Anyway I will try to file an issue for Grails deb packaging.

Fixed in main 0ab4a5c1bef2.
Comment 8 Quality Engineering 2008-11-23 17:05:09 UTC
Integrated into 'main-golden', will be available in build *200811231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0ab4a5c1bef2
User: phejl@netbeans.org
Log: #136937 GRAILS_HOME from deb package not working
Comment 9 Petr Hejl 2008-11-24 13:03:24 UTC
Actually ui has to be fixed as well - fixed in main bdec21ffff03.
Comment 10 Quality Engineering 2008-11-25 16:44:13 UTC
Integrated into 'main-golden', will be available in build *200811251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bdec21ffff03
User: phejl@netbeans.org
Log: #136937 GRAILS_HOME from deb package not working