Getting started with few Java knowledge

1 view
Skip to first unread message

Joop Kiefte

unread,
Dec 28, 2009, 5:57:35 AM12/28/09
to clo...@googlegroups.com
Hello folks,

I have been learning a bit of Java at school a loooooooooong time ago
("programming basics"), when we were programming applets and I
outscored all others with ease as I was the only one who could program
already, and now I do android programming in Java, but I have never
ever made a normal Java project, so I feel I'm missing some essentials
to get started in Clojure when I want to create "stand-alone" apps.
Can some of you maybe help me getting started on a Clojure project,
e.g. the files I need to have to get it compiled nicely to a working
JAR-package? (I use eclipse with CCW, but explanations for emacs are
fine as well.) I have been looking online but I don't succeed well
with the instructions found out there, I think it assumes too many
knowledge of Java...

Thanks beforehand, I would really appreciate your help (and don't be
shy to make it verbose and full of hints ;))

Joop Kiefte, 20 yrs, the Netherlands

--
Communication is essential. So we need decent tools when communication
is lacking, when language capability is hard to acquire...

- http://esperanto.net - http://esperanto-jongeren.nl

Linux-user #496644 (http://counter.li.org) - first touch of linux in 2004

Nurullah Akkaya

unread,
Dec 28, 2009, 9:05:37 AM12/28/09
to clo...@googlegroups.com
check this out,

http://github.com/nakkaya/clojure-stub

it will create a bare bones Hello World! application, that you can
build on top of, including an ant task for creating a jar file for
your application.

Regards,
--
Nurullah Akkaya
http://nakkaya.com

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

Joop Kiefte

unread,
Dec 28, 2009, 10:37:22 AM12/28/09
to clo...@googlegroups.com
Thanks a lot! I think this works a lot nicer than CCW. I have made a
little script to do a checkout and rename for new projects and it
works brilliant.

Again, thanks a lot!

2009/12/28 Nurullah Akkaya <nuru...@nakkaya.com>:

Laurent PETIT

unread,
Dec 28, 2009, 11:49:42 AM12/28/09
to clo...@googlegroups.com

2009/12/28 Joop Kiefte <iko...@gmail.com>
[...] I think this works a lot nicer than CCW. [...]

As a ccw contributor, I would be pleased if you could you elaborate on this ?
What does it mean to be "a lot nicer than CCW" ?

Is it you would like that ccw, when creating a new "clojure project", also creates a basic ant script to be able to compile your project independently of ccw's out-of-the-box eclipse builder ?
Is it something else ?

Thanks,

--
Laurent

Joop Kiefte

unread,
Dec 28, 2009, 12:06:39 PM12/28/09
to clo...@googlegroups.com
I am just clueless in CCW how to get it compiled nicely. It doesn't
get you started with the files you need minimally to get it compiled
correctly and I remain clueless on how to get it to work.

And I get duplicated files probably because of eclipse works (include
every compiled file in the project as it is in the same directory). I
got lost there =x.

At least I would like to see a basic workflow document about CCW, and
better of course to have it nicely built in in Eclipse.

I hope you understand what I mean...

2009/12/28 Laurent PETIT <lauren...@gmail.com>:

Laurent PETIT

unread,
Dec 28, 2009, 5:05:50 PM12/28/09
to clo...@googlegroups.com
OK I think I understand.

As an open source project written on free-time, ccw is open to any contribution.
Especially, newcomers to Java (and presumably Eclipse) such as you, which will find "big wholes" in documentation or usability, are invited to contribute : you can discuss things on ccw user's ml, file tickets in ccw's google group ticket system, propose enhancements to the documentation, etc.

Help welcome !

--
Laurent



2009/12/28 Joop Kiefte <iko...@gmail.com>

Joop Kiefte

unread,
Dec 28, 2009, 5:21:56 PM12/28/09
to clo...@googlegroups.com
Thanks for the encouragement! Where can I join the list?

2009/12/28 Laurent PETIT <lauren...@gmail.com>:

Laurent PETIT

unread,
Dec 29, 2009, 4:14:35 PM12/29/09
to clo...@googlegroups.com
On the counterclockwise main page : http://code.google.com/p/counterclockwise/ ,

There's a right box named "Groups" where you'll find the user & developers group.

For your particular problem, you can also check the ccw documentation wiki page, and especially the section related to creating "Fat executable jars" via the use of a third-party eclipse plugin named "Fat Jar"
( http://code.google.com/p/counterclockwise/wiki/Documentation#Package_your_work )

Cheers,

Joop Kiefte

unread,
Dec 30, 2009, 5:18:56 AM12/30/09
to clo...@googlegroups.com
I already tried fat jar, but failed...

2009/12/29 Laurent PETIT <lauren...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages