Skip to content
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

Getting started with glide - hello-glide doesn't completely start? #21

Closed
brasskazoo opened this issue Sep 6, 2014 · 2 comments
Closed

Comments

@brasskazoo
Copy link

Hi,

I'm trying to get Glide up and running with the aim of building a small app for GAE.

I've installed from source with the install script as per the docs, and followed the quickstart guide to create the hello-glide app:

$ glide --app hello-glide create
$ cd hello-glide
$ glide 

Glide launches, and reports

     $ glide

      ___  _  _     _
     / __|| |(_) __| | ___
    | (_ || || |/ _` |/ -_)
     \___||_||_|\__,_|\___|

[touch] Creating /var/folders/07/sc96mpvx6yv519r98lph10b80000gn/T/glide-generated/hello-glide/app/WEB-INF/web.xml
[touch] Creating /var/folders/07/sc96mpvx6yv519r98lph10b80000gn/T/glide-generated/hello-glide/app/WEB-INF/appengine-web.xml
[touch] Creating /var/folders/07/sc96mpvx6yv519r98lph10b80000gn/T/glide-generated/hello-glide/app/WEB-INF/cron.xml
[touch] Creating /var/folders/07/sc96mpvx6yv519r98lph10b80000gn/T/glide-generated/hello-glide/app/WEB-INF/sitemesh3.xml
 [sync] Copying 13 files to /var/folders/07/sc96mpvx6yv519r98lph10b80000gn/T/glide-generated/hello-glide

...but nothing else, and http://localhost:8080 doesn't connect to anything.

I've attempted to modify the logging.properties to DEBUG for all entries in the /var/.../hello-glide/app/WEB-INF directory and relaunched, but no additional info was printed.

Is there something missing from my setup? Or is there a way I can diagnose the problem better?

Thanks,
Will

FYI:
OSX 10.9.4
Java 1.7.0_67
Glide version : 0.3.4 build : 6/09/14 10:45:49 AM

@brasskazoo
Copy link
Author

Alright I worked out the problem. As you've stated in the docs, glide should download the GAE SDK the first time, and I wasn't waiting long enough on a 4G connection. It ended up that running Gradle sorted out this dependency for me.

Can I suggest that perhaps glide could report the resolution of dependencies as a stage in the launch process?

@kdabir
Copy link
Owner

kdabir commented Sep 6, 2014

Hi @brass-kazoo. Thanks for taking out time to open the issue. I know this problem ends up in a really bad developer experience as there is no status currently being shown for the downloads happening in the background. I had opened issue #7 for the exact same reason.

The reason that there is not feedback on console is glide eats up all the logs that gradle API generates just to not confuse the user, but this works against glide in the first run.

I'll try to think about ways to fix this. In the mean time feel free to drop any suggestions you may have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants