On 5/10/07, Simon Laws <[EMAIL PROTECTED]> wrote:
+1 to including "java -cp" instructions. The samples/README (to which the reader is referred) contains this already. Do you want it included in individual READMEs too?
I think so yes as it seems like it makes things easier for people the very first time - unzip the binary distro, open the calculator readme and right at the top it has the "java -cp..." you can cutNpaste and it just works. No reading lots of text or messing about having to build things. I'm not sure I really like distributing sample jars. But it is fairly easy
to make the jars and give people the option of how they want to run the sample java -cp -jar java -cp class So if people like the jar approach we can easily add the jar line into the ant files.
I like this approach :) and as the binary distro is already including the sample jars i think we might as well. We could evaluate how it works and if it less than ideal we could change this before the 1.0 release As an aside. JUnit isn't currently shipped with the binary distro which
means I have to specialise the ant scrips in a couple of places to stop it trying to build junit test cases (this is because I have put the client code for binding, databinding and implementation samples in the test package to separate it from what is intended to be an example implementation). If we ship junit I could potentially generalize the scripts.
It would be easy enough to add junit to the binary distro and to add the junit CPL license to the LICENSE and NOTICE files. I guess it depends how much of an improvement it makes to the build scripts, I don't have an opinion either way. I would like to try to cut a distro in an hour or two though...:) Simon
