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
Try out shoes-4.0.0.pre1.gem and packaging your app #137
Comments
|
Here is @ashbb's  Great work, @ashbb!!! Also, if you only want to package a .jar (and not an .app) you _should_ be able to run If that doesn't work, we should fix it :P |
|
OK, I tried it, and I could not get it to work. It is so confusing, what is the point of an app folder if it doesn't come with everything you need to run? I tried to follow the instructions in shoes.bat, but I could not get past I think I am calling it wrong. I did not know you could put screenshots into github issues, but here is where it would have gone: Standard (packaged) E17/X11 in Ubuntu Linux with Shoes 4 test app It's pretty big, if it doesn't come with Java and it doesn't come with JRuby, then what is all this other stuff? :-) (Ubuntu Precise) Clearly I did not get the instructions... tried also |
This first packaging effort is to produce a We'll get Linux and Windows working next!
This one is for Windows, so it won't work on Linux.
That's the one you want! The error you are getting is because your jruby is running in 1.8 mode, but you need it to be in 1.9 mode. Try (you only need to do this once per shell session. To make it permanent, place it in your This should create a To create a plain .jar that you can run on Linux, try The packager isn't yet smart enough to name your Let us know how it works! |
|
I was about to try jruby-head instead, thanks for saving me the time... I will try it! Thanks! :) |
|
Well now that you mention it, I think jruby 1.7 (current head) runs in 1.9 mode by default, so that would probably work too :) |
|
Yes, 1.7 does. |
|
@XULRunner42 I fixed some bugs in the jar packager, so pull new changes before you try it. PS Now your jar will be called "hello.jar" :) |
|
@wasnotrice Thanks for fixing JAR packaging paths for CLI. Now the |
|
I get an error about an invalid config. I've tried both copying the sample icon files into the script's directory and copying the example app.yaml into the dir and removing the icon statements - still errors. I'm on the very latest sha, FWIW. Let me know if you need more details. |
|
Hi there, I think you can find help with this comment or in the thread... it should definitely be pointed out more :-) Basically I believe you have to adjust the app.yml, the default one doesn't work on its own! Cheers, |
|
We need to move that to the wiki. |
|
@PragTob I changed the |
|
@bassnode this should definitely be fixed as you describe. Packaging need to be robust, and to work with zero user configuration. I'm halfway through extracting packaging into another gem. That's why I'm so slow on this :( |
|
ok, then I'll wait to see how that gem turns out before submitting any pull
|
|
Packaging is in the README and stuff, guess we don't need this anymore. Let me know if you disagree - if there are leftover issues that don't have an open issue please open one :-) Thanks! |

If you have Windows, try out the following steps.
Your app will be launched from in the hello.jar.
ps. If you are OSX or Linux user, read README.
Note: Updated shoes-4.0.0.pre1.gem and modified the above steps.
The text was updated successfully, but these errors were encountered: