Sunday, May 15, 2011

First Run & Cleanup

First Run:

I have been successful in getting the project to run. The program accepts command line arguments so you can either enter the filenames as a command line parameter or temporarily hard code the name of the files in the testMain.java
On a windows platform you need to specify the paths as follows.

If you wish to use the metadata file, you will to specify "y" in metadata and use the file testCoordsMeta.csv
When you run the program after this, a kml file testfile.kml is generated.

Cleanup of the folder:

So finally I cleaned up the project folder. The following are the exact changes that I did. I will call this version 1.0 aka the starting point for my project.

cd phyloGeoRef

git rm -r .metadata (This will remove the metadata folder from version control)

Now you can safely delete this folder.

Modify the README, with the new instructions.

git add . (This will stage all changes)

Initially I was trying to add the extra packages as separater jars. But now I think that it is a good idea to include the relevant packages in the library itself so that the end user has minimum overhead of downloading extra jars. The jars required have been mentioned along with the sources in the README.

cd phyloGeoRef (This is actually the netbeans project folder)

git rm -r .settings/ (Deletes the .settings folder)

git rm -r bin/ (Deleted the bin folder)

cd src/

git rm -r jak/ (This folder is not needed because we'll be including the JavaAPIforKml.jar)