Sie sind auf Seite 1von 2

1. Verzeichnis erstellen -> Anvisieren mit cmd und dann Roo befehl/ roo.

bat ausfhr
en von
C:\Users\oleg.scheltow\Desktop\springsource\spring-roo-1.2.4.RELEASE\bin\roo.bat
-> Copy into cmd
project --topLevelPackage com.kn.estimationSearch
jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
enum
enum
enum
enum
enum
enum

type --class ~.domain.ArtifactType


constant --name AF
constant --name DLG
constant --name DLG_AF
constant --name IF
constant --name IF_AF

enum
enum
enum
enum

type --class ~.domain.ChangeType


constant --name ADAPT
constant --name CREATE
constant --name ADAPT_CREATE

enum
enum
enum
enum

type --class ~.domain.DialogType


constant --name SEARCH
constant --name DETAIL
constant --name LOOKUP

enum
enum
enum
enum
enum

type --class ~.domain.InterfaceType


constant --name MDM
constant --name DOC
constant --name JMS
constant --name WEB_SERVICE

enum type --class ~.domain.InterfaceMode


enum constant --name INCOMING
enum constant --name OUTGOING
entity jpa --class ~.domain.Criteria --testAutomatically
field enum --fieldName artifactType --type ~.domain.ArtifactType --notNu
ll
field
field
field
field
field
field
field
field
field
field
field
field
field
field
field
field
field

enum --fieldName changeType --type ~.domain.ChangeType --notNull


number --fieldName linesOfCode --type int
number --fieldName inParameter --type int
number --fieldName outParameter --type int
enum --fieldName dialogType --type ~.domain.DialogType
boolean --fieldName readOnly
number --fieldName relatedDialogs --type int
number --fieldName dialogModes --type int
number --fieldName buttons --type int
number --fieldName fields --type int
number --fieldName dynamicFields --type int
number --fieldName tableColumns --type int
number --fieldName editableTableColumns --type int
number --fieldName linesOfLogic --type int
enum --fieldName interfaceType --type ~.domain.InterfaceType
enum --fieldName interfaceMode --type ~.domain.InterfaceMode
number --fieldName interfaceFields --type int

entity jpa --class ~.domain.Estimate --testAutomatically


field number --fieldName effort --type double --notNull

field string --fieldName featureTicket --notNull


field string --fieldName workPackage --notNull
field string --fieldName artifactName --notNull
field reference --fieldName criteria --type ~.domain.Criteria --cardinal
ity ONE_TO_ONE
field reference --fieldName estimate --class ~.domain.Criteria --type ~.
domain.Estimate --cardinality ONE_TO_ONE
perform tests
-> Import Maven Project through STS eclipse
in Roo Shell:
web mvc setup
(web mvc all --package ~.web)
Fehler Behebungstricks:
Auf dem Server: -> Serve modules without publishing aktivieren, starten
und wieder deaktivieren..
enum type --class ~.domain.InterfaceMode
enum constant --name INCOMING
enum constant --name OUTGOING
field enum --fieldName interfaceMode --type ~.domain.InterfaceMode