Tried it locally and it works great. Has any one tried to get it work
with eclipse and CCW?
thanks,
Jimmy
> >
https://github.com/ibdknox/noir/commit/fe065938142a55cc9dc3d02b10b859...
>
> > Cheers,
> > Chris.
>
> > On Wed, Aug 10, 2011 at 3:53 PM, Mark Rathwell <
mark.rathw...@gmail.com>wrote:
>
> >> Sounds great! Let me know when you want me to start testing it out.
>
> >> - Mark
>
> >> On Wed, Aug 10, 2011 at 6:09 PM, Chris Granger <
ibdk...@gmail.com> wrote:
>
> >>> I think what I'm going to do is move some of server out of server.clj and
> >>> put into server/handler.clj (new). From there we can create an appengine
> >>> util that builds up an appengine compliant stack of middleware using
> >>> server.handler. Sound reasonable?
>
> >>> That separation is on my plate for tonight, if I do that, I think we can
> >>> make this work.
>
> >>> Cheers,
> >>> Chris.
>
> >>> On Wed, Aug 10, 2011 at 2:56 PM, Mark Rathwell <
mark.rathw...@gmail.com>wrote:
>
> >>>> So, here's where I'm at...with some very minor modifications to noir
> >>>> [1], I can get down to ring issues. The current issue that I can't get past
> >>>> is:
>
> >>>> noir.server/gen-handler calls noir.server/init-routes, which calls
> >>>> compojure.handler/site, which adds the multipart-params ring middleware.
> >>>> This middleware uses the blacklisted class java.rmi.server.UID. For this
> >>>> reason, appengine-magic already has a replacement in
> >>>> appengine-magic.multipart-params/wrap-multipart-params.
>
> >>>> Fixing this would require, minimally, offering another way to get a ring
> >>>> handler that does not call compojure.handler/site, and maybe that added the
> >>>> relevant default middlewares other than multipart-params, and let the user
> >>>> add that from appengine-magic.
>
> >>>> Not sure how to proceed, is this a realistic path to pursue? What are
> >>>> your thoughts?
>
> >>>> [1] gist of modified noir.server:
https://gist.github.com/1138348
> >>>> basically, just modified the 'use' of
clojure.java.io and
> >>>> clojure.tools.namespace to :only the used functions and 'require'd
> >>>> ring.adapter.jetty
>
> >>>> On Tue, Aug 9, 2011 at 11:57 PM, Andy Brown <
andy...@gmail.com> wrote:
>
> >>>>> FYI, This is kind of stack trace you get when you try and :use
> >>>>> noir.server with a google app engine project.
>
> >>>>> noir.core does not actually give you an error from just doing :use
> >>>>> noir.core however you are stuck since you can't easily get at the ring
> >>>>> handler without noir.server
>
> >>>>>
http://pastebin.com/1hUkZeQw
>
> >>>>> App engine does not like it when something messes with threads
> >>>>> apparently...
>
> >>>>> - Andy
>
> >>>>> On Tue, Aug 9, 2011 at 8:23 PM, Andy Brown <
andy...@gmail.com> wrote:
>
> >>>>>> You don't need an app engine account.
>
> >>>>>> Download the java dev environment for gae here:
> >>>>>>
http://code.google.com/appengine/downloads.html
>
> >>>>>> and the follow the getting started steps here:
>
> >>>>>>
https://github.com/gcv/appengine-magic
>
> >>>>>> They are pretty complete and will get you started about as quickly as
> >>>>>> possible. There is also a lein plugin to generate a skeleton project.
>
> >>>>>> Let me know if you run into any issues.
>
> >>>>>> Andy
>
> >>>>>> On Aug 9, 2011, at 8:08 PM, Chris Granger <
ibdk...@gmail.com> wrote:
>
> >>>>>> Hey guys,
>
> >>>>>> I'll look into it, is there a really quick way to check if something
> >>>>>> works? Or do I need to signup for an app-engine account and actually push
> >>>>>> things up?
>
> >>>>>> Cheers,
> >>>>>> Chris.
>
> >>>>>> On Tue, Aug 9, 2011 at 7:30 PM, Mark Rathwell <
> >>>>>>
mark.rathw...@gmail.com> wrote:
>
> >>>>>>> Yeah, load-views is going to cause problems. I've not been able to
> >>>>>>> use java.io.File at all without crashes. I'll try to find some time to look
> >>>>>>> into it further this week.
>
> >>>>>>> Not married to app engine, but it makes life a whole lot easier when
> >>>>>>> you're doing this stuff on the side. Noir (and noir-cljs and pinot) is
> >>>>>>> looking pretty sweet also, especially the ClojureScript integration.
>
> >>>>>>> On Tue, Aug 9, 2011 at 9:53 PM, Andy Brown <
andy...@gmail.com>wrote:
>
> >>>>>>>> I was playing with noir and app engine over the weekend and you can
> >>>>>>>> get a handler using noir.server/gen-handler however you will find Google App
> >>>>>>>> Engine does not like some of what is in noir.server (and probably elsewhere)
> >>>>>>>> and will crash.
>
> >>>>>>>> Likely it's
> >>>>>>>>
https://github.com/ibdknox/noir/blob/master/src/noir/server.clj#L4
> >>>>>>>> and
> >>>>>>>>
https://github.com/ibdknox/noir/blob/master/src/noir/server.clj#L66
>
> >>>>>>>> I did not really get to test any of my theories since I went down a
> >>>>>>>> bit of a rabbit hole with lien and local maven repositories after that but I
> >>>>>>>> will push my experiments to github when and if I figure anything out (maybe
> >>>>>>>> next weekend)
>
> >>>>>>>>
https://github.com/andymoe/noir/tree/gae-patch
>
> >>>>>>>> I'm all in with app engine so I would love to hear more about any
> >>>>>>>> progress made with noir and appengine-magic and I'll be sure to email the
> >>>>>>>> group if I make any real progress.
>
> >>>>>>>> - Andy
>