I want to deploy the soa composite using ant.
My Requirement is :
a cmd file or a text file which has a command to package the composite and deploy it.
--> ant script
When i run the ant script the projects must be deployed.
can anyone help me on how to write multiple ant commands into a txt or cmd file and execute it line by line so that i can 1st package and deploy project1 and then project2 in a sequence.
Please help me out ans i need it urgently
Thanks in Advance!!
Thanks for the info...Actually i went through this blog but as i am new to ant script i find it very difficult to know what each tag does. Is there any doc on all the elements and its function.
plz let me know a way to understand these.
Also I am gonna use only the package and deploy ant files.
I tried and modified the build.xml file.
When i execute it iam getting the below error.
failed to create task or type foreach
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Can anyone help me on how to sove this issue.
you need the ant contrib lib. put it in your <ant_home>/lib directory and try again
Thanks..now Iam able to build the file successfully.
But iam getting below server error.
[deployComposite] setting user/password..., user=me
[deployComposite] Processing sar=C:\Users\me\Documents\JDeveloper\mywork\app\..\app\Project\deploy\Project_rev1.0.jar
[deployComposite] Adding sar file - C:\Users\me\Documents\JDeveloper\mywork\app\..\app\Project\deploy\Project_rev1.0.jar
[deployComposite] INFO: Creating HTTP connection to host:server URL, port:0000
[deployComposite] INFO: Received HTTP response from the server, response code=404
[deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
[deployComposite] ---->response code=404, error:null
the servers are up and running fine.
is there anything else that i should check?
are you using the correct host and port ?
"URL of the server that hosts the SOA Infrastructure application (soainfra app in the deploymentslist) (for example,