Ogawd you're right. WTF am I doing on the github.com version? I always
git.apache.org. This would explain other times I've had weird trunk
build problems- again, out of sync with real-time reality.

Apologies for wasting your time.

On Tue, Jul 24, 2012 at 10:26 PM, Chris Hostetter
<[email protected]> wrote:
>
> : bq.  we do not want 'failonerror="false"' when building the example
> : Yes. "if directory is there, remove it and fail on error" is the right
> : ant pattern.
>
> nothing in ant ever delets that directory (nor should it, because it is
> committed into SVN) ... the ant build file *empties* the contents of the
> directory.
>
> : This bug is in no way fixed on trunk. Do a fresh trunk checkout from git 
> and:
> : ant clean
> : cd solr
> : ant example
>
> Works perfectly fine for me (see "My git test" below).  Are you sure your
> git clone is up to date?  (the github mirror is only synced once a day as
> i recall)
>
> : git ignores the .gitignore file and does not check out solr-webapps. A
> : .gitignore file inside solr-webapps does not make sense, if ant
> : removes solr-webapps. Maybe the .gitignore should be one directory up,
> : in solr/example, and it ignores solr-webapps?
>
> The point of the file is not to tell git to ignore anything -- it is just
> a placeholder file because otherwise git would ignore the empty directory
> (other projects suggest using ".gitkeep" but for some reason Solr has
> always used an empty ".gitignore" for this)
>
> This is *exactly* how it worked before mark's changes.  The only thing
> that's differnet (from svn/ant/git's perspective) is that the directory is
> "solr-webapp" instead of "work"
>
>
>         . . . My git test . . .
>
> hossman@frisbee:~/tmp$ git clone git://git.apache.org/lucene-solr.git
> Cloning into 'lucene-solr'...
> ...
> Resolving deltas: 100% (138283/138283), done.
> hossman@frisbee:~/tmp$ cd lucene-solr/
> hossman@frisbee:~/tmp/lucene-solr [trunk] $ git l | head -1
> a668864416eaef36490c346ce793977a68dfe489 LUCENE-4252: null these out for GC 
> to close ram leak
> hossman@frisbee:~/tmp/lucene-solr [trunk] $ ls solr/example/solr-webapp/
> hossman@frisbee:~/tmp/lucene-solr [trunk] $ ls -al solr/example/solr-webapp/
> total 8
> drwxrwxr-x  2 hossman hossman 4096 Jul 24 22:17 .
> drwxrwxr-x 11 hossman hossman 4096 Jul 24 22:17 ..
> -rw-rw-r--  1 hossman hossman    0 Jul 24 22:17 .gitignore
> hossman@frisbee:~/tmp/lucene-solr [trunk] $ ant clean && cd solr && ant 
> example
> ...
> BUILD SUCCESSFUL
> Total time: 51 seconds
> hossman@frisbee:~/tmp/lucene-solr/solr [trunk] $ cd example && java -jar 
> start.jar
> 2012-07-24 22:24:04.839:INFO:oejs.Server:jetty-8.1.2.v20120308
> 2012-07-24 22:24:04.854:INFO:oejdp.ScanningAppProvider:Deployment monitor 
> /home/hossman/tmp/lucene-solr/solr/example/contexts at interval 0
> 2012-07-24 22:24:04.857:INFO:oejd.DeploymentManager:Deployable added: 
> /home/hossman/tmp/lucene-solr/solr/example/contexts/solr.xml
> 2012-07-24 22:24:04.897:INFO:oejw.WebInfConfiguration:Extract 
> jar:file:/home/hossman/tmp/lucene-solr/solr/example/webapps/solr.war!/ to 
> /home/hossman/tmp/lucene-solr/solr/example/solr-webapp/webapp
> ...
>
>         ...and everything is up and running.
>
>
>
>
>
>
>
> -Hoss
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Lance Norskog
[email protected]

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

Reply via email to