[Laszlo-dev] running Open Laszlo in jdk 1.6 and tomcat 5.5

Benjamin Shine ben at laszlosystems.com
Mon Jul 2 10:20:42 PDT 2007


A user has reported this tidbit to me, regarding his experience  
running Open Laszlo 3.4 with jdk 1.6 and tomcat 5.5.23:

To use the "deploy" target in build.xml, you'll need to undo a hack I  
had to put in to work with tomcat 5.0.30. In old tomcat, it was  
necessary to append a space to the localWar attribute of the deploy  
task:

tomcat 5.0.30
>   <deploy url="${tom.url}"
>              username="${tom.username}"
>              password="${tom.password}"
>              path="/${build.branch}"
>              localWar="file://${LPS_HOME} " />
                                            ^ this space right here  
is a hack

In tomcat 5.5.23, that space is no longer necessary, and in fact, it  
causes problems. Therefore, eliminate the space, like this:
>          <deploy url="${tom.url}"
>              username="${tom.username}"
>              password="${tom.password}"
>              path="/${build.branch}"
>              localWar="file://${LPS_HOME}"/>

This issue is reported as http://jira.openlaszlo.org/jira/browse/ 
LPP-4235, but I wanted to get this information out to the community  
before I get a chance to address the issue in code.

-ben


More information about the Laszlo-dev mailing list