Skip to content
Hippo Site Toolkit Scaffold
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
myhippoproject
src
.gitignore
.travis.yml
LICENSE
README.md
logo.png
logo.xcf
pom.xml

README.md

Build Status Coverage Status HST-Scaffold

HST-Scaffold

Scaffold your projects Hippo Site Toolkit configuration from text file.

Build:

# build embedded project
cd myhippoproject
mvn clean verify

# build scaffold
cd .. 
mvn clean verify

Example Scaffold (myhippoproject/scaffold.hst):

#HST scaffold example

#URL                   CONTENTPATH                          COMPONENTS
/                       /home                                home(header,&main(banner, doc),footer) # home page
/contact                /contact                             &text(header,*main,footer)             # text page
/simple                 /simple                              simple                                 # simple page
/news/:date/:id         /news/date:String/id:String          news(header,*main,footer)              # news page
/news                   /news                                newsoverview(header,list, footer)      # news overview page
/text/*path             /text/path:String                    *text                                  # text page
/text/content/*path     /text/content/path:String            *text                                  # text page

Conventions:

- template and component names are unique
- define abstract/common components at the top

Usage:

cd myhippoproject
java -jar sfd.jar [options] [args]

Options
-b     --build              Build configuration from scaffold.
-c     --configuration      Custom configuration file.
-h     --help               Show help
-d     --dryrun             Dryrun
-n     --diagnose           Find outdated components/sitemapitems/templates
-r     --rollback           Rollback Build / Update / Scaffold.
-s     --scaffold           Build scaffold from existing project configuration (reverse).
-u     --updateForce        Update and overwrite configuration from scaffold (interactive).
You can’t perform that action at this time.