Kavin's SOA Blog

July 28, 2009

Using Oracle SOA Suite Command-Line Upgrade Tool to merge Multiple BPEL Projects Into a Single Composite


Most important benefit of using command line tool is the ability to merge multiple projects (BPEL, ESB) in to single composite.

Required ANT build files are located under

<JDEV_HOME>\bin

OR

<FMW_SOA_HOME>\bin

Since my machine has got both, i have used FMW_SOA_HOME as ORACLE_HOME

  • Set SOA Environment using soaversion.sh (.cmd) located under ORACLE_HOME/bin directory
  • Run the Ant project from ORACLE_HOME/bin directory, as follows:

ant -f ant-sca-upgrade.xml -Dsource sourceDir -Dtarget targetDir -DappName app_name

  • To combine multiple BPEL projects into a single composite, provide multiple source directories as part of the -Dsource property on the command line. Use colon (:) or a semicolon (;) as path separators. Also use double quotes to identify the multiple source directories to prevent Ant from parsing the input in an unexpected manner

ant -f ORACLE_HOME/bin/ant-sca-upgrade.xml -Dsource "sourceDir1:sourceDir2" -Dtarget targetDir -DappName app_name

This way you will see your multiple projects created under one composite.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.