Changeset b663f5056e5bdfe03b305a18163f6ffa58a6f106
- Timestamp:
- 11/01/06 14:31:55
(2 years ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1162387915 +0100
- git-parent:
[1643ee7f303706cfc20f3bc5dd4b66ab26e412a1]
- git-author:
- Christopher Jung <bktheg@web.de> 1162387915 +0100
- Message:
Template-Compiler auf Java portiert
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8aae8ea |
rb663f50 |
|
| 36 | 36 | <property name="src.home" value="${basedir}/src"/> |
|---|
| 37 | 37 | <property name="web.home" value="${basedir}/web"/> |
|---|
| | 38 | <property name="ds2.configdir" value="${basedir}/web/WEB-INF/cfg"/> |
|---|
| | 39 | <property name="templates.compiledir" value="${src.home}/net/driftingsouls/ds2/server/templates" /> |
|---|
| 38 | 40 | |
|---|
| 39 | 41 | <!-- ==================== Compilation Control Options ==================== --> |
|---|
| … | … | |
| 90 | 92 | <delete dir="${build.home}/WEB-INF" /> |
|---|
| 91 | 93 | <delete dir="${dist.home}"/> |
|---|
| | 94 | <delete dir="${templates.compiledir}" /> |
|---|
| 92 | 95 | </target> |
|---|
| 93 | 96 | |
|---|
| … | … | |
| 186 | 189 | <!-- ==================== Template Target ================================== --> |
|---|
| 187 | 190 | |
|---|
| 188 | | <target name="templates" depends="prepare"> |
|---|
| 189 | | <mkdir dir="${src.home}/net/driftingsouls/ds2/server/templates"/> |
|---|
| 190 | | <exec dir="${basedir}" executable="bash" failonerror="true"> |
|---|
| 191 | | <arg line="${basedir}/templates.sh"/> |
|---|
| 192 | | <arg line="${basedir}/templates/"/> |
|---|
| 193 | | </exec> |
|---|
| | 191 | <target name="templates" depends="prepare,compile-framework"> |
|---|
| | 192 | <mkdir dir="${templates.compiledir}"/> |
|---|
| | 193 | <java classname="net.driftingsouls.ds2.server.framework.templates.TemplateCompiler" fork="true"> |
|---|
| | 194 | <arg value="${ds2.configdir}" /> |
|---|
| | 195 | <arg value="${basedir}/templates" /> |
|---|
| | 196 | <arg value="${templates.compiledir}" /> |
|---|
| | 197 | <classpath> |
|---|
| | 198 | <pathelement path="${build.home}/WEB-INF/classes" /> |
|---|
| | 199 | </classpath> |
|---|
| | 200 | <classpath refid="compile.classpath" /> |
|---|
| | 201 | </java> |
|---|
| 194 | 202 | </target> |
|---|
| 195 | 203 | |
|---|
| rae09dfe |
rb663f50 |
|
| 29 | 29 | import net.driftingsouls.ds2.server.framework.Loggable; |
|---|
| 30 | 30 | |
|---|
| 31 | | // TODO: Compiler |
|---|
| 32 | 31 | // TODO: Runtime-functions |
|---|
| 33 | 32 | |
|---|