Look at the difference between the "catalina-deploy" target and the
"catalina-install" target. Notice that "localWar" is used to deploy a
webapp from a directory and "war" is used to deploy a .war file to the server.
Jake
At 05:38 PM 8/27/2004 -0400, you wrote:
>From the exception you quote it is obvious the deploy task is not
executing a zip/unzip/jar/unjar command properly. Where are these tasks
defined?
Gerardo
> I'm afraid I don't see exactly how that explains why I'm getting that
> exception message.
>
> --- Jacob Kjome <[EMAIL PROTECTED]> wrote:
>
>>
>> Here's what I do (only relevant targets below)...
>>
>> <presetdef name="preset-catalina-deploy">
>> <catalina-deploy
>> url="${manager.url}"
>> username="${manager.username}"
>> password="${manager.password}"
>> path="/${app.war.name}" />
>> </presetdef>
>>
>> <target name="catalina-deploy" depends="war.jar,-catalina.init"
>> description="Deploy webapp remotely from war file" >
>> <preset-catalina-deploy
>> update="true"
>> war="${app.war.url.file}" />
>> </target>
>>
>> <target name="catalina-install" depends="war,-catalina.init"
>> description="Deploy a webapp locally from a war directory" >
>> <preset-catalina-deploy
>> config="${app.war.ccf.url.file}"
>> localWar="${app.war.url.dir}" />
>> </target>
>>
>> <target name="catalina-reinstall" depends="catalina-undeploy,
>> catalina-install"
>> description="convenience target calling catalina-undeploy,
>> then
>> catalina-install" />
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]