Git Product home page Git Product logo

Comments (12)

dozed avatar dozed commented on July 29, 2024

Do you get a working project?
I can't try it under Windows (Linux here), but it looks like the console input does not get processed correctly (no newlines).

Make sure you are using the most recent version of g8.

from scalatra.g8.

marti1125 avatar marti1125 commented on July 29, 2024

Do you get a working project? Yes, I do.
but I can't write, for example "name" etc.

from scalatra.g8.

marti1125 avatar marti1125 commented on July 29, 2024

@dozed Is there a way could I help you? which is the reason I can't see the questions

from scalatra.g8.

dozed avatar dozed commented on July 29, 2024

Do you use the most recent version of g8?

from scalatra.g8.

marti1125 avatar marti1125 commented on July 29, 2024

I downloaded 2 days ago

from scalatra.g8.

dozed avatar dozed commented on July 29, 2024

You could try using cygwin, for installation see here. There is also a terminal emulator which can be used with cygwin called mintty. For installation of mintty see here.

I hope this helps. In my experience cygwin/mintty doesnt work quite well with SBT for example, but maybe it does with g8.

from scalatra.g8.

futurechimp avatar futurechimp commented on July 29, 2024

@marti1125 does your problem relate in any way to foundweekends/giter8#114 ?

Other people are reporting problems with Windows and g8. The last time I tried a Windows install, maybe nine months ago, it did work alright, but I haven't tried since then. It could be a new bug in g8.

One workaround which may help: if you can't type into the prompts for some reason, you can try an alternate method of setting the params. E.g. you could do:

g8 scalatra/scalatra-sbt.g8 --organization com.example --package com.example.app --name "My Scalatra Web App" --scalatra_version 2.2.2 --servlet_name Foo --scala_version 2.10.2 --version 0.1.0-SNAPSHOT

Does that work for the moment, until we figure out what's going on with g8?

from scalatra.g8.

jeremywhittington avatar jeremywhittington commented on July 29, 2024

I am running into the same issue. @futurechimp I have tried your suggestion and all I get back is saying unknown option --organization --package, etc.... i will keep playing with it and see what I can figure out.

I am on windows 7, java version 1.7.0_45, Java SE runtime 1.7.0_45-b18, latest version of cs and g8.

EDIT---

You have to use --param=value

Using the following snippet works:

g8 scalatra/scalatra-sbt.g8 --organization=com.example --package=com.example.app --name="My Scalatra Web App" --scalatra_version=2.2.2 --servlet_name=Foo --scala_version=2.10.2 --version=0.1.0-SNAPSHOT

from scalatra.g8.

marti1125 avatar marti1125 commented on July 29, 2024

@jeremywhitt it works for me, thanks

from scalatra.g8.

joescii avatar joescii commented on July 29, 2024

FYI, I have a pull request which fixes g8: foundweekends/giter8#124

from scalatra.g8.

joescii avatar joescii commented on July 29, 2024

The aforementioned pull request is now released in giter8 0.6.1. Update giter8, and this template should work in Windows now.

from scalatra.g8.

casualjim avatar casualjim commented on July 29, 2024

considering there has been no more activity on this ticket for months and there is a resolution as last comment, I'm going to close it.

from scalatra.g8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.