I was looking for an easy way to increase my jsp development speed. The main
problem being the redeployement of the entire EAR just to view the changes made
to a single jsp file.
I think I found an acceptable way to speed up development by copying my jsp
files from my development dir to the expanded jboss tmp dir. On reloading the
jsp in the browser JBoss recompiles the JSP and the changes are visible. Hereby
reducing the deployement of a JSP file from about 30 seconds to 5.
| <target name="deploy-jsp-jboss" depends="-init" description="Quickly
deploy the current jsp files">
| <taskdef resource="net/sf/antcontrib/antcontrib.properties">
| <classpath>
| <pathelement location="lib/ant-contrib.jar"/>
| </classpath>
| </taskdef>
| <foreach target="-copyjsp" param="dir">
| <path>
| <dirset
dir="${jboss.home}/server/default/tmp/deploy" includes="*earname*"><depth
max="0"/></dirset>
| </path>
| </foreach>
| </target>
|
| <target name="-copyjsp">
| <copy todir="${dir}/webapp.war/WEB-INF/jspf">
| <fileset dir="web/webapp/jspf"/>
| </copy>
| </target>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855725#3855725
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855725
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user