-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get well generated paths in a start script of a Debian package? #115
Comments
This is a duplicate to #73 . Use the latest version of sbt-native-packager and everything will work fine. happy new year! |
Also, what activator template did you use? We should bump the native |
Lets make sure we get the latest into Play 2.2.2. |
I used the hello-play-framework template that comes with the Activator, El Mar, 31 de Diciembre de 2013, 3:54 pm, Josh Suereth escribió:
|
I think we can close this. We'll already too late for play-2.2.2 @jamesward :( |
Hi. I recently built my first Debian package with Typesafe Activator
2.1.0, but it is not working as expected.
Once installed, my program is in /usr/share/Gloo-1.0 . The generated
Debian package creates a link to /usr/share/Gloo-1.0/bin/gloo in
/usr/bin/gloo. This way I can run "gloo" from everywhere because it is in
the path. But when I run "gloo" it doesn't find the main class
play.core.server.NettyServer .
I tried running "gloo -v" and then I saw that the start script was looking
for the jars in /usr/lib instead of /usr/share/Gloo-1.0/lib ¿why? I went
to the start script and in fact, it was looking for the jars in
"${app_home}/../lib" .
This works fine when I run the start script with
/usr/share/Gloo-1.0/bin/gloo, but it is not fun!! I should be able to run
the program just with "gloo", am I right?? So, could anybody tell me how
to make the generated start script sets the right path to libs?? By the
way, I am using Ubuntu 13.04 Raring Ringtail.
The text was updated successfully, but these errors were encountered: