On 18/09/12 16:00, Aaron Cohen wrote:
The package is baked into the .class file format. You can't change it
after the fack by just moving files in the directory structure.
regardless of whether there is an actual package declaration?
So, you're saying that if I compile the java source inside a replicated
directory structure as the one it will be consumed from, everything will
be fine?
I honestly thought i could skip all that, by not having any packages at
all! I also tried putting the class files right next to the clj files
but again it wouldn't find them!
What are you trying to accomplish by doing this?
well, the short story is that I'm wrapping a library but I'm not
completely satisfied with the way it does a couple of things...too many
assumptions in some places - so I'm trying to sort of re-implement a
couple of classes/interfaces and include them already compiled in a
separate folder in the jar in case someone else faces similar issues. It
took a while to write the java code and of course compile it
successfully against all the prerequisites...now, apparently i need to
recompile in a replicated dir structure...
I did not use proxy and the gang cos it just seemed easier (mutable
variables/inheritance etc etc)
Jim
--
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 that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en