Hi,
I've got a problem wih a conflict include exclude :
Here is my task :
<copy todir="${classes.dir}" flatten="true" includeemptydirs="false">
<fileset dir="${root.dir}">
<include name="${config.path}/*.xml"/>
<exclude name="${config.path}/*-mock.xml" />
<exclude name="${config.path}/*-${value}.xml"/>
<include name="${config.path}/*-${value}-mock.xml"/>
</fileset>
</copy>
I desire to copy all XML files,
Exclude XML files ended with mock.xml excepted pattern like
something-${value}-mock.xml
Exclude XML files ended with something-${value}.xml
It seems to have a conflict between
<exclude name="${config.path}/*-mock.xml" />
<include name="${config.path}/*-${value}-mock.xml"/>
Ant does not copy files with pattern *-${value}-mock.xml
I think there is a very trivial solution but can find it ... and I may be i
have not well understand exclude / include priority
Thanks
--
View this message in context:
http://www.nabble.com/Conflicts-include-exclude-tf3651842.html#a10201064
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]