jetbrick-template-2.x 已经发布,新版文档请看这里:http://subchen.github.io/jetbrick-template/2x/

§开源许可 License

Copyright 2010-2014 Guoqiang Chen. All rights reserved.
Email: subchen@gmail.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

§第三方依赖包 Dependences

§Maven 依赖 POM.xml

已发布到 Maven 中央库: http://central.maven.org/maven2/com/github/subchen/

<dependency>
    <groupId>com.github.subchen</groupId>
    <artifactId>jetbrick-template</artifactId>
    <version>1.2.12</version>
</dependency>

Eclipse Java Compiler.

<dependency>
    <groupId>org.eclipse.jdt.core.compiler</groupId>
    <artifactId>ecj</artifactId>
    <version>4.3.1</version>
</dependency>

§从源码安装 Sources

github: https://github.com/subchen/jetbrick-template

编译方法:

  1. 先安装 maven

    wget http://mirror.esocc.com/apache/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.zip
    
  2. 设置好 JDK, Maven 环境变量

    set JAVA_HOME=c:/jdk_1.6.x
    set MVN_HOME=c:/apache-maven-3.2.1
    set PATH=%JAVA_HOME%/bin;%MVN_HOME%/bin;%PATH%
    
  3. 编译

    git clone https://github.com/subchen/jetbrick-template-1x.git
    cd jetbrick-template-1x
    mvn install
    
  4. 编译后的文件存放在 target 目录中

    jetbrick-template-x.x.x.jar
    

§范例下载 Samples

官方范例可以前往: https://github.com/subchen/jetbrick-template-1x-samples/

§0.1 自定义标签 Tags/Methods/Functions:

更多信息,前往: https://github.com/yingzhuo/jetbrick-template-extend

感谢网友 应卓 提供相关的实现。

§最新版本 Latest Version

第三方依赖 jar 下载

§更新历史 Release Notes

完整历史版本,请看这里