Comments (12)
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.
Do you get a working project? Yes, I do.
but I can't write, for example "name" etc.
from scalatra.g8.
@dozed Is there a way could I help you? which is the reason I can't see the questions
from scalatra.g8.
Do you use the most recent version of g8?
from scalatra.g8.
I downloaded 2 days ago
from scalatra.g8.
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.
@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.
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.
@jeremywhitt it works for me, thanks
from scalatra.g8.
FYI, I have a pull request which fixes g8: foundweekends/giter8#124
from scalatra.g8.
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.
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)
- Stuck when execute "jetty:start" in SBT HOT 1
- Cannot run project initiated with defaults HOT 6
- feature: conditionally add code for Heroku deployment HOT 1
- feature: conditionally bring in twitter bootstrap HOT 1
- > g8-test runs out of heap memory HOT 1
- Upgrade to sbt 0.13 HOT 3
- Jetty Version in build.scala HOT 2
- Unable to Geneterate Scalatra App using g8 HOT 5
- enable travis-ci HOT 6
- Bump scalatra-sbt to 0.4.0 HOT 1
- Unresolved Dependencies HOT 6
- aux-compile task is missing HOT 3
- error when <g8 scalatra/scalatra-sbt> HOT 1
- support Scala 2.12 HOT 1
- g8 scalatra/scalatra-sbt failing HOT 7
- rename it to scalatra-seed.g8 or scalatra.g8 HOT 4
- SBT init failed HOT 2
- Can't init project with SBT. HOT 4
- Unable to geneterate Scalatra template using sbt, g8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalatra.g8.