diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..412eeda --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp +*.sln merge=union +*.csproj merge=union +*.vbproj merge=union +*.fsproj merge=union +*.dbproj merge=union + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b9d6bd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,215 @@ +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml +*.pubxml + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +############# +## Windows detritus +############# + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac crap +.DS_Store + + +############# +## Python +############# + +*.py[co] + +# Packages +*.egg +*.egg-info +dist/ +build/ +eggs/ +parts/ +var/ +sdist/ +develop-eggs/ +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..6259b23 --- /dev/null +++ b/pom.xml @@ -0,0 +1,41 @@ + + + Pebble Website + Pebble Website + + 4.0.0 + com.mitchellbosecke + pebble-web + 0.0.1-SNAPSHOT + war + + + + pebble-web + + + + + org.springframework + spring-webmvc + 3.1.3.RELEASE + + + com.mitchellbosecke + pebble + 0.0.1-SNAPSHOT + + + com.mitchellbosecke + pebble-spring3 + 0.0.1-SNAPSHOT + + + + org.slf4j + slf4j-jdk14 + 1.7.2 + + + \ No newline at end of file diff --git a/src/main/java/com/mitchellbosecke/pebble/controller/DocumentationController.java b/src/main/java/com/mitchellbosecke/pebble/controller/DocumentationController.java new file mode 100644 index 0000000..18ec7ba --- /dev/null +++ b/src/main/java/com/mitchellbosecke/pebble/controller/DocumentationController.java @@ -0,0 +1,15 @@ +package com.mitchellbosecke.pebble.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@Controller +@RequestMapping(value="/documentation") +public class DocumentationController { + + @RequestMapping(method=RequestMethod.GET) + public String getView() { + return "documentation/index"; + } +} diff --git a/src/main/java/com/mitchellbosecke/pebble/controller/HomeController.java b/src/main/java/com/mitchellbosecke/pebble/controller/HomeController.java new file mode 100644 index 0000000..a672eca --- /dev/null +++ b/src/main/java/com/mitchellbosecke/pebble/controller/HomeController.java @@ -0,0 +1,15 @@ +package com.mitchellbosecke.pebble.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@Controller +@RequestMapping(value="/pebble") +public class HomeController { + + @RequestMapping(method=RequestMethod.GET) + public String getView() { + return "pebble"; + } +} diff --git a/src/main/webapp/WEB-INF/servlet-context.xml b/src/main/webapp/WEB-INF/servlet-context.xml new file mode 100644 index 0000000..c7dd27b --- /dev/null +++ b/src/main/webapp/WEB-INF/servlet-context.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/documentation/index.jsp b/src/main/webapp/WEB-INF/views/documentation/index.jsp new file mode 100644 index 0000000..af05b71 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/documentation/index.jsp @@ -0,0 +1,17 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + Pebble + + +
+

+ Documentation index +

+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/home.jsp b/src/main/webapp/WEB-INF/views/home.jsp new file mode 100644 index 0000000..0b90853 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/home.jsp @@ -0,0 +1,17 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + Pebble + + +
+

+ Home +

+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/pebble.peb b/src/main/webapp/WEB-INF/views/pebble.peb new file mode 100644 index 0000000..7eed511 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/pebble.peb @@ -0,0 +1 @@ +HOME VIA PEBBLE \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..6ffcf6c --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,34 @@ + + + + Pebble Website + + + contextConfigLocation + /WEB-INF/servlet-context.xml + + + + org.springframework.web.context.ContextLoaderListener + + + + Spring MVC Dispatcher Servlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + + /WEB-INF/servlet-context.xml + + + 1 + + + + Spring MVC Dispatcher Servlet + / + + + \ No newline at end of file diff --git a/target/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class b/target/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class new file mode 100644 index 0000000..6611816 Binary files /dev/null and b/target/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class differ diff --git a/target/classes/com/mitchellbosecke/pebble/controller/HomeController.class b/target/classes/com/mitchellbosecke/pebble/controller/HomeController.class new file mode 100644 index 0000000..12e93fd Binary files /dev/null and b/target/classes/com/mitchellbosecke/pebble/controller/HomeController.class differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..e597a84 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Tue May 14 08:23:16 MDT 2013 +version=0.0.1-SNAPSHOT +groupId=com.mitchellbosecke +artifactId=pebble-web diff --git a/target/pebble-web.war b/target/pebble-web.war new file mode 100644 index 0000000..eaf624c Binary files /dev/null and b/target/pebble-web.war differ diff --git a/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class b/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class new file mode 100644 index 0000000..1c503e0 Binary files /dev/null and b/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/DocumentationController.class differ diff --git a/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/HomeController.class b/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/HomeController.class new file mode 100644 index 0000000..5186cd3 Binary files /dev/null and b/target/pebble-web/WEB-INF/classes/com/mitchellbosecke/pebble/controller/HomeController.class differ diff --git a/target/pebble-web/WEB-INF/lib/aopalliance-1.0.jar b/target/pebble-web/WEB-INF/lib/aopalliance-1.0.jar new file mode 100644 index 0000000..578b1a0 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/aopalliance-1.0.jar differ diff --git a/target/pebble-web/WEB-INF/lib/commons-io-1.3.2.jar b/target/pebble-web/WEB-INF/lib/commons-io-1.3.2.jar new file mode 100644 index 0000000..865c9e4 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/commons-io-1.3.2.jar differ diff --git a/target/pebble-web/WEB-INF/lib/commons-lang3-3.1.jar b/target/pebble-web/WEB-INF/lib/commons-lang3-3.1.jar new file mode 100644 index 0000000..a85e539 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/commons-lang3-3.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/commons-logging-1.1.1.jar b/target/pebble-web/WEB-INF/lib/commons-logging-1.1.1.jar new file mode 100644 index 0000000..1deef14 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/commons-logging-1.1.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/hamcrest-core-1.1.jar b/target/pebble-web/WEB-INF/lib/hamcrest-core-1.1.jar new file mode 100644 index 0000000..e5149be Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/hamcrest-core-1.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/jackson-annotations-2.1.1.jar b/target/pebble-web/WEB-INF/lib/jackson-annotations-2.1.1.jar new file mode 100644 index 0000000..740a1e9 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/jackson-annotations-2.1.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/jackson-core-2.1.1.jar b/target/pebble-web/WEB-INF/lib/jackson-core-2.1.1.jar new file mode 100644 index 0000000..0c17fbb Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/jackson-core-2.1.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/jackson-databind-2.1.1.jar b/target/pebble-web/WEB-INF/lib/jackson-databind-2.1.1.jar new file mode 100644 index 0000000..362738a Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/jackson-databind-2.1.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/junit-4.10.jar b/target/pebble-web/WEB-INF/lib/junit-4.10.jar new file mode 100644 index 0000000..954851e Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/junit-4.10.jar differ diff --git a/target/pebble-web/WEB-INF/lib/pebble-0.0.1-SNAPSHOT.jar b/target/pebble-web/WEB-INF/lib/pebble-0.0.1-SNAPSHOT.jar new file mode 100644 index 0000000..1b05275 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/pebble-0.0.1-SNAPSHOT.jar differ diff --git a/target/pebble-web/WEB-INF/lib/pebble-spring3-0.0.1-SNAPSHOT.jar b/target/pebble-web/WEB-INF/lib/pebble-spring3-0.0.1-SNAPSHOT.jar new file mode 100644 index 0000000..4d26b67 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/pebble-spring3-0.0.1-SNAPSHOT.jar differ diff --git a/target/pebble-web/WEB-INF/lib/slf4j-api-1.6.1.jar b/target/pebble-web/WEB-INF/lib/slf4j-api-1.6.1.jar new file mode 100644 index 0000000..f1f4fdd Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/slf4j-api-1.6.1.jar differ diff --git a/target/pebble-web/WEB-INF/lib/slf4j-jdk14-1.7.2.jar b/target/pebble-web/WEB-INF/lib/slf4j-jdk14-1.7.2.jar new file mode 100644 index 0000000..e2cb022 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/slf4j-jdk14-1.7.2.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-aop-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-aop-3.1.3.RELEASE.jar new file mode 100644 index 0000000..799a05f Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-aop-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-asm-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-asm-3.1.3.RELEASE.jar new file mode 100644 index 0000000..e45044b Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-asm-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-beans-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-beans-3.1.3.RELEASE.jar new file mode 100644 index 0000000..d96ce36 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-beans-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-context-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-context-3.1.3.RELEASE.jar new file mode 100644 index 0000000..bc698ed Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-context-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-context-support-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-context-support-3.1.3.RELEASE.jar new file mode 100644 index 0000000..0458ef0 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-context-support-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-core-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-core-3.1.3.RELEASE.jar new file mode 100644 index 0000000..3f9321c Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-core-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-expression-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-expression-3.1.3.RELEASE.jar new file mode 100644 index 0000000..d423358 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-expression-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-web-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-web-3.1.3.RELEASE.jar new file mode 100644 index 0000000..ef007c8 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-web-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/lib/spring-webmvc-3.1.3.RELEASE.jar b/target/pebble-web/WEB-INF/lib/spring-webmvc-3.1.3.RELEASE.jar new file mode 100644 index 0000000..423fe03 Binary files /dev/null and b/target/pebble-web/WEB-INF/lib/spring-webmvc-3.1.3.RELEASE.jar differ diff --git a/target/pebble-web/WEB-INF/servlet-context.xml b/target/pebble-web/WEB-INF/servlet-context.xml new file mode 100644 index 0000000..c7dd27b --- /dev/null +++ b/target/pebble-web/WEB-INF/servlet-context.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/pebble-web/WEB-INF/views/documentation/index.jsp b/target/pebble-web/WEB-INF/views/documentation/index.jsp new file mode 100644 index 0000000..af05b71 --- /dev/null +++ b/target/pebble-web/WEB-INF/views/documentation/index.jsp @@ -0,0 +1,17 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + Pebble + + +
+

+ Documentation index +

+
+ + \ No newline at end of file diff --git a/target/pebble-web/WEB-INF/views/home.jsp b/target/pebble-web/WEB-INF/views/home.jsp new file mode 100644 index 0000000..0b90853 --- /dev/null +++ b/target/pebble-web/WEB-INF/views/home.jsp @@ -0,0 +1,17 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + Pebble + + +
+

+ Home +

+
+ + \ No newline at end of file diff --git a/target/pebble-web/WEB-INF/views/pebble.peb b/target/pebble-web/WEB-INF/views/pebble.peb new file mode 100644 index 0000000..7eed511 --- /dev/null +++ b/target/pebble-web/WEB-INF/views/pebble.peb @@ -0,0 +1 @@ +HOME VIA PEBBLE \ No newline at end of file diff --git a/target/pebble-web/WEB-INF/web.xml b/target/pebble-web/WEB-INF/web.xml new file mode 100644 index 0000000..6ffcf6c --- /dev/null +++ b/target/pebble-web/WEB-INF/web.xml @@ -0,0 +1,34 @@ + + + + Pebble Website + + + contextConfigLocation + /WEB-INF/servlet-context.xml + + + + org.springframework.web.context.ContextLoaderListener + + + + Spring MVC Dispatcher Servlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + + /WEB-INF/servlet-context.xml + + + 1 + + + + Spring MVC Dispatcher Servlet + / + + + \ No newline at end of file