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

Build is not working #50

Closed
pieterlukasse opened this issue Apr 23, 2013 · 3 comments
Closed

Build is not working #50

pieterlukasse opened this issue Apr 23, 2013 · 3 comments

Comments

@pieterlukasse
Copy link

Hi,

I am trying to run the ./sbt assembly step but it gets "killed" with no specific abort message (that's the last message I see on the output). When I subsequently try to execute one of the examples I get the error:

swagger-codegen# ./bin/java-petstore.sh
/usr/swagger/swagger-codegen/samples/client/petstore/java/JavaPetstoreCodegen.scala:17: error: object wordnik is not a member of package com
import com.wordnik.swagger.codegen.BasicJavaGenerator

My request to you is: could you please go through the steps of the README file? I think you will be able to reproduce it easily (a colleague just got it reproduced in his windows environment as well).

Thanks and regards,

Pieter.

@fehguy
Copy link
Contributor

fehguy commented Apr 23, 2013

Hi, what OS are you running on?

If you have sbt 0.12.x installed locally and in your classpath, you can skip the ./sbt script (this is a launcher script to automatically download sbt) and run sbt assembly

You might try that, by downloading sbt from here:

http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html

The 2nd error is coming because the library isn't available.

@pieterlukasse
Copy link
Author

Thanks Tony! Setting up the sbt helped (I have a Linux system). It would be
nice though if the build step would not be needed, as it takes quite a long
time (on my system at least) to build it. If you could provide some built
versions that would be nice!

Thanks and regards,

Pieter.

On Tue, Apr 23, 2013 at 6:15 PM, Tony Tam notifications@github.com wrote:

Hi, what OS are you running on?

If you have sbt 0.12.x installed locally and in your classpath, you can
skip the ./sbt script (this is a launcher script to automatically download
sbt) and run sbt assembly

You might try that, by downloading sbt from here:

http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html

The 2nd error is coming because the library isn't available.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-16868584
.

@fehguy
Copy link
Contributor

fehguy commented Apr 23, 2013

Ah Linux--I believe the issue is an outdated bash version which is causing the sbt script to fail.

We were uploading distributions but that was dropped after switching to sbt. Will get it going again, then you can just pull it from maven central.

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