Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5842819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:04:06+00:00 2026-05-22T12:04:06+00:00

I am reading Doug Hoyte’s Let Over Lambda . This book is mostly about

  • 0

I am reading Doug Hoyte’s Let Over Lambda. This book is mostly about writing advanced Common Lisp macros.

If I start writing many Clojure macros, I would like to keep them in some kind of library, perhaps a source code JAR file. At the present time, I keep these things a “Snippets” program and copy/paste them into code as needed. If they could be kept in a JAR, then a change to a macro would just require a re-compilation of any projects that used it.

Is there some way to package them into a source JAR that can then be included in a Clojure Maven build so that they get compiled with the rest of the code and end up in the ultimate project executable JAR file?

I know that the idiomatic way to develop Clojure code is using the REPL, but I frequently write executable JAR utilities that I send to in-house customers who know nothing about Clojure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:04:07+00:00Added an answer on May 22, 2026 at 12:04 pm

    My setup is that I have a personal library for these kind of functions that I keep in a separate project (I use Eclipse with the Clojure Counterclockwise plugin).

    During development, I just set my current project to use my standard library as a dependency. This seems to work fine whether you use the REPL or launch the app as a standalone program.

    I then use Maven (m2eclipse) to build this into a jar file artifact, which can be distributed as required in the normal way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Reading over the responses to this question Disadvantages of Test Driven Development? I got
Reading online about this topic is confusing. Is there a way to cut around
Reading a post about redis I saw this word: REPL . Can someone tell
Reading this blog post about HttpOnly cookies made me start thinking, is it possible
reading the SCJP book, I've found something like this in the chapter 1 self-test
Reading this old but classic document Writing High-Performance Managed Applications - A Primer ,
I've been reading up on Doug Lea's 'Concurrency Programming in Java' book. As you
Reading this question I found this as (note the quotation marks) code to solve
Reading MSDN (and other sources) about custom report items (CRI) for reporting services 2005.
Reading through this question on multi-threaded javascript, I was wondering if there would be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.