ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Optional <entry/> if and only if properties file exists?
Date Thu, 13 Nov 2008 10:38:15 GMT
<rapc>, <jdp> and <entry> arent provided by Ant.
Where do they come from?

What you could do is defining a makro:
<macrodef name="my.rapc">
    <element name="entries" implicit="true"/>
        <rapc output="${}" srcdir="${src.dir}" destdir="${build.dir}">
            <jdp file="">

    <entry file="" />

So the subprojects could place that <entry> element under <my.rapc> or dont.


>-----Urspr√ľngliche Nachricht-----
>Von: Patrick Waugh [] 
>Gesendet: Donnerstag, 13. November 2008 10:59
>An: Ant Users List
>Betreff: Optional <entry/> if and only if properties file exists?
>Currently, I use this:
>		<rapc output="${}" srcdir="${src.dir}" 
>			<jdp file="">
>				<entry file="" />
>			</jdp>
>		...<snip>...
>                </rapc>
>and this is in a "common" build.xml.  However, there are some projects
>that do not require the <entry /> as they have only one entry point.
>How can I use this entry ONLY if the file exists?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message