Home
Name Modified Size InfoDownloads / Week
r21_bin.zip 2010-10-15 66.5 kB
r21_src.zip 2010-10-15 146.1 kB
linux start script 2010-10-15 43 Bytes
windows start script.bat 2010-10-15 23 Bytes
README 2010-10-15 4.3 kB
Totals: 5 Items   217.0 kB 0
This file will contain basic directions for how to set this program up.  This will specify the file structure needed (where to place the libraries relative to the class files' package) and other basic things.  For now it is a placeholder/work-in-progress.



Compiling:

To compile this program you need to go to a terminal and change the working directory to the directory holding the 'core' folder.  Then use either of the commands below.  The first one will compile everything in the 'core' package and the second will compile every class that LogicCircuit (the main class) uses at any point.  These should have the same result, but just in case one doesn't work both are listed:
	javac core/*.java
	javac core/LogicCiruit.java
Both should place all the class file inside core as it works.  If you want to move them elsewhere then make sure to place them in a folder named 'core' and obey the required file structure for the program (described below).



Basic required file structure:

Parent Directory:
	- verses:
		- various verse files
	- challenges:
		- various challenge files
	- core
		- java class files
	- config
	- start script (if using one of the provided ones)

By default 'log' and 'log - error' will be placed in Parent Directory as well.  Files 'log' and 'log - error' can be specified to be placed elsewhere but will always be in the same folder together.  Folders 'verses' and 'challenges' can be moved if they new path to them is placed in the configuration file (either manually or via the configuration option within the program).

If the folders 'verses' and 'challenges' are not included the program will not start up past detecting their absence and printing and error (to the terminal).  The 'config' file does not need to be present (and a message will be output notifying the user of this in the terminal before file logging begins).



Library details:

The folder 'verses' (as of now) cannot be name something else.  It can be placed where you desire if you specify it in the 'config' file.  The folder 'challenges' needs to be in the same folder as 'verses'.  Only the 'verses' folder is mapped during execution, and it is expect there is a file with the EXACT same in the 'challenges' folder.  Extra files in the 'challenges' folder are ignored.  The content of the files is not checked so essentially any text can be placed in these.

To take advantage of some of the features when using the reference options you have to follow a few standards (which will hopefully be cleaned up in the future).  First is that the last line of the files in 'verses' folder are going to be displayed to represent each file in the reference frame/window.  The second is that the name of the files is used when sorting the references so that they can be displayed in order in the reference frame/window.  This is to speed up the sorting so that each comparison doesn't take time to read down to the last line.  It is recommended to make these match and to use full book names when naming by reference so that the provided utilities will successfully sort these.  If you don't care or are using this for something else then feel free to ignore this.



TODOs:

-fix whatever is wrong so that the program often starts without enough room to display the JTextAreas which makes it look dumb until you proceed to another verse/challenge pair.
-continue to improve the README and documentation on sourceforge.net
-add some sort of save option when closing if there have been changes to journal since the last save (or startup). This means I have to track that somehow...
-make the window resizable with the layout changing properly
-probably need to fix the whole weird static-ness of the LogicCircuit class
-create some sort of help information explaining the non-technical details/features of the program
-improve/cleanup the sort of the references
-make the configuration frame/window centered on the main frame/window, not just it's top left corner centered there.



Brainstorm:

-create a CLI that takes advantage of a few of the classes and gives limited features



License:

This program is issued under the GNU GPL version 3 or later (at your discretion) with the exception that I, Peter Weiss, the creator, reserve the right to release future versions under a different license (including no license at all).
Source: README, updated 2010-10-15