Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

🚫Deprecated. Utility generator for working with the generator-ibm-java.

License

Notifications You must be signed in to change notification settings

ibm-developer/generator-ibm-java-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yeoman generator providing utilities for IBM Java Generator

This yeoman generator provides utilities for interacting with the IBM Java Generator.

Pre-requisites

Installing the generator

To install the generator:

  1. git clone [email protected]:ibm-developer/generator-ibm-java-utils.git
  2. cd generator-utils
  3. npm install
  4. npm link

Running the generator

Running the generator will produce a script file under generated in the current directory that can be used to invoke the Java generator.

Running with prompting

To run the generator providing options via prompts:

  1. yo ibm-java-utils
  2. Answer the prompts with the required options for generation
  3. The generator will create a file called generated/yojava.sh to run the Java generator
  4. The generator will create a file called generated/data.json which can be used for subsequent runs

Running with a JSON object

The generator can be run using a JSON object such as:

{
	"createType": "blank/spring",
	"buildType": "gradle",
	"appName": "MyProject",
	"groupId": "projects",
	"artifactId": "MyProject",
	"platforms": [
		"cli",
		"bluemix",
		"kube"
	],
	"bluemix": "\"{\\\"backendPlatform\\\":\\\"SPRING\\\"}\""
}

Create a file called data.json with the above contents and run:

yo ibm-java-utils --data data.json 

The generator will create a file called generated/yojava.sh to run the Java generator.

Further documentation

For more information on running the Java generators see the docs.

About

🚫Deprecated. Utility generator for working with the generator-ibm-java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published