Issue 15 in ant-deb-task: Grails package is not installed correctly

6 views
Skip to first unread message

codesite...@google.com

unread,
Jun 19, 2008, 9:55:41 PM6/19/08
to ant-de...@googlegroups.com
Issue 15: Grails package is not installed correctly
http://code.google.com/p/ant-deb-task/issues/detail?id=15

Comment #2 by marius.scurtescu:
Sorry, but I really don't understand what the issue is. Created the deb
for 1.0.3 and
it install and works fine as far as I can tell.

Yes, the grails binary is copied to /usr/bin, what problems is this causing?

The symlink task in your patch is creating a symlink on the build
machine (and in
your case this may happen to be the target machine as well), but it
does not provide
a symlink inside the deb package (that cannot be done, see Issue 4).


Issue attribute updates:
Owner: marius.scurtescu

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jun 20, 2008, 5:02:49 AM6/20/08
to ant-de...@googlegroups.com
Issue 15: Grails package is not installed correctly
http://code.google.com/p/ant-deb-task/issues/detail?id=15

Comment #3 by david.calavera:
Ok, so I suppose this issue can be closed, but since you are modifying
the grails
home structure I think this is not the best way to build a package.

I'm working on the netbeans grails plugin and, as other netbeans
plugins do, we try
to detect the grails home from the system path if the user hasn't
setted yet but if
the user installed grails from your package it's impossible to do it.

codesite...@google.com

unread,
Jun 20, 2008, 12:02:36 PM6/20/08
to ant-de...@googlegroups.com
Issue 15: Grails package is not installed correctly
http://code.google.com/p/ant-deb-task/issues/detail?id=15

Comment #4 by marius.scurtescu:
As far as I remember the issue with the grails scripts was that they
did not work if
you just symlinked them to /usr/bin, they where unable to figure the
grails home
folder, at least when I first created a deb for grails. This is why I
ended up
editing and copying the scripts. The edit is putting the actual grails
home folder
into the script.

If you know that the latest grails will work fine with a symlink, then
I can look
into changing that.

So, for the netbeans plugin, you basically do a `which grails`, then
notice that it
is a symlink, follow that link and this is how you find the actual home folder?

Reply all
Reply to author
Forward
0 new messages