Todolist example using Maven Java Spring REST HTML Backbone RequireJS LESS (TODO: OAuth2)
eclipse setup:
mvn eclipse:clean eclipse:eclipse
Setup BD: todolist-parent\todolist-web\src\main\webapp\META-INF\context.xml
<Environment name="todolist/url" value="http://localhost:8080/todolist" type="java.lang.String" override="false" />
<Environment name="db/hbmDialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" type="java.lang.String" override="false" />
<Environment name="db/type" value="MYSQL" type="java.lang.String" override="false" />
<Environment name="db/showSql" value="true" type="java.lang.Boolean" override="false" />
<Environment name="db/jdbcDriver" value="com.mysql.jdbc.Driver" type="java.lang.String" override="false" />
<Environment name="db/url" value="mysql://todolist:todo@localhost:3306/todolist" type="java.lang.String" override="false" />
<Environment name="mail/emailFrom" value="[email protected]" type="java.lang.String" override="false" />
<Environment name="mail/serverUrl" value="smtp.gmail.com" type="java.lang.String" override="false" />
<Environment name="mail/serverPort" value="587" type="java.lang.String" override="false" />
<Environment name="mail/serverUser" value="[email protected]" type="java.lang.String" override="false" />
<Environment name="mail/serverPassword" value="cursosdegloballogic3" type="java.lang.String" override="false" />
------- LESS --------
Site URL: http://lesscss.org/
Maven integration: http://mojo.codehaus.org/lesscss-maven-plugin/usage.html
source directory: /todolist-web/src/main/webapp/backbone/less output directory: /todolist-web/src/main/webapp/backbone/css
compile LESS files:
cd /todolist/todolist-parent/todolist-web/ run maven command: mvn lesscss:compile
Recommended IDE: Sublime Text Editor 2 with LESS package