This can be done by MSBuild directly without involving an external tool like xcopy or robocopy using Item groups and built-in MSBuild tasks. We do this to deliver final artifacts in our build system.
I should have some time in the next day or two to dig into the build for ClojureCLR, I will post back the required "mojo" in a reply here (unless somebody beats me to it :) to do this without using anything other than what comes with VS. On Aug 26, 11:50 am, Rich Hickey <richhic...@gmail.com> wrote: > On Aug 26, 11:42 am, Shawn Hoover <shawn.hoo...@gmail.com> wrote: > > > > > > > On Sat, Aug 15, 2009 at 8:36 AM, David Miller <dmiller2...@gmail.com> wrote: > > > Clojure.Compile is just for AOT-compilation. It will compile whatever > > > libs are on the command line. As you state, it is used to bootstrap, > > > i.e. compile core.clj and the rest of the bootstap clojure code into > > > assemblies, which can then be loaded quickly by Clojure.Main. > > > > If you follow all the directions on the wiki, specifically, > > > >http://wiki.github.com/richhickey/clojure-clr/installing-clojureclr > > >http://wiki.github.com/richhickey/clojure-clr/compiling-clojureclr > > >http://wiki.github.com/richhickey/clojure-clr/running-clojureclr > > > > you should get up-and-running. > > > David, > > I wrote a post-build event script for Clojure.Compile that automates > > everything in compiling-clojureclr. If you're interested, I'll contribute > > it. > > > The downside is that in order to copy files in a hierarchy with limited > > extensions (clj, dll, pdb) I used robocopy.exe, which is standard on Vista > > but not XP. Or: > > - I could port it to xcopy to make it more portable (not hard--just requires > > several xcopy commands for one robocopy) > > - Developers on XP could install the Resource Kit that includes robocopy > > - Developers on XP could manually copy the files around as before > > I would greatly prefer that everything related to ClojureCLR worked on > stock XP. > > Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---