Hello,
Currently, I do the following (the clojure application is called
"isi"):
1. set-up a java netbeans project (called isi) with main class
2. add the clojure.jar (and other libraries) to the project
3. in the main class:
package isi;
/**
* loads the clojure script
*/
public class Main {
public static final String[] script = {"@/app/isi.clj"};
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws java.lang.Exception
{
clojure.main.main(script);
}
}
The isi.clj (the clojure application) lives in "java" package called
"app" (under src directory).
When the project is run, the main class loads the isi.clj script. This
also works when project .jar is build and works as expected (and the
isi.clj clojure script gets stored in the source form).
What do you do?
Kind regards,
Vlad
PS: Not that there is a problem (so far) with the above approach, but
I would like to know what other possibilities exist...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---