I have to restart my application to pick up changes to specifications and templates, how can I avoid this?
Answer Posted / Amit Ranjan
To avoid restarting your Apache Tapestry application for every change in specifications or templates, you can use a development server like Jetty or Tomcat with automatic reloading enabled. In Maven-based projects, this can be achieved by adding the following plugins to your pom.xml file:
```xml
<build>
<plugins>
<plugin>
<groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-maven-plugin</artifactId>
<!-- ... -->
<configuration>
<!-- ... -->
<devMode>true</devMode>
</configuration>
</plugin>
</plugins>
</build>
```
This will enable automatic reloading of your application during development.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category