-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For now, added the OSSRH snapshot repository to the parent in order t…
…o resolve snapshot dependencies. Will clean this up later. Also, see a short readme here: hapipheno-core/src/main/java/org/monarchinitiative/phenoex/model/README.md
- Loading branch information
1 parent
8f9cf91
commit ca40088
Showing
3 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
14 changes: 0 additions & 14 deletions
14
hapipheno-core/src/main/java/org/monarchinitiative/phenoex/model/GenerateModel.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
hapipheno-core/src/main/java/org/monarchinitiative/phenoex/model/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This package is an interim setup for generating the set of interfaces that represent the "hub model". The interfaces are generated under `src-gen/main/java`. | ||
|
||
The `model.modeldsl` is a simple DSL for declaring our "entities". See the file, it should be easy to understand until there is more detailed documentation. Once that file is updated, run the following from the commandline/terminal and the core module's directory: | ||
|
||
``` | ||
mvn exec:java \ | ||
-Dexec.mainClass=com.essaid.model.dsl.Main \ | ||
-Dexec.args="--dsl-source src/main/java/org/monarchinitiative/phenoex/model/model.modeldsl --out-dir src-gen/main/java" | ||
``` | ||
|
||
This will delete and re-generate the `src-gen` to contain the Java model interfaces based on the entities defined in `src/main/java/org/monarchinitiative/phenoex/model/model.modeldsl` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters