ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Asterisk shell expansion
Date Thu, 05 Jun 2003 13:09:42 GMT
> Problem: the asterisk in an <arg> tag is not expanded. How can this be
done?
> I checked the faq and the mailinglist archives, but alas. I'm using Ant
> 1.5.3 on Linux.

As Conor McNeill wrote in another thread recently, ant is not a command
shell.
To achieve what you want to do :

<!-- define a fileset with your PL/SQL sources in it -->
<fileset dir="${plsqlsource}" includes="*.pks" id="pks_id"/>
<!-- create a property containing the files included in the fileset-->
<pathconvert targetos="unix" property="pks_list" refid="pks_id"/>
      <target name="pldoc">
          <java classname="net.sourceforge.pldoc.PLDoc" fork="true"
dir="${plsqlsource}">
              <classpath>
                  <pathelement location="${pldocHome}/xalan/bin/xalan.jar"/>
                  <pathelement
location="${pldocHome}/xalan/bin/xml-apis.jar"/>
                  <pathelement location="${pldocHome}/pldoc.jar"/>
                  <pathelement location="${pldocHome}"/>
              </classpath>
              <arg value="-d"/>
              <arg value="${pldoc}"/>
              <arg value="-doctitle"/>
              <arg value="Title"/>
              <arg value="-overview"/>
              <arg value="${pldocOverview}"/>
              <arg value="${pks_list}"/>
          </java>
      </target>

>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message