Not familiar with ant but in maven I have to put the tml files in
src/main/resources instead of src/main/java. I guess ant behaves similarily.
δΊ 2012/12/14 14:13, karthi ει:
Hi,
I have developed an application in tapestry & it normally runs in tomcat7.
Also when export manually as war file & deployed it in tomcat7 application
runs without issues.
But when using ant build, compile, package as a war file - Faced error in
running the application.
Compile build:
<target name="compile" depends="init" description="Source compilation.">
<javac source="1.6" target="1.6" srcdir="src/main/java"
destdir="${target.classes.dir}" classpathref="classpath.compile"
debug="${debug}" />
</target>
Using this app compiled, but when hit the following error throws:
java.lang.RuntimeException: Page ExceptionReport did not generate any markup
when rendered. This could be because its template file could not be located,
or because a render phase method in the page prevented rendering.
When I checked in the classes folder of the build war file in tomcat server,
it contains only .java files not .tml files.
Using ant how to compile both .tml & .java files?
Anyone help me here?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-build-both-tml-java-page-using-ant-build-tp5718711.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org