History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4235
Type: Bug Bug
Status: Open Open
Priority: P2 P2
Assignee: Benjamin Shine
Reporter: Benjamin Shine
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

With jdk 1.6 and tomcat 5.5.23, changes to build.xml deploy task necessary

Created: 02/Jul/07 10:18 AM   Updated: 17/Jul/07 01:01 PM
Component/s: Build System
Affects Version/s: 3.4, 4.0.0, 3.4.1, 4.0.2, 4.0.3
Fix Version/s: None

Time Tracking:
Not Specified

Severity: Minor
Runtime: N/A
Fix in hand: False


 Description  « Hide
Make the build file automatically adjust itself to compensate for this tomcat version-dependent-behavior:
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} " />

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}"/>

(Reported by mdemmon at laszlo, via email)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.