Hi! I found your class JTextile while looking through Jreepad source code. Jreepad is a really nice application and your textile facility adds really nice functionality to it. It would be very much more convenient if you released JTextile as a jar file. It would make it easier for me and others to attach it to our source code and update the jar file when you release a new version. It would also make it more convenient for you if you decided to break the code into several classes, all of which would be released in a single jar file. Another thing, when building a jar file for others to use, it is a good idea to put your classes in a package
You probably know what to do but this is what I did to make a jar from your class: 1. create a folder (call it top folder) 2. create folders: org/philwilson/ 3. put JTextile.java in philwilson folder 4. add "package org.philwilson;" at the beginning of JTextile.java 5. From ftp://ftp.tralfamadore.com/pub/java/gnu.regexp-1.1.4.tar.gz extract gnu-regexp-1.1.4.jar to my top folder 6. From the top folder run: javac -classpath gnu-regexp-1.1.4.jar org/philwilson/JTextile.java this will compile the class 7. From the top folder run: jar cvf JTextile-1.2.jar org/philwilson/JTextile.class this will generate the jar file which can be released
If you have any questions, you can contact me by email or jabber.
Thank you for taking your time. Regards, Przemek Wiech
I'll be moving JTextile to Sourceforge (on http://sourceforge.net/projects/jtextile) very soon, and I'll release proper a proper jar file, plus unit tests there.
I've been meaning to do this for weeks, so I'll try and do it now!