Skip to content

jbloemendal/hst-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

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).

About

hippo site toolkit scaffold (prototype)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages