Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: Maintain login page error


 
Search: 

6: Re: Re: Re: Re: Re: Maintain login page error
In response to 5 05/31/09 06:03 PM
[ Reply | Forward ]
Hi Praveen,

When deployed, lams-www.war should always be a folder, not a compressed war file.

You'll find in the lams_build/build.xml this line:

<ant antfile="../${lams_www}/build.xml" target="build-war" inheritAll="false"/>

This builds the war file, then these lines deploy it as a folder:

<move file="${assembly.lams.ear}/lams-www.war" tofile="${assembly.lams.ear}/temp.war"/>
        <unjar src="${assembly.lams.ear}/temp.war" dest="${assembly.lams.ear}/lams-www.war"/>
        <delete file="${assembly.lams.ear}/temp.war"/>


Im not sure why it would ever deploy as a file but it would have to be a problem during the execution of one of these lines.

Let me ask a question....

When you run the assemle-ear task, refresh the lams_build project and look in lams_build/assembly/lams.ear, lams-www.war should be a directory... is this the case?

Luke

Posted by Luke Foxton

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum