Hi,
I could deploy my web application using Ant in WebLogic server
But I get the following description when I deploy it, sorry for so many
questions but am a fresher and want to explore Ant for automation.
Buildfile: E:\workspace2\Hello\src\build.xml
print message:
[java] Warning: No targets were specified. Your application will not be
deployed anywhere.
[java] To specify a target for your component, use the -component
argument
[java] Done deploying jade with
e:\bea\user_projects\domains\mydomain\.\myserver\upload\jade\jade.war
BUILD SUCCESSFUL
Total time: 22 seconds
Because of this line that no targets were specified the context root is
missing
Can u show me an example of specifying a target
My code is
<project name="Hello" default="print message">
<target name="print message">
<serverdeploy action="deploy" source="E:\jrt\jade.war">
<weblogic application="jade"
server="http://localhost:7001"
classpath="E:\bea\weblogic81\server\lib\weblogic.jar"
username="admin"
password="administrator"
component="myserver"
debug="true"/>
</serverdeploy>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]