wldeploy on all files in deployment folder


I am trying to automate my web logic deployment for my local dev environment. I currently an using a master ant build file that compiles ~60 projects and copies the related ear,war, jar files to a deployment folder off of the root. Right now we install these one by one vie the wl console. I am trying to automate this using wldeploy in the master build file. I would like to be able to feed this task a list of files to deploy sequentially. Ant-contrib has something similar but it appears to have very little activity which makes me nervous. Plus I would prefer to use native ant functionality if possible.

Is there an option native to ant? Would I be better-off scripting something to call web logic.deployer? Is there another option I am not yet aware of?


The best option would be WLST. Try below after connecting to your admin server.

app-list = [app1 app2 app3 ... app60] for app in app-list: edit() startEdit() app-path = "<path-to-your-apps>/"+app1 deploy(app,app-path,targets=<your-targets>) print 'deployed '+app activate()

Make use of the document <a href="http://docs.oracle.com/cloud/latest/fmw122100/WLSTC/reference.htm#WLSTC202" rel="nofollow">http://docs.oracle.com/cloud/latest/fmw122100/WLSTC/reference.htm#WLSTC202</a>

Please keep this thread updated for any issues.

You can also make use of python OS module to pick the app list dynamically.


  • Append dynamic vue component after specific element
  • Response of a GraphQL query/mutation
  • What is the best way to join ordered arrays?
  • Stalling at deallocate
  • how tensorflow worker driver training process and cause variables update on ps job?
  • WP7 - read from CSV file? Or what to do with the data?
  • How to avoid multiple definition of function (Linux, GCC/G++, Code::Blocks)
  • Consuming a web service with the Netbeans Platform
  • SQL query to group by maximal sets of a column having inner consecutive distances below a threshold
  • How dotnet build chooses the output name
  • How can I let users share their location in Bot Framework webchat channel?
  • Count New Lines in Text File
  • Create function that can pass a parameter without making a new component
  • Dynamically load css stylesheet and wait for it to load
  • Access object instance inside an event handler
  • Cannot save model when using ember render helper
  • get iframe content as string
  • Retrieve IP address of device
  • Trouble saving JSON data for use by multiple UIViews [duplicate]
  • converting text file into xml using php?
  • How to generate and display a QR Code in ionic 2
  • Conversion from string “a” to type 'Boolean' is not valid
  • D3 get axis values on zoom event
  • Unable to get column index with table.getColumn method using custom table Model
  • Detect when Facebook like button is clicked
  • custom UITableViewCell with image for highlighting
  • Needing to do .toArray() to get output of mongodb .find() on key name not value
  • Installing iPhone App to iPhone
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Launch Runnable Jar from Web Start
  • Can a Chrome extension content script make an jQuery AJAX request for an html file that is itself a
  • Upload files with Ajax and Jquery
  • How to pass list parameters for each object using Spring MVC?
  • Proper way to use connect-multiparty with express.js?
  • Turn off referential integrity in Derby? is it possible?
  • How does Linux kernel interrupt the application?
  • Add sale price programmatically to product variations
  • Unable to use reactive element in my shiny app
  • How do I use LINQ to get all the Items that have a particular SubItem?