Ah.... ok, I see now. I use git-svn so empty folders are removed for
me by default.

> This expects example/example/...

Right, should be without the prefix. I'll revert and see how it works
with svn first then.

Dawid

On Thu, Jan 26, 2012 at 3:11 PM, Uwe Schindler <[email protected]> wrote:
> Also: can this work?
>
>> > +      <fileset dir="example">
>> > +        <include name="example/**/data/**/*" />
>> > +        <include name="example/webapps/**/*" />
>> > +        <include name="example/work/**/*" />
>> > +        <exclude name="**/.gitignore" />
>> > +      </fileset>
>
> This expects example/example/...
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: [email protected]
>
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:[email protected]]
>> Sent: Thursday, January 26, 2012 3:11 PM
>> To: [email protected]
>> Subject: RE: svn commit: r1236178 - /lucene/dev/trunk/solr/build.xml
>>
>> These directories are part of the SVN checkout, they should always be
>> available! What's wrong here? Be also sure to not remove them by your script!
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: [email protected]
>>
>>
>> > -----Original Message-----
>> > From: [email protected] [mailto:[email protected]]
>> > Sent: Thursday, January 26, 2012 2:57 PM
>> > To: [email protected]
>> > Subject: svn commit: r1236178 - /lucene/dev/trunk/solr/build.xml
>> >
>> > Author: dweiss
>> > Date: Thu Jan 26 13:56:50 2012
>> > New Revision: 1236178
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1236178&view=rev
>> > Log:
>> > Fixed 'ant clean' failing if a directory didn't exist. Replaced with
>> > an include pattern.
>> >
>> > Modified:
>> >     lucene/dev/trunk/solr/build.xml
>> >
>> > Modified: lucene/dev/trunk/solr/build.xml
>> > URL:
>> > http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=12361
>> > 78&r
>> > 1=1236177&r2=1236178&view=diff
>> >
>> ================================================================
>> > ==============
>> > --- lucene/dev/trunk/solr/build.xml (original)
>> > +++ lucene/dev/trunk/solr/build.xml Thu Jan 26 13:56:50 2012
>> > @@ -184,9 +184,12 @@
>> >      <delete dir="package" />
>> >      <delete dir="example/solr/lib" />
>> >      <delete includeemptydirs="true">
>> > -      <fileset dir="example" includes="**/data/**/*" 
>> > excludes="**/.gitignore"
>> > />
>> > -      <fileset dir="example/webapps" includes="**/*"
>> excludes="**/.gitignore"
>> > />
>> > -      <fileset dir="example/work" includes="**/*" 
>> > excludes="**/.gitignore" />
>> > +      <fileset dir="example">
>> > +        <include name="example/**/data/**/*" />
>> > +        <include name="example/webapps/**/*" />
>> > +        <include name="example/work/**/*" />
>> > +        <exclude name="**/.gitignore" />
>> > +      </fileset>
>> >      </delete>
>> >      <echo message="TODO: fix tests to not write files to
>> > 'core/src/test- files/solr/data'!" />
>> >      <delete dir="core/src/test-files/solr/data" />
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] For additional
>> commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to