Author: wikier
Date: Wed Apr 24 16:59:24 2013
New Revision: 1471535
URL: http://svn.apache.org/r1471535
Log:
fixed wrong markup
Added:
incubator/marmotta/site/trunk/content/markdown/ldpath/template.md
- copied, changed from r1471527,
incubator/marmotta/site/trunk/content/markdown/ldpath/template.md.vm
Removed:
incubator/marmotta/site/trunk/content/markdown/ldpath/template.md.vm
Copied: incubator/marmotta/site/trunk/content/markdown/ldpath/template.md (from
r1471527, incubator/marmotta/site/trunk/content/markdown/ldpath/template.md.vm)
URL:
http://svn.apache.org/viewvc/incubator/marmotta/site/trunk/content/markdown/ldpath/template.md?p2=incubator/marmotta/site/trunk/content/markdown/ldpath/template.md&p1=incubator/marmotta/site/trunk/content/markdown/ldpath/template.md.vm&r1=1471527&r2=1471535&rev=1471535&view=diff
==============================================================================
--- incubator/marmotta/site/trunk/content/markdown/ldpath/template.md.vm
(original)
+++ incubator/marmotta/site/trunk/content/markdown/ldpath/template.md Wed Apr
24 16:59:24 2013
@@ -38,7 +38,7 @@ in your Maven build file:
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldpath-template</artifactId>
- <version>${projectVersion}</version>
+ <version>3.0.0-incubating</version>
</dependency>
This is the basic Java code for rendering LDPath templates:
@@ -49,7 +49,7 @@ This is the basic Java code for renderin
final URI subject = conn.getValueFactory().createURI(uri);
final SesameConnectionBackend backend =
SesameConnectionBackend.withConnection(conn);
- final TemplateEngine<Value> engine = new
TemplateEngine<Value>(backend);
+ final TemplateEngine<Value> engine = new
TemplateEngine<Value>(backend);
engine.setDirectoryForTemplateLoading(new File("/path/to/templates"));
OutputStreamWriter writer = new OutputStreamWriter(System.out,
Charset.forName("utf-8"));