How to use a Java SDK from Amazon?

2016-01-09 Thread Laws
I'm not sure if this is a Clojure question, but I'm not sure where else to ask. I've been working on an app for the Amazon Echo. I'm trying to deal with this requirement, which I must deal with if I am to get the app into the Amazon app store: Check the request signature to verify the

Re: How to use a Java SDK from Amazon?

2016-01-09 Thread Laws
Nevermind. I just noticed they offer a Jar: https://github.com/amzn/alexa-skills-kit-java/tree/master/repo/alexa-skills-kit/alexa-skills-kit/1.1 I'll just use that. Ignore this post. On Saturday, January 9, 2016 at 5:14:51 PM UTC-5, Laws wrote: > > I'm not sure if this is a Clojure question,

Re: How to use a Java SDK from Amazon?

2016-01-09 Thread Laws
Damn. I tried localrepo, just like I have in the past: lein localrepo install alexa-skills-kit-1.1.jar alexa-sdk 1.1 and then in project.clj: :dependencies [[org.clojure/clojure "1.6.0"] [alexa-sdk "1.1"] but I still ran into configuration issues: Compiling

Re: How to use a Java SDK from Amazon?

2016-01-09 Thread Allen Johnson
I'm not sure if this helps but a quick glance at the github project you linked to contains a pom file which uses the following maven coordinates: com.amazon.alexa alexa-skills-kit 1.1.1 You may want to try that in leiningen instead. :dependencies [[org.clojure/clojure "1.6.0"]

Re: How to use a Java SDK from Amazon?

2016-01-09 Thread Shantanu Kumar
On Sunday, 10 January 2016 04:09:45 UTC+5:30, Laws wrote: > > Damn. I tried localrepo, just like I have in the past: > > lein localrepo install alexa-skills-kit-1.1.jar alexa-sdk 1.1 > > and then in project.clj: > > :dependencies [[org.clojure/clojure "1.6.0"] > [alexa-sdk

[ANN] 19th Tutorial the modern-cljs

2016-01-09 Thread Mimmo Cosenza
Hi all, I just published the 19th tutorial of the modern-cljs series. Based on a reference sample, it tries to explain how to make a library compliant with the Reader Conditionals extension: https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-19.md

Re: How to use a Java SDK from Amazon?

2016-01-09 Thread Laws
Thanks for all the suggestions. I got this working like this: I used the Leinengen "localrepo" plugin to install the Amazon SDK like this: lein localrepo install alexa-skills-kit-1.1.jar alexa-sdk 1.1 and this created a very basic pom.xml file here:

Re: java.lang.IllegalArgumentException: Parameter declaration make-response should be a vector

2016-01-09 Thread Laws
And yes, I did try running "lein clean". On Sunday, January 10, 2016 at 2:28:00 AM UTC-5, Laws wrote: > > I've been staring at this for awhile, and moving it around, and re-typing > it, without seeing what the real error is. > > I have a file called server.clj which includes this at the top in

java.lang.IllegalArgumentException: Parameter declaration make-response should be a vector

2016-01-09 Thread Laws
I've been staring at this for awhile, and moving it around, and re-typing it, without seeing what the real error is. I have a file called server.clj which includes this at the top in its namespace declaration: (ns salesvoice.server (:require [salesvoice.query :as query] In query.clj,

Re: java.lang.IllegalArgumentException: Parameter declaration make-response should be a vector

2016-01-09 Thread James Elliott
That is puzzling indeed. There doesn’t seem to be anything wrong with the function itself, as you say. I can evaluate it and run it. There must be some other element of your environment which you have not shared here which is throwing sand in the gears. On Sunday, January 10, 2016 at 1:28:00

Re: java.lang.IllegalArgumentException: Parameter declaration make-response should be a vector

2016-01-09 Thread Laws
I would guess that I was dealing with some variant of this: http://dev.clojure.org/jira/browse/CLJ-1629 but I can not figure out how my function is malformed. On Sunday, January 10, 2016 at 2:28:00 AM UTC-5, Laws wrote: > > I've been staring at this for awhile, and moving it around, and