Questions tagged [giter8]

Giter8 is a command line tool to apply templates defined on github

Giter8 is a command line tool to generate files and directories from templates published on github or any other git repository. It's implemented in Scala and runs through the Simple Build Tool launcher, but it can produce output for any purpose.

30 questions
1
vote
0 answers

How can I use giter8 `description` field?

I am using giter8 to create a template for Scala services. Among the fields that I want to use in the template is description. However this seems to be reserved as a Maven property. Any idea how I can work around this? These are my current (working)…
sebi
  • 1,791
  • 3
  • 25
  • 43
1
vote
2 answers

Conscript won't install - what to do?

I'd like to started with Scalatra. For that, I need to use giter8 to generate a template project. To install giter8, I need to install conscript first. But doing that (at least using the runnable jar on Windows) fails with this…
herman
  • 11,740
  • 5
  • 47
  • 58
1
vote
0 answers

g8 prompts do not show in msysgit bash

I'm trying to use g8 to generate scala probjects, but under the msysgit bash shell, it does not show the usual prompts, such as organization, etc. The below is the expected output: >> g8 typesafehub/akka-scala-sbt Akka 2.0 Project Using Scala and…
Arne Claassen
  • 14,088
  • 5
  • 67
  • 106
1
vote
3 answers

Modern Maven Pom Templates

Every time I make a new proper project using Maven hosted on Github I have to go look at either one of my own old projects and copy the pom file or I go find a project that I think does a good job and copy there POM file. Then I have to go search…
Adam Gent
  • 47,843
  • 23
  • 153
  • 203
0
votes
0 answers

Executing a script upon g8 project initialization

Suppose I'm doing locally: g8 file://hello-world.g8/ --name=helloworld and the structure of hello-world.g8 is: ├── build.sbt ├── LICENSE.md ├── project │ ├── build.properties │ ├── giter8.sbt ├── README.md └── src └── main └── g8 …
Sergey Bushmanov
  • 23,310
  • 7
  • 53
  • 72
0
votes
1 answer

Create g8 Template From a Git Remote Project

I have a sbt g8 template that I customized for my projects and this is located as one of the sub project in a multi module scala sbt project which is assigned to my organization. For example., main-project - projec1 - sbt-template-project.g8 -…
joesan
  • 13,963
  • 27
  • 95
  • 232
0
votes
1 answer

Scala- Conscript - "An unexpected error occurred: Please check your internet connection"

Context: I'd like to install conscript and giter8 so that I can more efficiently create and work with Scalatra project files. I've followed the instructions here and here to download and run the jar. When I do so I get the following error. I get the…
emalcolmb
  • 1,585
  • 4
  • 18
  • 43
0
votes
0 answers

getting strange exception when creating project from template - came as a complete surprise to me

I created a template project. When trying to create a project from that template using g8 https://github.com/....git I am getting File: …
igx
  • 4,101
  • 11
  • 43
  • 88
0
votes
1 answer

How to make files optional in giter8

In giter8, it is possible to change the content of files based on user input, ie (from the docs): $if(scala212.truthy)$ scalaVersion := "2.12.3" $elseif(scala211.truthy)$ scalaVersion := "2.11.11" $else$ scalaVersion := "2.10.6" $endif$ Is it…
lev
  • 3,986
  • 4
  • 33
  • 46
0
votes
1 answer

g8 does not understand docker cli syntax

I have a customized g8 scala template which contains a .travis.yml that can be used by projects created though this template. In my .travis.yml, I have docker login -u="$username" -p="$password" because I need to publish images to remote registry.…
Isa
  • 353
  • 2
  • 18
0
votes
1 answer

How to write a multiline default value in giter8?

All parameters and their default values are fined in the default.properties file. How can you have a parameter with a value that spans over multiple lines? Example that works: hello = world Example that doesn't work hello = one two
marios
  • 8,874
  • 3
  • 38
  • 62
0
votes
1 answer

How to leave a parameter empty in giter8

Currently in g8 you create a project by giving a default value to a parameter: g8 foundweekends/giter8 --name=template-test What if you want to leave that parameter empty?
marios
  • 8,874
  • 3
  • 38
  • 62
0
votes
1 answer

running 'sbt new' noninteractively

sbt new by default prompts the user to fill in various values. Is there a way to accept the defaults noninteractively, or specify values on the command-line?
Arnout Engelen
  • 6,709
  • 1
  • 25
  • 36
0
votes
1 answer

resolviing SBT dependencies

I am new to JVM development (I am using Scala and SBT) and am having trouble resolving dependencies. Yesterday, I had trouble resolving the org.restlet.2.1.1 dependency and today, I am having trouble with resolving the following: [error] (*:update)…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
0
votes
0 answers

g8 ripla/vaadin-scala => scala.MatchError: 0.13.0

I would like to create a scala project with vaadin using giter8 but there's a problem: new-host-3:sms oliviersaint-eve$ g8 ripla/vaadin-scala Template for Vaadin Scala projects. package [com.example]: lorry.mars2013 name [Vaadin Scala project]:…
lolveley
  • 1,659
  • 2
  • 18
  • 34
1
2