users@glassfish.java.net

sun-appserv-update fails

From: Gerald Holl <gerald_at_holl.co.at>
Date: Tue, 27 Nov 2007 11:04:19 +0100

Hello,

I can't get the asant sun-appserv-update task working.
The build.xml file looks like:

<target name="deploy" depends="package">
   <sun-appserv-deploy file="app.ear" passwordfile="passwd.txt"
     precompilejsp="true" upload="false"/>
</target>
<target name="undeploy">
   <sun-appserv-undeploy name="app" passwordfile="passwd.txt" />
</target>
<target name="update" depends="package">
   <sun-appserv-update file="app.ear" domain="app"/>
</target>

If I launch the update target it reports the following output:
[sun-appserv-update] Warning: module app.ear does not exist in server
repository.
[sun-appserv-update] All files are up-to-date.

Although it's only a warning the app isn't being updated.

The deploy and undeploy targets are working as expected.

What's wrong there?

Thanks,
Gerald