Re: ANN: Preliminary Clojure Support in Buildr

2009-03-23 Thread Christian Vest Hansen
On Thu, Feb 26, 2009 at 8:36 PM, Daniel Spiewak wrote: > >> > > Note that you cannot mix Java and Clojure sources within the same >> > > project. > > It is supported in the latest changeset.  The following configurations > are possible: > > - > Just Clojure: >  * src/main/cloj

Re: ANN: Preliminary Clojure Support in Buildr

2009-03-03 Thread Daniel Spiewak
Warning: if you're using a clone of my Git repository, you will probably need to reclone from scratch, otherwise things will no longer work. Because of some changes in the upstream Buildr SVN repository, everybody on the project has been doing a ton of rebasing lately. This means that the latest

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-27 Thread Daniel Spiewak
As an aside, "gem install djspiewak-buildr" probably works again. I've merged Assaf's fixes, and GitHub *claims* to be building things correctly. So, I haven't tried it, but I can't think of a reason why it wouldn't work. Daniel On Feb 27, 2:39 pm, Christian Vest Hansen wrote: > On Fri, Feb 27

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-27 Thread Christian Vest Hansen
On Fri, Feb 27, 2009 at 6:47 PM, Daniel Spiewak wrote: > > Correction: > >  git clone git://github.com:djspiewak/buildr.git git clone git://github.com/djspiewak/buildr.git Excellent. Got it installed. > > Daniel > > On Feb 27, 11:44 am, Daniel Spiewak wrote: >> I was able to repeat the problem

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-27 Thread Daniel Spiewak
Correction: git clone git://github.com:djspiewak/buildr.git Daniel On Feb 27, 11:44 am, Daniel Spiewak wrote: > I was able to repeat the problem.  I suspect that the issue is the way > in which GitHub is building its gems.  I think Assaf (the lead dev for > Buildr) has implemented a workarou

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-27 Thread Daniel Spiewak
I was able to repeat the problem. I suspect that the issue is the way in which GitHub is building its gems. I think Assaf (the lead dev for Buildr) has implemented a workaround in some of the more recent commits, but I haven't been able to merge with his master so I really couldn't say. For the

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
Crud. I suspect this is something weird with the way that the GitHib gem server works. I'll try to repeat the problem on Ubuntu as soon as I get back to my computer. In the meantime, you could try these commands: sudo gem uninstall djspiewak-buildr sudo gem install djspiewak-buildr Daniel

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
rowe:~$ buildr --version /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- buildr (LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /opt/local/lib/ruby/gems/1.8/g

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
I'm not sure what the File not found thing is all about, but you should still be ok (crazy gems). Try the following: buildr --version Daniel On Feb 26, 3:16 pm, Christian Vest Hansen wrote: > On Thu, Feb 26, 2009 at 6:17 PM, Daniel Spiewak wrote: > > > Odd.  Must be a problem with RubyForg

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
On Thu, Feb 26, 2009 at 6:17 PM, Daniel Spiewak wrote: > > Odd.  Must be a problem with RubyForge.  If you try again, does it > work? I tried again at home and got quite a bit further. Maybe it was just a hiccup at rubyforge. However, I still see some questionable things in the output, and I ha

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
> > > Note that you cannot mix Java and Clojure sources within the same > > > project. It is supported in the latest changeset. The following configurations are possible: - Just Clojure: * src/main/clojure Clojure and Scala: * src/main/clojure * src/main/scala Clojure,

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
>  * does it support namespaces separated in several files (handling files > that begin with 'in-ns, or just not trying to compile them ?) >  * if so, will it support the scenario of multiple files per ns, where just > another file (and not the file defining the ns) is modified ? I didn't even k

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
> > Note that you cannot mix Java and Clojure sources within the same > > project. > > Aww... :( Joint-compilation is actually a hard problem normally. However, since Clojure is late-bound, I should be able to do it without too much horror. Actually, I should be able to do joint compilation wi

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Laurent PETIT
Wow, great ! Some notes I took while reading your e-mail : (those are some pitfalls I came through while implementing clojuredev's eclipse auto-build feature) * does it support namespaces separated in several files (handling files that begin with 'in-ns, or just not trying to compile them ?) *

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Daniel Spiewak
Odd. Must be a problem with RubyForge. If you try again, does it work? Daniel On Feb 26, 10:58 am, Christian Vest Hansen wrote: > Nice initiative! > > However, it the net-ssh dependency has problems: > > [cvh: ~]$ sudo gem install djspiewak-buildr > ERROR:  While executing gem ... (Gem::Remot

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
Nice initiative! However, it the net-ssh dependency has problems: [cvh: ~]$ sudo gem install djspiewak-buildr ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) timed out (http://gems.rubyforge.org/gems/net-ssh-2.0.4.gem) On Sat, Feb 21, 2009 at 10:33 PM, Daniel Spiewak wrote

ANN: Preliminary Clojure Support in Buildr

2009-02-21 Thread Daniel Spiewak
I'm pleased to announce preliminary (and very experimental) support for the Clojure AOT compiler and REPL within Apache Buildr (http:// buildr.apache.org). At present, this support is only available within my Git fork available here: git://github.com/djspiewak/buildr.git More specifically, Clojur