Re: code review request: clojure.java.io

2010-05-12 Thread Stefan Bodewig
On 2010-05-12, Stuart Halloway wrote: > I would like to stop following symlinks, but It doesn't appear that > the File API has any ability to detect symlinks. It sounds as if Java7 will finally support dealing with symlinks via NIO.2

Re: Another build.xml patch for contrib

2008-12-07 Thread Stefan Bodewig
On 2008-12-05, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > Hi, > Am 05.12.2008 um 14:40 schrieb Stefan Bodewig: >>> BUILD FAILED >>> /Users/gj/site/clojure/clojure-contrib/build.xml:62: The type >>> doesn't support the nested "path"

Re: clojure-contrib build fails; ant does not like "path" element for jar

2008-12-05 Thread Stefan Bodewig
On 2008-12-05, Juergen Gmeiner <[EMAIL PROTECTED]> wrote: > BUILD FAILED > /Users/gj/site/clojure/clojure-contrib/build.xml:62: The type > doesn't support the nested "path" element. That was added in Ant 1.7.0, released two years ago. Stefan --~--~-~--~~~---~--~---

Re: Clojure Contrib's build.xml

2008-12-04 Thread Stefan Bodewig
On 2008-12-04, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > Pre-defining the property is difficult, since the clojure.jar > might be at arbitrary places on arbitrary systems. You can make life easier for people running the build by adding something like to build.xml. If the file doesn't ex

Re: ANT script/task for AOT compiling of clojure files?

2008-11-27 Thread Stefan Bodewig
> OK, I skimmed through compile and RT and it seems as if you "just" > needed to construct a proper URLClassLoader with the directories you > need on the classpath, set this one as the context classloader and set > *use-context-classloader* to true before you invoke compile. Yes, works. The attac

Re: ANT script/task for AOT compiling of clojure files?

2008-11-27 Thread Stefan Bodewig
On 2008-11-27, Stephen C. Gilardi <[EMAIL PROTECTED]> wrote: > On Nov 27, 2008, at 7:41 AM, Stefan Bodewig wrote: >> Looks pretty easy and it would probably take me longer to sign and >> send the CA than to put together an antlib.xml file 8-) >> If anybody is inte

Re: ANT script/task for AOT compiling of clojure files?

2008-11-27 Thread Stefan Bodewig
> On 2008-11-26, Stuart Sierra <[EMAIL PROTECTED]> wrote: >> The Ant task looks like this: >> >> >> >> ... >> > description="Precompile Clojure core sources."> >> > classpath="${build}:${cljsrc}"> >>

Re: ANT script/task for AOT compiling of clojure files?

2008-11-27 Thread Stefan Bodewig
On 2008-11-27, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > However I have no experience with ant. So how can I set the > path via an envirnment variable? > Eg. CLOJURE_LIB which is also used by some startup script which was > posted. the value of the environment variable becomes ${prefix.C

Re: ANT script/task for AOT compiling of clojure files?

2008-11-27 Thread Stefan Bodewig
On 2008-11-26, Stuart Sierra <[EMAIL PROTECTED]> wrote: > The Ant task looks like this: > > > > ... > description="Precompile Clojure core sources."> > classpath="${build}:${cljsrc}"> >

Re: Patch: universal main() with repl/script/compile

2008-11-25 Thread Stefan Bodewig
On 2008-11-25, Perry Trolard <[EMAIL PROTECTED]> wrote: >> Is the classpath set up in the Ant task?  It should look >> something like this: >> Near the top: >>   >> In the compile clojure task: >>     >              classpath="${build}:${cljsrc}"> >>         >>         >>         ...and s

Re: lancet source code available

2008-11-07 Thread Stefan Bodewig
On Fri, 07 Nov 2008, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > If I manually expand define-ant-task I get the expected exception > from forget that nonsense, I totally misread the macro definition (what a great way to introduce yourself to a community by showing how clueless you

Re: lancet source code available

2008-11-07 Thread Stefan Bodewig
On Fri, 7 Nov 2008, Stuart Halloway <[EMAIL PROTECTED]> wrote: > (2) Help me interpret the error in reflectively defining the Ant > tasks (commented out lines at the bottom of lancet/ant/ant.clj I don't have a working Clojure environment yet, so I've done a few things with the REPL and cop

Re: lancet: Clojure controlling Ant

2008-11-07 Thread Stefan Bodewig
Hi, Given this is my first post here, a bit of disclosure: I am an Ant committer and have been for more than eight years. I'm a total newbie when it comes to Clojure but have been doing Lisp (mostly Emacs Lisp but dabbled a bit with CL) for longer than I'm using Java. On Thu, 6 Nov 2008, Stuart

Re: lancet: Clojure controlling Ant

2008-11-07 Thread Stefan Bodewig
[Reposting from gmail. Sorry if this becomes a dupe if/once my original mail sent three hours ago gets unstuck] Hi, Given this is my first post here, a bit of background: I am an Ant committer and have been for more than eight years. I'm a total newbie when it comes to Clojure but have been do