-
Bug
-
Resolution: Unresolved
-
Major
-
2.9.2.Final
-
None
Having a script like:
project-new --named MyLibrary --topLevelPackage com.sopra.demo --type war ; jpa-setup --container JBOSS_EAP6 --provider Hibernate ; jpa-new-entity --named Book ; jpa-new-field --named title ; jpa-new-field --named ISBN ; jpa-new-field --named summary --length 2000 ; jpa-new-field --named published --type java.util.Date ; constraint-setup --providers Hibernate ; constraint-add --onProperty title --constraint NotNull ; constraint-add --onProperty ISBN --constraint NotNull ; constraint-add --onProperty summary --constraint Size --max 2000 ; jpa-new-entity --named Author ; jpa-new-field --named firstname ; jpa-new-field --named lastname ; jpa-new-field --named bio --length 2000 ; jpa-new-field --named birthdate --type java.util.Date ; jpa-new-field --named books --type com.sopra.demo.model.Book --relationshipType One-to-Many --inverseFieldName author ; constraint-add --onProperty firstname --constraint NotNull ; constraint-add --onProperty lastname --constraint NotNull ; constraint-add --onProperty bio --constraint Size --max 2000 ; scaffold-setup scaffold-generate --targets com.sopra.demo.model.Book com.sopra.demo.model.Author
After the last line is executed, exit is immediately called and the execution finishes, without executing the last command