Open agoncal opened 6 years ago
The generator only works when at the root of the project. We need to autodetect the relative path of the project if there is one and modify the configuration accordingly.
@ldoguin I moved the clevercloud
directory down, so now I have:
├── .clever.json
├── .git
├── clevercloud/
| ├── application-clevercloud.yml
| └── maven.json
├── sponsors-api
├── sponsors-monolith
└── sponsors-ui
and changed the directory for the jar "jarName": "./sponsors-monolith/target/sponsor-0.0.1-SNAPSHOT.war"
but I still get Error: The given jarName (sponsor-0.0.1-SNAPSHOT.war) does not exist.
Do I have to change something else?
I think it's because jhipster does not use baseName from .yo-rc.json to generate war name but artifactId from pom.xml You have to edit jar name manualy in maven.json file to fix it
I've done all the steps (installation, answering the questions, ...) but when I execute
clever deploy
I get the error "Error: The given jarName (sponsor-0.0.1-SNAPSHOT.war) does not exist". Under theclevercloud
directory the generator has created :The
maven.json
file looks like this:And if I
ls
mytarget
directory I do have the war file:The full error: