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

Scaffolding of new services "activator new frond-end lagom-frontend-java" #81

Closed
myfear opened this issue Apr 8, 2016 · 11 comments
Closed

Comments

@myfear
Copy link

myfear commented Apr 8, 2016

I was searching for a quick way to add a new service module to an existing example.
Copy and pasting isn't exactly what I was looking for. Maybe there can be an easy template/scaffolding mechanism to support a command like this:

activator new frond-end lagom-frontend-java

which adds the required module definition to the build.sbt, required plugins and creates the directory structure?

@myfear
Copy link
Author

myfear commented Apr 20, 2016

Not an issue.

@myfear myfear closed this as completed Apr 20, 2016
@McPringle
Copy link

@myfear, why did you close this issue? We were trying Lagom today at the Hackergarten Basel with five people and get really irritated how much code we have to copy/paste/edit manually to create a new service. We are working with Maven and IntelliJ IDEA. What is your preferred way of creating a new service?

@jroper
Copy link
Member

jroper commented Jan 27, 2017

We're going to look at whether atomist rug can help here, we think it probably can.

@Fabszn
Copy link

Fabszn commented Jan 27, 2017

Hi,

I created this lagom's plugin https://github.com/Fabszn/scaffolding-plugin-lagom

Aim of this plugin is exactly the needs that you describ

@McPringle
Copy link

McPringle commented Jan 27, 2017

Hi @jroper, at the Hackergarten we were talking about Lazybones.
Hi @Fabszn, unfortunately we are using Maven, not SBT.

@Fabszn
Copy link

Fabszn commented Jan 27, 2017

Hi @McPringle, thanks for your answer..
What do you think about same plugin for Maven?

@jroper
Copy link
Member

jroper commented Jan 27, 2017

I had a go at using Maven archetypes to add a new service - they do support updating projects, however the support is incredibly buggy, not at all well documented, and I found for what we needed, it was completely useless.

One nice thing about Atomist Rug is it should work for both Maven and sbt.

@Fabszn
Copy link

Fabszn commented Jan 28, 2017

Oki

@McPringle
Copy link

At the Hackergarten Basel we have a few people with Lazybones know-how. It is a very easy to configure project creation tool based on templates and is build system independent. I can suggest to create a service template at the next meeting in February (it will be announced in our Meetup.com group soon). I don't know atomist rug, so Lazybones is my favourite.

@ignasi35
Copy link
Contributor

Hi @McPringle, in a recent meetup our colleague @tommpy worked on an atomist-lagom PoC (https://github.com/tommpy/lagom-scala-atomist).

@tommpy
Copy link

tommpy commented Feb 10, 2017

My brief experiment with atomist showed a lot of promise. I was more focussed on the scala version, but actually atomist has much better support for java and maven. It should be pretty easy to do what you need.

It would be great to get a collection of rugs which can manipulate lagom projects.

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

No branches or pull requests

6 participants