Re: ANN: just-maven-clojure-archetype 0.3-RELEASE

2022-11-19 Thread Mark Derricutt
Nice, Almost surprised to not see my clojure-maven-plugin pop in there - it’s always a surprise finding folk still using it. -- "Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree On 20/11/2022 at 1:43:52 PM, Jon Seltzer wrote: > Bumped version, some

Re: [BLOG] Understanding Meyvn

2020-09-06 Thread Mark Derricutt
I spy a shout out :-) Cheers. clojure-maven-plugin is still seeing use (and not only by us at $work), and every so often gets PRs against it but has been largely unchanged for some time. I keep thinking about updating it and removing some of the goals that got added over time (how many variations

Re: Issue when moving to Clojure 1.10

2019-01-16 Thread Mark Derricutt
ver they happen to need AOT is kind of annoying - rare, but still annoying. --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinprac

Re: What Happened to "java -jar clojure.jar hosehead.clj" ?

2018-07-30 Thread Mark Derricutt
t all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You received th

Re: clojure test has 10 failures

2018-07-24 Thread Mark Derricutt
der encoding? --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkD

Re: Bazel as Clojure build tool

2018-04-15 Thread Mark Derricutt
rner some improvements depending on the size of the namespaces, or the amount of tests in them. Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold.

Re: [ANN] tools.deps.alpha

2017-07-25 Thread Mark Derricutt
"The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twit

Re: [ANN] tools.deps.alpha

2017-07-25 Thread Mark Derricutt
levance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You received t

Re: Migrating nREPL out of Clojure Contrib

2017-07-20 Thread Mark Derricutt
n I submitted ) that it had to be printed/faxed and sent off, and took ages to get approved. I have no idea what the process is these days? Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for

Re: [ANN] New Clojure Podcast: defn

2016-05-19 Thread Mark Derricutt
On 19 May 2016, at 17:43, Vijay Kiran wrote: > Just wanted to let you know that we started a new podcast about Clojure:  > [https://defn.audio](https://defn.audio) +2 - enjoyed the first episode. Congrats. -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.ne

Re: Clojure vs OSGi once again...

2016-02-04 Thread Mark Derricutt
ojure 1.8. A complete example can be found in my https://github.com/talios/clojure.osgi.demo repo. Mark -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You received thi

Re: Clojure vs OSGi once again...

2016-02-04 Thread Mark Derricutt
Should be winging it's way to Maven Central in an hour or so on the next sync cycle. -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You received this message be

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Mark Derricutt
cases "as far as standard java is concerned". Ideally it would be good to get these fixed in 8, or at least 9 - and I think it would certainly be a good test case for tracking such fixes, so ultimately any fixes will be "a good thing", but that might be a while coming. --

ANN: clojure-maven-plugin 1.7.1

2015-06-17 Thread Mark Derricutt
to align with the upcoming 1.7 clojure release ). Mark -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You received this message because you are subscribed to the Google

Re: Too many words written on referential transparency in Clojure and Haskell

2015-04-22 Thread Mark Derricutt
technically a map over a set may yield a collection of an equal or smaller size, but never greater. This seems to fuel a lot of debate when entered into - so I guess I'm asking for trouble in replies here :) Mark -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http

Re: Any chance of a module system being added to the language?

2015-04-13 Thread Mark Derricutt
On 13 Apr 2015, at 19:22, Colin Yates wrote: Ok, thanks Mark. Ping me on IRC (friend) or Twitter @talios if you have any questions.. -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http

Re: Any chance of a module system being added to the language?

2015-04-12 Thread Mark Derricutt
). We've not really progressed much using clojure.osgi at work really, sadly that got lost amongst other commitments. -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- You

Re: Status of lean runtime?

2014-12-11 Thread Mark Derricutt
-- Mark Derricutt http://www.theoryinpractice.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt -- 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

Re: working intellij plugin?

2014-07-14 Thread Mark Derricutt
On 14 Jul 2014, at 17:40, Colin Fleming wrote: Both La Clojure and the IntelliJ Leiningen plugin are effectively discontinued in favour of Cursive. There's full instructions on how to get started here:[https://cursiveclojure.com/userguide](https://cursiveclojure.com/userguide). Let me know

Re: Clojure vs OSGi once again...

2013-10-14 Thread Mark Derricutt
Cheers, I took the time this morning to hack around a bit, and [forked the repository](https://github.com/talios/clojure.osgi) and updated it to: * Use, and embed/re-export clojure 1.5.1, exporting clojure related packages. * Use the `maven-bundle-plugin` From there I just adapted my internal

Clojure vs OSGi once again...

2013-10-13 Thread Mark Derricutt
Hey all, Once again I'm lending my hand at trying to get some clojure code working under OSGi, and once again hitting issues with the good ole class loader. I have a simple OSGi bundle project which embeds clojure.jar, and contains a single source file: (ns

ANN: Illegal Argument podcast on Typed Clojure

2013-03-21 Thread Mark Derricutt
Hey all, We couldn't let everyone at Clojure/West have all the fun so our latest podcast is an awesome chat with Ambrose Bonnaire Sergeant all about Typed Clojure. http://illegalargument.com/illegal-argument-episode-98-typed-clojure Enjoy. -- -- You received this message because you are

Re: ANN: Illegal Argument podcast on Typed Clojure

2013-03-21 Thread Mark Derricutt
No worries - we enjoyed recording this one. I think it's up there with our episode with James Ladd on Redline Smalltalk [1] for deep technical content and a great conversation. [1] http://illegalargument.com/illegal-argument-78-smalltalking-on-the-jvm Jim foo.bar wrote: thanks guys! I

Re: Clojure Conj Videos

2013-01-02 Thread Mark Derricutt
+1 - I'm sure I've even seen any BLOGS on this years Conj let alone videos. It's like everyone must have signed some super secret confidentiality clause :) CA mailto:java10c...@gmail.com 3 January 2013 4:57 AM Hello folks, Does anyone know when the Clojure Conj 2012 videos will become

Re: Clojure Conj Videos

2013-01-02 Thread Mark Derricutt
Thats 1 ;-) Sean Corfield mailto:seancorfi...@gmail.com 3 January 2013 1:12 PM http://corfield.org/blog/post.cfm/clojure-conj-2012 -- 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

Re: ANN: codeq

2012-10-10 Thread Mark Derricutt
Mmmm codeq - the Clojure answer to the Smalltalk Image+Changes file….. Interesting. Take codeq as a running image at a repl. for every operation, assignment, execution, record a change. Rollback your repl, restart+replay the repl…. . On 11/10/2012, at 3:27 AM, Rich Hickey

ANN: clojure-maven-plugin 1.3.12

2012-08-14 Thread Mark Derricutt
clojure-maven-plugin 1.3.12 A small patch release of the clojure-maven-plugin has been pushed out to Maven Central: Support for Colin James REPL-y project. Simply add a project dependency on REPL-y and it will be used for the clojure:repl goal. A new configuration flag

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 25/07/12 9:17 PM, Laurent PETIT wrote: Third option : use an editor/IDE which allows you to fold docs (one by one / fold all / unfold all), and / or to navigate in your source code via code outlines I was just musing on wanting a Hopscotch style IDE for clojure:

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 26/07/12 3:40 PM, Frank Siebenlist wrote: We have an smalltalk-like clojure namespace/var/type-browser for docstrings/clojuredocs/source at https://github.com/franks42/clj-ns-browser; that may be of use… which happens to be built on top of seesaw. Hey that looks awesome! I saw it mentioned

Re: Idea around SCMs and Clojure

2012-07-20 Thread Mark Derricutt
On 20/07/12 2:45 AM, Mark wrote: That's what I was thinking. Is Envy still around? The Google didn't give me much after a quick search. Not sure about Envy - but Store is what Cincom Smalltalk now uses: - public repository -

Re: Idea around SCMs and Clojure

2012-07-18 Thread Mark Derricutt
On 17/07/12 10:27 PM, N8Dawgrr wrote: In a nutshell its about why use files for source in Clojure, can we do better? Almost sounds like you're wanting the Smalltalk image along with something like Monticello - the smalltalk distributed version control system ( versioning at the function

Re: Converting project.clj to maven's pom.xml

2012-06-07 Thread Mark Derricutt
Maybe I should write a lein plugin that generates a pom for my maven plugin - but that feels a little rude :) Mark On 21/04/12 8:46 AM, Ben Smith-Mannschott wrote: It does't configure clojure-maven-plugin, so executing 'mvn package' with the resulting pom will not produce a useful result.

Re: OSGi manifest creation for Clojure projects

2012-03-16 Thread Mark Derricutt
Awesome. I see you're using the dependency plugin to only copy your specific AOT classes, I should really update the clojure-maven-plugin to only copy the discovered namespaces along. I remember Chas raised a bug years ago to fix this in the actual clojure compiler but I don't think it ever

Re: get all record instances

2011-11-05 Thread Mark Derricutt
Would something like: (def ^:dynamic *SOURCES* (ref [])) (defrecord Source [name url]) (defmacro defsource [name url] `(dosync (alter *SOURCES* conj (Source. ~name ~url (defn get-all-sources [] @*SOURCES*) (defsource Google google.com) do ok? Man - it's been too long since I've done

Re: get all record instances

2011-11-05 Thread Mark Derricutt
I think Colin's record may be more detailed that just a key/value, he mentioned 'simplified definitions' so I'm guessing there things elided from the post. -- Great artists are extremely selfish and arrogant things — Steven Wilson, Porcupine Tree On Sun, Nov 6, 2011 at 6:03 AM, gaz jones

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-26 Thread Mark Derricutt
I'm unhappy with ClojureScript but not in anyway like it seems you are. My unhappiness with it is more akin to my unhappiness with ANY language that tries to target multiple VM platforms, and that's mostly due to the -potential- to break the community. One of the main reasons Clojure made it

Re: better community docs: getting started

2011-07-25 Thread Mark Derricutt
I just thought - Java Webstart based clooj direct from try-clojure.org. Mark On 25/07/2011, at 6:51 PM, pmbauer wrote: For usability, nothing beats the single-click. In seconds, Clooj gives her a one-stop-shop. So I see Clooj as something worth putting right along with try-clojure.org. It

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-25 Thread Mark Derricutt
Oracle announced/talked about Nashorn at the recent JVM Languages summit, this is an Invoke Dynamic based Javascript runtime which is (aiming) for inclusion in JDK8. I do so hope however that someone manages to pull that out for a lets run this NOW on Java 7 as that would be a great

Re: better community docs: getting started

2011-07-25 Thread Mark Derricutt
I just thought - Java Webstart based clooj direct from try-clojure.org. On 25/07/2011, at 6:51 PM, pmbauer wrote: For usability, nothing beats the single-click. In seconds, Clooj gives her a one-stop-shop. So I see Clooj as something worth putting right along with try-clojure.org. It not

Re: better community docs: getting started

2011-07-25 Thread Mark Derricutt
I just thought - Java Webstart based clooj direct from try-clojure.org. On 25/07/2011, at 6:51 PM, pmbauer wrote: For usability, nothing beats the single-click. In seconds, Clooj gives her a one-stop-shop. So I see Clooj as something worth putting right along with try-clojure.org. It not

Re: One syntax to rule them all

2011-07-23 Thread Mark Derricutt
...and immediately a new attack vector is born with Clojure structure injection attacks... I so hope people don't start passing executable clojure back and forth. On 23/07/2011, at 7:54 PM, Jozef Wagner wrote: Clojure can run on top of JVM, CLR and Javascript VM. Clojure data structures can

Re: One syntax to rule them all

2011-07-23 Thread Mark Derricutt
IMHO *read-eval* should ONLY ever be true -IF- you're using a REPL. Having that on by default feels very insecure. And whilst code is data, and would be great to pass around, thats awesome when you're in a position to trust both ends of the system - but in the world of browsers and javascript

Re: One syntax to rule them all

2011-07-23 Thread Mark Derricutt
...and the moment I hit send I remembered that in a language like clojure - read/eval is the only way to get code in the running system, unless you're using AOT classes and turning that off would be essentially turning off clojure. On 24/07/2011, at 12:04 AM, Mark Derricutt wrote: IMHO *read

Re: BUG REPORT: ClojureScript : Portable Path Support

2011-07-22 Thread Mark Derricutt
Oh don't say that! That was going to be my weekend project - looking at adding ClojureScript support to clojure-maven-plugin. I made a coffee-maven-plugin for our web guys the other week and now we've got a chance to sway them over to clojure ( well, I don't think that'll happen easily tho ).

1.3 compatible clojure.contrib.gen-html-docs ?

2011-07-09 Thread Mark Derricutt
Hi all, Does anyone know if theres a 1.3 compatible version of the clojure.contrib.gen-html-docs library at all? There's nothing listed under http://dev.clojure.org/display/design/Contrib+Projects and with the version I was using before ( from org.clojure.contrib/gen-html-docs/1.3.0-alpha4

Re: Build tool for mixed Clojure/Java projects

2011-07-03 Thread Mark Derricutt
The other option is Polyglot Maven, which hasn't really seen much movement lately, but gives you maven power without the XML ( clojure source, yaml, etc. ) http://polyglot.sonatype.org/clojure.html I'm not sure what the current state is in, and I think since I last committed to it the clojure

Current state of clojure-contrib?

2011-07-01 Thread Mark Derricutt
Hey all, Whats the current state of clojure-contrib for 1.3? I remember seeing a wiki post or something awhile ago with new package layouts/maven settings etc but can't seem to find it now ;( Mark -- Great artists are extremely selfish and arrogant things — Steven Wilson, Porcupine Tree --

ANN: clojure-maven-plugin 1.3.4 released

2010-09-26 Thread Mark Derricutt
'lo all, I just released the clojure-maven-plugin 1.3.4 which should be hitting maven central in the next hour or so: I'd like to thank all those who've contributed patches for this release ( Alex Miller, Sam Umbach, Viktor Matic, Peter Schuller, Raoul Duke, Paudi Moriaty, and w...@glozer.net (

Re: clojure-contrib 1.3.0-alpha1

2010-09-25 Thread Mark Derricutt
Looking at the repository now the poms don't seem to include the variable reference anymore so if you're still getting that it might be cached somewhere? Mark -- Pull me down under... On Sat, Sep 25, 2010 at 5:54 PM, Sean Corfield seancorfi...@gmail.comwrote: FWIW, I pulled both clojure and

Re: clojure-contrib 1.3.0-alpha1

2010-09-25 Thread Mark Derricutt
Take a look at: http://github.com/talios/clojure-contrib/commit/58e4e49d569d285ef3dd5b64c80454a22743e1b4 I changed the complete artifact to use the maven-shape-plugin [1] which embeds upstream dependencies into your jar, making an uber-jar, and optionally shading those artifacts into a different

Re: clojure-contrib 1.3.0-alpha1

2010-09-24 Thread Mark Derricutt
Using the classifer bin would give you the single uber-jar, however - if you just use the default classifier ( i.e. don't mention it ) it should pull in ALL of 'completes' transitive dependencies. I've just tried this locally and that seems to be working fine for me. I see maven downloading all

Re: clojure-contrib 1.3.0-alpha1

2010-09-24 Thread Mark Derricutt
otherwise maven dies trying to find a complete-1.3.0-alpha1 jar file. I'll see if I can come up with work around. Mark -- Pull me down under... On Sat, Sep 25, 2010 at 5:13 PM, Mark Derricutt m...@talios.com wrote: Using the classifer bin would give you the single uber-jar, however - if you

Re: Clojure 1.2 Release

2010-09-14 Thread Mark Derricutt
AM, Mark Derricutt m...@talios.com wrote: I spent some time looking at this yesterday - I just need to create a -sources.jar and a javadoc.jar to satisfy the enforcer rules on the oss.sonatype.org repository deployment process. I'll take another stab tonight see where I get. Mark -- Pull

Re: Clojure 1.2 Release

2010-09-14 Thread Mark Derricutt
realy should get off my (*$#($*(# and fill out the contributor form ( and actually post it off! ) with some updated pom templates and build steps to make this easier next time. Mark -- Pull me down under... On Tue, Sep 14, 2010 at 8:50 PM, Mark Derricutt m...@talios.com wrote: I got tripped

Re: Clojure 1.2 Release

2010-09-13 Thread Mark Derricutt
I spent some time looking at this yesterday - I just need to create a -sources.jar and a javadoc.jar to satisfy the enforcer rules on the oss.sonatype.org repository deployment process. I'll take another stab tonight see where I get. Mark -- Pull me down under... On Tue, Sep 14, 2010 at 8:04

Re: Clojure 1.2 Release

2010-08-19 Thread Mark Derricutt
I think I can do that - or at least push that along. Will check into it when I get to the office in about 30 minutes. PS: Direct sync to central is easy via oss.sonatype.org repositories. -- Pull me down under... On Fri, Aug 20, 2010 at 6:42 AM, Stuart Sierra the.stuart.sie...@gmail.comwrote:

Re: cool compiler-project?

2010-08-18 Thread Mark Derricutt
Or a native dalvik compiler! -- Pull me down under... On Thu, Aug 19, 2010 at 10:37 AM, Jules julesjac...@gmail.com wrote: Or a Clojure to Javascript compiler. So many interesting projects! -- You received this message because you are subscribed to the Google Groups Clojure group. To

Re: Haskell?

2010-07-20 Thread Mark Derricutt
I liked the *look* of CAL - and was quite impressed that it had an eclipse plugin. But it seems to be dead from what I can see on the website. Or at least rather dormant. -- Pull me down under... On Tue, Jul 20, 2010 at 1:04 PM, Raoul Duke rao...@gmail.com wrote: or, how about CAL? -- You

ANN: clojure-maven-plugin 1.3.3

2010-06-14 Thread Mark Derricutt
Hey all, Pushed out a new release of the maven plugin earlier in the week - clojure-maven-plugin 1.3.3 changes: * Changes to clojure:swank * Now generates a temporary .clj file to execute when running swank. * Now uses test dependencies rather than compile dependencies * Changes to

Re: New Clojure web application launched: DocuHarvest

2010-06-09 Thread Mark Derricutt
Awesome! Congrats on the launch - looks like an awesome service ( and nice looking as well! ) - is that compojure on the backend? -- Pull me down under... On Thu, Jun 10, 2010 at 7:21 AM, Chas Emerick cemer...@snowtide.com wrote: DocuHarvest is a web application we launched today, built

Re: PDF generation with Clojure?

2010-06-08 Thread Mark Derricutt
We use flying saucer/itext , an example of this from clojure can be seen on my blog at: http://www.talios.com/connecting_the_clouds__the_internet_in_new_zealand_in_pdf.htm This is some old clojure code and is quite nasty, but its only really the last 5 lines you need for the flying saucer stuff.

Re: Running Clojure scripts in Maven

2010-05-19 Thread Mark Derricutt
Ahh is this where your contrib. ended up? I was waiting for you to post it to github or somewhere to merge into the master repo of clojure-maven-plugin. Would be good to keep things to one mojo imho. -- Pull me down under... On Sun, May 16, 2010 at 1:54 PM, Jason Smith ja...@lilypepper.com

Re: Why I have chosen not to employ clojure

2010-03-25 Thread Mark Derricutt
I was thinking it might be interesting to see if we could integrate Bespin Embedded in labrepl, having a nice web based syntax highlighting editor thats consistent on platforms could be quite cool. -- Pull me down under... On Wed, Mar 24, 2010 at 4:26 AM, Stuart Halloway

Re: Choosing a Clojure build tool

2010-03-25 Thread Mark Derricutt
For whats it worth here - IntelliJ IDEA will automatically add maven dependencies to you pom.xml file for unknown classes ( in java source, not the clojure plugin - yet), for example if you type com.cemerick.Foo in your source, and its an unknown class, the intention dialog gives you options of

Re: ANN: labrepl, making Clojure more accessible

2010-03-23 Thread Mark Derricutt
1.3.2 is the latest version of the plugin and fixes some issues with the replScript settings ( it actually continues to run the repl, and not just exits - doh!) -- Pull me down under... On Wed, Mar 24, 2010 at 4:16 AM, Alex Ott alex...@gmail.com wrote: Hello Stuart Halloway at Tue, 23 Mar

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Mark Derricutt
The new version of the maven-clojure-compiler plugin now supports the toolchains API to solve this ( running maven under 1.6, compiling with 1.5) but that won't help clojure itself: You can read more about this at: http://maven.apache.org/guides/mini/guide-using-toolchains.html I really need

Re: mvn clojujure:repl - no keyboard echo

2010-03-22 Thread Mark Derricutt
If jline is a problem, does removing it from the pom's dependencies solve the problem? -- Pull me down under... On Tue, Mar 23, 2010 at 12:07 PM, Kevin ke...@kelleysoft.com wrote: There's an issue floating around here about jline problems under windows... seems some setups use jline to

Re: Maven clojure:repl

2010-03-21 Thread Mark Derricutt
The plugin is in central, tho you need to declare it in your project as outlined in the README: plugins plugin groupIdcom.theoryinpractise/groupId artifactIdclojure-maven-plugin/artifactId version1.3.2/version /plugin /plugins -- Pull me down under... On Sun, Mar 21, 2010 at

Re: Why I have chosen not to employ clojure

2010-03-21 Thread Mark Derricutt
Thanks for the pointer to MCLIDE! That looks really nice! Any idea if a 64bit build is in the works? For some reason I feel dirty about having to install Rosetta :) -- Pull me down under... On Mon, Mar 22, 2010 at 11:08 AM, Lee Spector lspec...@hampshire.eduwrote: I'm sure that this can

Re: Maven clojure:repl

2010-03-20 Thread Mark Derricutt
If this was a fresh project with no plugins defined, maven would look in the default group, for either clojure-maven-plugin or maven-clojure-plugin. -- Pull me down under... On Sun, Mar 21, 2010 at 7:09 AM, liebke lie...@gmail.com wrote: The Clojure Maven plugin should be called

Re: symbolmacro tests fail under 1.3.2-SNAPSHOT

2010-03-09 Thread Mark Derricutt
Running late for work, but quickly, the plugin searches for namespaces and generates a run-test.clj file looking like: http://gist.github.com/326972 which is run. Interesting, just looking at that I see for some reason (require 'clojure.contrib.test-macro-utils) is duplicated (and also

Re: Full Disclojure - I Need Topics!

2010-01-24 Thread Mark Derricutt
I see you did one recently on Leiningen - how about a companion piece on the maven-clojure-plugin [1] and native maven ( covering automated test script generation/running, repl and slime integration ), or going completely experimental the polyglot maven clojure stuff ( adding dynamic scripting to

Re: Dependency management

2010-01-21 Thread Mark Derricutt
We're not all jumping on Leiningen, some of us are sticking with maven, using the maven-clojure-compiler plugin, and also the experimental Maven Polyglot Clojure build support: http://polyglot.sonatype.org/clojure.html (disclojure - both of these are my projects so I'm somewhat biased) --

Re: Funding Clojure 2010

2010-01-15 Thread Mark Derricutt
Paypal can be setup for reoccuring payments. I know I do that with DropBox - not sure how one sets that up thou... -- Pull me down under... On Fri, Jan 15, 2010 at 6:29 PM, Brian Goslinga quickbasicg...@gmail.com wrote: I think it would be useful if there was some way to (mostly)

Re: clojure-contrib 1.1.0 Release Candidate 2

2010-01-11 Thread Mark Derricutt
Stuart - are these RC builds available in any maven repository at all? We're wanting to a release of polyglot-maven in about 2-3 days but can't release with SNAPSHOT references, and an RC release build would be better than a SNAPSHOT. Thou I suspect clojure-contrib 1.1 will be released by

Re: clojure-contrib 1.1.0 Release Candidate 2

2010-01-11 Thread Mark Derricutt
Looks like I've actually refactored out the usage of clojure-contrib I had anyway, so its not too much of an issue currently now. -- Pull me down under... On Mon, Jan 11, 2010 at 10:33 PM, Mark Derricutt m...@talios.com wrote: Thou I suspect clojure-contrib 1.1 will be released by then...  I

Re: Contrib Logging change

2010-01-11 Thread Mark Derricutt
+1 from me. Using (info (str xx xx xxx)) seems wrong. -- Pull me down under... On Tue, Jan 12, 2010 at 12:09 PM, Phil Hagelberg p...@hagelb.org wrote: I really like the clojure.contrib.logging library, but I find myself often getting tricked into thinking it works like println:    (info

Re: Maven dependency on release 1.1.0

2010-01-05 Thread Mark Derricutt
Good to know - I didn't realize that had the release in it - how come no /release repo or central syncing? -- Pull me down under... On Tue, Jan 5, 2010 at 10:42 AM, Phil Hagelberg p...@hagelb.org wrote: You can use http://build.clojure.org/snapshots as a repository. Even though it has

1.1.0 *release* of clojure-contrib?

2010-01-05 Thread Mark Derricutt
Is there likely to be a RELEASE version of clojure-contrib 1.1.0 in the maven repo to match clojure 1.1.0 at all? The lack of a release build prevents using the maven release plugin to run with any project using it :( Also - if 1.1.0 is released, why is build.clojure.org/snapshots still getting

Re: leiningen javac plugin

2009-12-31 Thread Mark Derricutt
I normally bind the clojure-maven-plugin to the compile phase, so mvn compile does both a java and clojure compile. However, unlike the scala or groovy 'star compilers' its not one process/parse, the java compiler runs first, then the clojure. -- Pull me down under... On Thu, Dec 31, 2009 at

ANN: clojure-maven-plugin 1.3 Released

2009-12-23 Thread Mark Derricutt
'lo all, Just a notification that the clojure-maven-plugin 1.3 was released earlier today (shortly following 1.2 after a glaring regression was found). Main changes: - An automatically generated test script is generated when no testScript/ is mentioned in the config, this runs and fails the

:pre and :post throwing Exception - is this a smell?

2009-12-23 Thread Mark Derricutt
'lo, I was reading http://blog.fogus.me/2009/12/21/clojures-pre-and-post/ on the new pre and post conditions and seeing that they throw java.lang.Exception kinda struck me as a bad smell, esp. when integrating with other systems written in Java or another language. Forcing upstream clients to

Re: Binary compatibility and a culture of AOT abuse

2009-12-14 Thread Mark Derricutt
On Tue, Dec 15, 2009 at 7:05 AM, Phil Hagelberg p...@hagelb.org wrote: Yep, this will be changed in the next release of leiningen. The default build will only AOT namespaces that actually need it to function. Naturally you will still be able to build jars that AOT everything, but you will

Re: leiningen - a Clojure build tool

2009-11-30 Thread Mark Derricutt
When I finally get around to working on my clojure polyglot implementation for maven 3 I'll probably be basing my project structure off of leiningen, which should mean anything IDE using maven should work with the project file. Sadly I'm still trying to nail down some time to look at this project

Annotations on the new deftype?

2009-11-23 Thread Mark Derricutt
With all the newly added/being worked on defprotocol/deftype features - I've not seen anyone mention JDK annotations being part of things, is support for annotations being worked on as part of this? Would be a -very- handy addition, esp. as more and more JVM libraries/tools are looking for them.

Re: La Clojure plugin for IntelliJ IDEA moved to Git

2009-10-19 Thread Mark Derricutt
Having this as something like view javadoc ctrl-q for java would be good. Also pulling out doc strings and the like would be cool here too (not sure if La Clojure already does this or not). On Tue, Oct 20, 2009 at 12:26 PM, Wilson MacGyver wmacgy...@gmail.comwrote: Inline it, in essence so you

Re: La Clojure plugin for IntelliJ IDEA moved to Git

2009-10-18 Thread Mark Derricutt
Where should we raise tickets/issues for the plugin? One thing I'm really still missing with it is auto completion of aliased namespaces: (ns foo (:require foo.bar.test :as test)) (defn hello [] (test/do-something)) Having the completion of a) the test alias, and b) the contents of test

Re: Clojure's 2nd Birthday!

2009-10-16 Thread Mark Derricutt
Well we do have a maven plugin to give us all clojure/maven pain ;-) On Fri, Oct 16, 2009 at 6:35 PM, Mark Engelberg mark.engelb...@gmail.comwrote: Uh oh, time for the terrible twos. Who wants to throw the first tantrum? :) --~--~-~--~~~---~--~~ You received

Re: clj-gradle – a Clojure Plugin for Gradle

2009-10-15 Thread Mark Derricutt
The maven release plugin does pretty much that, only it doesn't do any ivy stuff. However, it also checks: * No uncommitted files * No files in working copy that are not under VCS * Automatically tags (and optionally branches) the code at time of release * Automatically incremements your

Re: clj-gradle – a Clojure Plugin for Gradle

2009-10-14 Thread Mark Derricutt
Nor would lancet compete with maven, and clojure-maven-plugin which also does everything you mention :) Does Gradle have a release plugin? Thats one of the most compelling reasons for maven usage I find (personally). -- Pull me down under... On Thu, Oct 15, 2009 at 3:15 AM, Meikel Brandmeyer

ANN: clojure-maven-plugin 1.1 released!

2009-10-13 Thread Mark Derricutt
'lo all, I'm glad to announce that the clojure-maven-plugin 1.1 has now been released and available from maven central. Many thanks to Stuart Sierra, Scott Fleckenstein, and Jukka Zitting for various patches and contributions bringing to the new release: - clojure:repl goal - run the clojure

Re: ANN: clojure-maven-plugin 1.1 released!

2009-10-13 Thread Mark Derricutt
One additional thing to note - jline support is also enabled with the repl if you have jline listed as a dependency in your project. And the URL for the project: http://github.com/talios/clojure-maven-plugin Mark -- Pull me down under... On Wed, Oct 14, 2009 at 12:31 PM, Mark Derricutt m

Re: Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Mark Derricutt
Ignore that, replied before reading fully to see #s{...} :( On Mon, Oct 12, 2009 at 3:18 PM, Mark Derricutt m...@talios.com wrote: {quoted text} is also a map, so conflicts with existing syntax. On Mon, Oct 12, 2009 at 10:38 AM, Greg g...@kinostudios.com wrote: (replace {quoted text

Re: Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Mark Derricutt
{quoted text} is also a map, so conflicts with existing syntax. On Mon, Oct 12, 2009 at 10:38 AM, Greg g...@kinostudios.com wrote: (replace {quoted text} my-str {quoted string}) --~--~-~--~~~---~--~~ You received this message because you are subscribed

New list for the clojure-maven-plugin

2009-10-08 Thread Mark Derricutt
'lo all, Just to let you all know I've created a list specifically for the clojure-maven-plugin project at: http://groups.google.com/group/clojure-maven-plugin Mark -- Pull me down under... --~--~-~--~~~---~--~~ You received this message because you are

Re: Does OSGi make sense for Clojure?

2009-10-05 Thread Mark Derricutt
I do have a novel idea to work around this but I've yet to put my theory to code and publish it. The problems I had when loading clojure based bundles into OSGi was that after unloading, the classes remained loaded by the bundle providing RT. The basic idea was to add a bundle listener to the

Re: Mocking?

2009-09-29 Thread Mark Derricutt
Sadly, even thou my application isn't all that smart I've already fallen into that trap - as my test first launches a Jetty process running a compojure app, and fires http calls at it - with the send-sms call being behind compojure on another thread. I'm thinking a different way of handling

Re: Mocking?

2009-09-28 Thread Mark Derricutt
From what I've seen of fixtures that just provides setup/teardown functionality (unless I'm mistaken). In my particular instance, I'm wanting to stub out a function defined elsewhere. The function wraps an SMS sending service so I really won't want to get text messages when running tests. In

Re: Mocking?

2009-09-28 Thread Mark Derricutt
That doesn't to work for me here: (defn disable-bulletin [f] (info Mocking out Bulletin Connect SMS API) (binding [com.jobsheet.util.bulletin/send-sms (fn [a b] (info Sending mock SMS))] (f))) (use-fixtures :once disable-bulletin) I even tried declaring the disable-bulletin

Mocking?

2009-09-26 Thread Mark Derricutt
'lo all, How are people handling mocking/stubbing in clojure? Google finds me some old posts about a called? function/macro as part of test-is which looks like it'd do what I need but I can't seem to find any trace of it under clojure/clojure-contrib trunk. Any pointers? -- Pull me down

  1   2   >