"This directory intentionally left empty." --wunder On Apr 16, 2010, at 12:33 PM, Ted Dunning wrote:
> Put a readme file in the directory and be done with it. > > On Fri, Apr 16, 2010 at 8:40 AM, Robert Muir <rcm...@gmail.com> wrote: > >> I don't like the idea of complicating lucene/solr's build system any more >> than it already is, unless its absolutely necessary. its already too >> complicated. >> >> Instead of adding more hacks, what is actually broken (git) is what should >> be fixed, as the link states: >> >> Currently the design of the git index (staging area) only permits *files* >> to >> be listed, and nobody competent enough to make the change to allow empty >> directories has cared enough about this situation to remedy it. >> >> On Fri, Apr 16, 2010 at 11:14 AM, Smiley, David W. <dsmi...@mitre.org >>> wrote: >> >>> Seriously. >>> I sympathize with your point that git should support empty directories. >>> But as a practical matter, it's easy to make the ant build tolerant of >>> them. >>> >>> ~ David Smiley >>> ________________________________________ >>> From: Robert Muir [rcm...@gmail.com] >>> Sent: Friday, April 16, 2010 6:53 AM >>> To: solr-dev@lucene.apache.org >>> Subject: Re: GIT does not support empty directories >>> >>> Seriously? We should hack our ant files around the bugs in every crappy >>> source control system that comes out? >>> >>> Fix Git. >>> >>> On Thu, Apr 15, 2010 at 10:55 PM, Smiley, David W. <dsmi...@mitre.org >>>> wrote: >>> >>>> I've run into this too. I don't think this needs to be documented, I >>> think >>>> it needs to be *fixed* -- that is, the relevant ant tasks need to not >>> assume >>>> these directories exist and create them if not. >>>> >>>> ~ David Smiley >>>> >>>> -----Original Message----- >>>> From: Lance Norskog [mailto:goks...@gmail.com] >>>> Sent: Wednesday, April 14, 2010 11:14 PM >>>> To: solr-dev >>>> Subject: GIT does not support empty directories >>>> >>>> There are some empty directories in the Solr source tree, both in 1.4 >>>> and the trunk. >>>> >>>> example/work >>>> example/webapp >>>> example/logs >>>> >>>> Git does not support empty directories: >>>> >>>> >>> >> https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F >>>> >>>> And so, when you check out from the Apache GIT repository, these empty >>>> directories do not appear and 'ant example' and 'ant run-example' >>>> fail. There is no 'how to use the solr git stuff' wiki page; that >>>> seems like the right place to document this. I'm not git-smart enough >>>> to write that page. >>>> -- >>>> Lance Norskog >>>> goks...@gmail.com >>>> >>> >>> >>> >>> -- >>> Robert Muir >>> rcm...@gmail.com >>> >> >> >> >> -- >> Robert Muir >> rcm...@gmail.com >> -- Walter Underwood Venture ASM, Troop 14, Palo Alto