-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
22 lines (15 loc) · 1.01 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This is a Spring ROO Plugin for include Twitter Bootstrap Dojo Implementation provided by @xsokev (http://dojobootstrap.com) in your ROO Projects.
To get it running download the maven project and package it to get com.roo.bootstrap-0.1.0.BUILD-SNAPSHOT.jar artifact.
Add the module to your ROO project running console using:
osgi start --url file://${PATH_TO_YOUR_ROO_BOOTSTRAP_JAR}/com.roo.bootstrap-0.1.0.BUILD-SNAPSHOT.jar
Then you can use it in a Spring MVC web project using the command:
web mvc install bootstrap
This is a sample ROO script that builds a demo application:
project --topLevelPackage com.roo.bootstrap.demo --projectName roo-bootstrap-demo --java 6 --packaging JAR
persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE
entity jpa --class com.roo.bootstrap.demo.domain.Foo
field string --fieldName foo
osgi start --url file://${PATH_TO_YOUR_ROO_BOOTSTRAP_JAR}/com.roo.bootstrap-0.1.0.BUILD-SNAPSHOT.jar
web mvc setup
web mvc install bootstrap
web mvc all --package com.roo.bootstrap.demo.web