Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lcaballero/hydra
A code generator project. Much like yeoman, but written in java.
https://github.com/lcaballero/hydra
Last synced: 23 days ago
JSON representation
A code generator project. Much like yeoman, but written in java.
- Host: GitHub
- URL: https://github.com/lcaballero/hydra
- Owner: lcaballero
- Created: 2014-05-19T04:58:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-28T20:27:09.000Z (over 10 years ago)
- Last Synced: 2024-04-14T19:27:33.186Z (9 months ago)
- Language: Java
- Size: 266 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Overview
Hydra is a code generator project in the spirit of Yeoman, though not as heavy handed as Maven Archetypes,
written in Java and with possibly a more arcane name.The idea is that given some kind of seed structure and a bit of custom code this tool would be how future
project setup would be done. No requirement exists to include scaffolding for things like sub-views
or plug-in(s) to existing project structures -- but we'll see how that goes. Providing examples and
guidelines for testing project generation are higher on the list.## Target Process
- Use a generator-generator to start a new generator
- Within that generator take advantage of core models and utilities to facilitate a new project template.
- Store templates in a local repo and generate templates for a variety of uses.## Setup
At the moment the project is very young and is maintained as a working project here just for backup, and
to entertain anyone who is interested. As of 5-19-2014 there is not a working example, but check back
in a few weeks if this is something you are interested in contributing to.## TODO (Mostly considerations)
- Making target directories that don't exist in the source.
- Placing source files in different, or generated location (as per the above).
This will be necessary to expand a namespace from a '.' delimited name to a '/' file path delimited name.
- Reading source files from a zip
- Reading source files from a jar where the app is running. This would be useful for creating a fat jar with
all of the deps and then reading all source files from inside of that jar.- Make the temp directory a configuration detail just. The normal case maybe not exist or have special
permissions, so allow configuration to override the default.- How to test a code generator that uses the framework?
- Add jar-ing to the app so that it can be used to jar up a generator with a main?## Config
- Location of template repos (local)
- Location of ancillary file copy repo
- For instance a repo of .gitignore files maintained outside of the template.
- Or location of license files copied and then placed in the target.
- Would the selection menu be outside of the jar or inside?
- How would meta-data be associated with files?
- Maybe from a web service?
- Then treat the response like a browser would treat an ajax request?