Re: Dealing with StringTemplate template paths

2009-10-13 Thread Stuart Sierra
On Oct 12, 8:40 am, Stuart Halloway wrote: > We are using StringTemplate's ability to search the classpath. Yep, that's how I do it. -SS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi

Re: Dealing with StringTemplate template paths

2009-10-12 Thread paul wisehart
On Oct 12, 10:48 am, Baishampayan Ghose wrote: > Stuart Halloway wrote: > > We are using StringTemplate's ability to search the classpath. That   > > way, finding templates is just as easy (!?) as getting the classpath   > > right for executable bits. I believe this is the right approach for  

Re: Dealing with StringTemplate template paths

2009-10-12 Thread Baishampayan Ghose
Stuart Halloway wrote: > We are using StringTemplate's ability to search the classpath. That > way, finding templates is just as easy (!?) as getting the classpath > right for executable bits. I believe this is the right approach for > production in the Java world. That worked! Many thanks S

Re: Dealing with StringTemplate template paths

2009-10-12 Thread Stuart Halloway
We are using StringTemplate's ability to search the classpath. That way, finding templates is just as easy (!?) as getting the classpath right for executable bits. I believe this is the right approach for production in the Java world. Cheers, Stu > Hello, > > I am using StringTemplate with

Dealing with StringTemplate template paths

2009-10-11 Thread Baishampayan Ghose
Hello, I am using StringTemplate with Clojure here and I have this issue with setting the template path for StringTemplate. I don't want to hard code the absolute path in the code, and thus I have used a relative path for the template directory. But every time I have to cd (I use SLIME) to the r