[Laszlo-dev] Required Ant target for recompiling LPS server Java classes

Donald Anderson dda at ddanderson.com
Mon Oct 10 09:29:29 PDT 2011


Hi Raju,

Maybe someone else can answer the 'minimal time' technique.  I always just do 'ant' at the top level, and I bounce tomcat.  Maybe that's overkill in the case you've only changed java files, there always seems to be plenty else to work on while a build is running... :-)

If you're working just on .lzs files (I know, not your question), you can do a quick build for just one runtime, e.g.: cd WEB-INF/lps/lfc; ./buildlfc --runtime=dhtml

- Don

On Oct 10, 2011, at 11:58 AM, Raju Bitter wrote:

> Which Ant targets need to be executed when changes are made to Java
> classes in WEB-INF/lps/server? I'm looking for the least time
> consuming compilation/redeployment?
> 
> Just running "ant build" in folder ./WEB-INF/lps/server, and then "cd
> $LPS_HOME; ant webapp.undeploy" plus "cd $LPS_HOME; ant webapp.deploy"
> does not load changes to the Java classes, correct?


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: dda at ddanderson.com
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20111010/c53562d9/attachment.html


More information about the Laszlo-dev mailing list