users@glassfish.java.net

Problem with deploing

From: <glassfish_at_javadesktop.org>
Date: Sat, 19 Jun 2010 12:17:04 PDT

Hello,
I'm using ant script to deploy ear file. Here it is part of it:

<target name="deploy" depends="build">
        <exec executable="${asadmin}">
            <arg line=" deploy "/>
            <arg line=" --force=true "/>
            <arg line=" --upload=true "/>
            <arg line="${ear.name}" />
        </exec>
</target>
All the time i get message "Command deploy only accepts one operand"? Could someone tell me what is wrong??
Thanks for help
[Message sent by forum member 'kamieniarz']

http://forums.java.net/jive/thread.jspa?messageID=474950