| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia at 2015-07-03 |
| | Rendered using Apache Maven Fluido Skin 1.3.0 |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <meta name="Date-Revision-yyyymmdd" content="20150703" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Ant Tasks – Foreach Task</title> |
| <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> |
| <link rel="stylesheet" href="./css/site.css" /> |
| <link rel="stylesheet" href="./css/print.css" media="print" /> |
| |
| |
| <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script> |
| |
| |
| </head> |
| <body class="topBarDisabled"> |
| |
| |
| |
| |
| <div class="container-fluid"> |
| <div id="banner"> |
| <div class="pull-left"> |
| <div id="bannerLeft"> |
| <h2>Ant Tasks</h2> |
| </div> |
| </div> |
| <div class="pull-right"> <a href=".." id="bannerRight"> |
| <img src="../images/axis-small.png" alt="Apache Axis"/> |
| </a> |
| </div> |
| <div class="clear"><hr/></div> |
| </div> |
| |
| <div id="breadcrumbs"> |
| <ul class="breadcrumb"> |
| |
| |
| <li class=""> |
| <a href="http://www.apache.org/" class="externalLink" title="Apache"> |
| Apache</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class=""> |
| <a href="../../../" title="Axis"> |
| Axis</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class=""> |
| <a href="../../" title="Axis 1.x"> |
| Axis 1.x</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class=""> |
| <a href="../" title="Java"> |
| Java</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class=""> |
| <a href="./" title="Ant Tasks"> |
| Ant Tasks</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class="">Foreach Task</li> |
| |
| |
| |
| <li id="publishDate" class="pull-right">Last Published: 2015-07-03</li> <li class="divider pull-right">|</li> |
| <li id="projectVersion" class="pull-right">Version: 1.4.1-SNAPSHOT</li> |
| |
| </ul> |
| </div> |
| |
| |
| <div class="row-fluid"> |
| <div id="leftColumn" class="span3"> |
| <div class="well sidebar-nav"> |
| |
| |
| <ul class="nav nav-list"> |
| <li class="nav-header">Overview</li> |
| |
| <li> |
| |
| <a href="ant.html" title="Introduction"> |
| <i class="none"></i> |
| Introduction</a> |
| </li> |
| |
| <li> |
| |
| <a href="dependencies.html" title="Dependencies"> |
| <i class="none"></i> |
| Dependencies</a> |
| </li> |
| <li class="nav-header">Tasks</li> |
| |
| <li> |
| |
| <a href="axis-admin.html" title="axis-admin"> |
| <i class="none"></i> |
| axis-admin</a> |
| </li> |
| |
| <li> |
| |
| <a href="axis-java2wsdl.html" title="axis-java2wsdl"> |
| <i class="none"></i> |
| axis-java2wsdl</a> |
| </li> |
| |
| <li> |
| |
| <a href="axis-wsdl2java.html" title="axis-wsdl2java"> |
| <i class="none"></i> |
| axis-wsdl2java</a> |
| </li> |
| |
| <li class="active"> |
| |
| <a href="#"><i class="none"></i>foreach</a> |
| </li> |
| |
| <li> |
| |
| <a href="runaxisfunctionaltests.html" title="runaxisfunctionaltests"> |
| <i class="none"></i> |
| runaxisfunctionaltests</a> |
| </li> |
| <li class="nav-header">Apache</li> |
| |
| <li> |
| |
| <a href="http://www.apache.org/licenses/LICENSE-2.0.html" class="externalLink" title="License"> |
| <i class="none"></i> |
| License</a> |
| </li> |
| |
| <li> |
| |
| <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"> |
| <i class="none"></i> |
| Sponsorship</a> |
| </li> |
| |
| <li> |
| |
| <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> |
| <i class="none"></i> |
| Thanks</a> |
| </li> |
| |
| <li> |
| |
| <a href="http://www.apache.org/security/" class="externalLink" title="Security"> |
| <i class="none"></i> |
| Security</a> |
| </li> |
| </ul> |
| |
| |
| <form id="search-form" action="http://www.google.com/search" method="get" > |
| |
| <input value="ws.apache.org/axis/java" name="sitesearch" type="hidden"/> |
| <input class="search-query" name="q" id="query" type="text" /> |
| </form> |
| <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script> |
| |
| <hr class="divider" /> |
| |
| <div id="poweredBy"> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> |
| <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> |
| </a> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div id="bodyColumn" class="span9" > |
| |
| <!-- ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. --> |
| |
| |
| <div class="section"> |
| <h2><a name="Description"></a>Description</h2> |
| |
| |
| <p>Call a target foreach entry in a set of parameters based on a fileset.</p> |
| |
| <p><i>For Axis development; there is no support or stability associated with this task</i></p> |
| |
| <div class="source"> |
| <pre><target name="target1"> |
| <foreach target="target2"> |
| <param name="param1"> |
| <fileset refid="fset1"/> |
| </param> |
| <param name="param2"> |
| <item value="jar" /> |
| <item value="zip" /> |
| </param> |
| </foreach> |
| </target> |
| |
| <target name="target2"> |
| <echo message="prop is ${param1}.${param2}" /> |
| </target></pre></div> |
| |
| <p>Really this just a wrapper around "AntCall"<br /> |
| Added a "type" attribute that works precisely like |
| its equivalent in ExecuteOn. It allows |
| the user to specify whether directories, files, or |
| both directories and files from the filesets are |
| included as entries in the parameter set.</p> |
| |
| </div> |
| |
| |
| <div class="section"> |
| <h2><a name="Parameters"></a>Parameters</h2> |
| |
| |
| <table border="0" class="table table-striped"> |
| |
| <tr class="a"> |
| |
| <th>Attribute</th> |
| |
| <th>Description</th> |
| |
| <th>Type</th> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td>fork</td> |
| |
| <td>If true, forks the ant invocation.</td> |
| |
| <td>boolean</td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td>inheritall</td> |
| |
| <td>If true, pass all properties to the new Ant project. Defaults to true.</td> |
| |
| <td>boolean</td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td>inheritrefs</td> |
| |
| <td>If true, pass all references to the new Ant project. Defaults to false</td> |
| |
| <td>boolean</td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td>target</td> |
| |
| <td>Target to execute, required.</td> |
| |
| <td>java.lang.String</td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td>verbose</td> |
| |
| <td>Enable verbose output when signing ; optional: default false</td> |
| |
| <td>boolean</td> |
| </tr> |
| </table> |
| |
| </div> |
| |
| |
| <div class="section"> |
| <h2><a name="Parameters_as_nested_elements"></a>Parameters as nested elements</h2> |
| |
| |
| <p>param (org.apache.axis.tools.ant.foreach.ParamSet)<br /></p> |
| |
| </div> |
| |
| |
| |
| </div> |
| </div> |
| </div> |
| |
| <hr/> |
| |
| <footer> |
| <div class="container-fluid"> |
| <div class="row span12">Copyright © 2000-2015 |
| <a href="http://www.apache.org/">The Apache Software Foundation</a>. |
| All Rights Reserved. |
| |
| </div> |
| |
| |
| |
| </div> |
| </footer> |
| </body> |
| </html> |