ANT SCRIPT In Oracle SOA

ANT SCRIPT

  • It’s used tyo move the projects one environment to other environments
  • It’s used deploy/undeploy the projects, applications/mds.

Ant contains two folders

  1. Applications2   Application (Heloworld) 2 build.properties file, project(add 2 numbers)
  2. Tools 2  ant

  • Builds (folder)
  • Helloworld (folder) 2  helloworldapp1 2   a) deploy

 

  1. b) SCA –INF

  • Lib (folder)
  • Logs (folder)
  • Mds (folder) 2   seeds 2 apps 2common, company
  • num num file
  • properties file
  • XML document
  • Deploy all windows batch file
  • jndi properties file.

 

1)Applications:

  • Paste project inside application (Hello world)
  • Edit build.properties file and give

  1. Project name
  2. Version
  3. Enabled = true
  4. Partition

Learn Oracle SOA by Tekslate - Fastest growing sector in the industry.

Explore Online Oracle SOA Training and course is aligned with industry needs & developed by industry veterans.

Tekslate will turn you into Oracle SOA Expert.

2)Tools:

  • Edit 2   deploy all and give

  1. Set Oracle home path
  2. Set java home path
  3. Set ANT home path
  4. Set path =
  5. Set current folder = %CD%
  6. 2 ant – f build.xml deployall/deploy mds/deploy app

  • Edit 2   build properties file

  1. bea.home =, 1) java.parsed.home =, 1) oracle.home =
  2. bea.home =, 2) java.parsed.home =, 2) wl.home =
  3. output.dir = D:/temp
  4. Application = helloworld
  5. repository = D:/oracle/middleware/ - / - / seed/apps
  6. applications = com
  7. #mds.applications = company, common
  8. plan.environment = dev/prod/test
  9. serves URL = http:// local host :8001

Dev.user = weblogic, dev.overwrite = true

Dev.password = welcome 1

Dec.force default =true

Dev.server = local host

Dev.port = 8001

  1. server aurl = same aj above dev. ##

  • Edit 2  xml

<project name = “helloworld app” default = “deploy all”>

<property environment =” env”/>

 

Note:

If it is not working then you have to create one folder inside apps --->   folder name = com

2[D:/oracle/middleware/j developers/ integration/seed/apps]

 

  1. Com
  2. Xml
  3. Xsd
  4. wsdl

 

Note 2:

Must create cfg plan

  1. add_cfg plan_dev.xml
  2. add_cfg plan_test.xml
  3. add_cfg plan_port.xml

For Indepth knowledge on Oracle SOA, click on below