Hello again,

As I said in my first answer, clojuredev doesn't provide anything more than
what Eclipse has to offer in this area, at least not yet.

And honestly, I don't know if eclipse provides such a functionality "out of
the box".

Cheers,

-- 
Laurent

2009/2/11 Rayne <[email protected]>

>
> Do you mean, just exporting it as a normal .jar file, and not an
> executable jar file? In Netbeans, which is what I've been using before
> trying Clojure-dev, there was just a build button that would build an
> executable .jar with a lib folder for Clojure.jar and whatever else
> the project depended on. I haven't used Eclipse enough to know if I
> could do something like this by just using a normal .jar file.
>
> On Feb 10, 6:51 pm, Laurent PETIT <[email protected]> wrote:
> > Hello,
> >
> > Normally not currently, or, if it works, it would be unintentional :-)
> >
> > More seriously : this indeed is not an officially supported feature.
> >
> > The long answer is : it depends on what you mean by "jar".
> >
> > Eclipse + clojuredev seems capable of producing a very correct jar with
> what
> > you want : either just clojure source files, or clojure source files +
> > compiled class files, or just compiled class files.
> > No credit to clojuredev here : it's just the use of the out of the box
> > eclipse's "Export as jar" feature.
> >
> > But this jar would not be independent, and would still have to be
> launched
> > with also clojure.jar (and any other third party jar with clojure or java
> > code you depend on).
> >
> > I do not consider this a bad practice to have several jars, one for
> clojure,
> > one for your work ...
> >
> > I would even be tempted to consider it bad practice to embed clojure
> source
> > files/classes in your own jar :-). But I can see the advantage for quick
> > demos, though.
> >
> > Please also note that eclipse plays well with ant files, so a little ant
> > file in the root of your java project would solve the problem.
> >
> > I could consider adding such a file (if written in a generic enough way)
> to
> > every newly created clojure project. This could be interesting.
> >
> > HTH,
> >
> > --
> > Laurent
> >
> > 2009/2/10 Rayne <[email protected]>
> >
> >
> >
> > > I'm not sure, I've never really used Eclipse that much, and I was
> > > wondering if it is possible. I can't see a way how, but maybe I'm
> > > missing something.
> >
> > > Sorry if this isn't quite the right place to post this, but I couldn't
> > > find another place.
> >
> > > Thanks -Rayne
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to