Closed rodolfoliviero closed 13 years ago
scaffold models with compound names generated wrong class name. vraptor scaffold atividadeItem fooBar:string generated the following output.
create src/main/java/app/controllers/AtividadeitemController.java create src/test/java/app/controllers/AtividadeitemControllerTest.java create src/main/java/app/models/Atividadeitem.java create src/test/java/app/models/AtividadeitemTest.java create src/main/java/app/repositories/AtividadeitemRepository.java create src/main/java/app/repositories/AtividadeitemRepositoryImpl.java create src/test/java/app/repositories/AtividadeitemRepositoryImplTest.java create src/main/webapp/WEB-INF/jsp/atividadeItem/index.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/show.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/form.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/edit.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/newAtividadeitem.jsp
Another bug is that getter and setter methods is wrong. fooBar generates setFoobar and getFoobar
setFoobar and getFoobar
done https://github.com/caelum/vraptor-scaffold/commit/0573673492436474485c013f0790fbb6ff750579
scaffold models with compound names generated wrong class name. vraptor scaffold atividadeItem fooBar:string generated the following output.
create src/main/java/app/controllers/AtividadeitemController.java create src/test/java/app/controllers/AtividadeitemControllerTest.java create src/main/java/app/models/Atividadeitem.java create src/test/java/app/models/AtividadeitemTest.java create src/main/java/app/repositories/AtividadeitemRepository.java create src/main/java/app/repositories/AtividadeitemRepositoryImpl.java create src/test/java/app/repositories/AtividadeitemRepositoryImplTest.java create src/main/webapp/WEB-INF/jsp/atividadeItem/index.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/show.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/form.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/edit.jsp create src/main/webapp/WEB-INF/jsp/atividadeItem/newAtividadeitem.jsp
Another bug is that getter and setter methods is wrong. fooBar generates
setFoobar and getFoobar