Differences between revisions 5 and 27 (spanning 22 versions)
Revision 5 as of 2007-05-17 04:02:19
Size: 1246
Editor: cpe-066-057-229-060
Comment:
Revision 27 as of 2007-08-18 05:58:59
Size: 3558
Editor: JunYang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
The New Ranker Program for Babase was designed by Dr Jun Yang of Duke's Computer Science Department and Tyler Brock, Senior at Duke University as his graduation project. The new Ranker program for Babase was developed by [:JunYang: Jun Yang] and [:TylerBrock: Tyler J. Brock] from Fall 2006 to Spring 2007. It was Tyler's Graduation with Distinction project when he graduated from Duke University in 2007.
Line 4: Line 4:
== Making Changes == == Prerequisites to Running the Ranker ==
 * If your computer is not on the same trusted network as papio (e.g., your computer is outside the biology.duke.edu domain), you must have VPN access to papio. See [:BabaseVPN: Babase VPN] for details on how to set up VPN on your computer.
 * You must have a Babase PostgreSQL account on papio.
 * Your computer must have Java Standard Edition 5 or later.
Line 6: Line 9:
=== Install Software === == Running the Ranker ==
 * If your computer is not on the same trusted network as papio, first establish a VPN connection to papio. See [:BabaseVPN: Babase VPN] for detailed instructions.
 * Point your browser to [https://papio.biology.duke.edu/ranker/ranker.jnlp]; this will launch the Ranker.
  * If, for some reason, the Ranker does not launch automatically and you are shown the text contents of the ranker.jnlp file or are prompted to download it, save the file on your desktop and double-click it to launch the Ranker manually.
 * You may get a security warning about papio's certificate; click "Yes" to continue.
 * You may get a security warning about the application's digital signature; click "Run" to proceed.
 * At the login menu, the host has been preset to papio-vpn.biology.duke.edu. If you are NOT running VPN (because your computer is on the same trusted network as papio), change the host to papio.biology.duke.edu (by removing "-vpn" from the string). If you are running VPN, you do not need to modify the default value.

== Software Development for Ranker ==
'''''This section is currently under development.'''''

==== Development Environment ====
Line 9: Line 23:
 * Sun Java JDK with version greater than 5.0 available http://java.sun.com
 * Eclipse Software Development Version 3.2 available http://www.eclipse.org
 * Sun Java JDK with version greater than 5.0 available at http://java.sun.com
 * Eclipse Software Development Version 3.2 available at http://www.eclipse.org
 * A copy of the code available [http://papio.biology.duke.edu/babasewiki/RankerProgram?action=AttachFile&do=get&target=currentbabase.zip here]
 * Obtain the following third-party libraries:
  * PostgeSQL JDBC Driver, at http://jdbc.postgresql.org/
  * TableLayout manager, at http://java.sun.com/products/jfc/tsc/articles/tablelayout/apps/TableLayout.jar
Line 12: Line 30:
=== Import Project === ==== Import Project ====
Line 15: Line 33:

=== Make Changes ===
==== Make Changes ====
Line 19: Line 36:
=== Compile and Run Program With Changes === ==== Compile and Run Program With Changes ====
Line 21: Line 38:

==== Exporting the JAR file ====
Export the project choosing Java->Jar File as the type of exported file.

==== Sign the JAR file ====
See instructions in signature/README.txt in the ranker development directory on papio. The signed JAR file can now be copied under install/, a symbolic link to the installation directory on papio.

Ranker

The new Ranker program for Babase was developed by [:JunYang: Jun Yang] and [:TylerBrock: Tyler J. Brock] from Fall 2006 to Spring 2007. It was Tyler's Graduation with Distinction project when he graduated from Duke University in 2007.

Prerequisites to Running the Ranker

  • If your computer is not on the same trusted network as papio (e.g., your computer is outside the biology.duke.edu domain), you must have VPN access to papio. See [:BabaseVPN: Babase VPN] for details on how to set up VPN on your computer.
  • You must have a Babase PostgreSQL account on papio.
  • Your computer must have Java Standard Edition 5 or later.

Running the Ranker

  • If your computer is not on the same trusted network as papio, first establish a VPN connection to papio. See [:BabaseVPN: Babase VPN] for detailed instructions.
  • Point your browser to [https://papio.biology.duke.edu/ranker/ranker.jnlp]; this will launch the Ranker.

    • If, for some reason, the Ranker does not launch automatically and you are shown the text contents of the ranker.jnlp file or are prompted to download it, save the file on your desktop and double-click it to launch the Ranker manually.
  • You may get a security warning about papio's certificate; click "Yes" to continue.
  • You may get a security warning about the application's digital signature; click "Run" to proceed.
  • At the login menu, the host has been preset to papio-vpn.biology.duke.edu. If you are NOT running VPN (because your computer is on the same trusted network as papio), change the host to papio.biology.duke.edu (by removing "-vpn" from the string). If you are running VPN, you do not need to modify the default value.

Software Development for Ranker

This section is currently under development.

Development Environment

You will need the following environment in order to be able to make changes to the ranker code:

Import Project

Once the JDK and Eclipse are installed you can unzip the code for the project and open eclipse. Then, if you import->general->existing project into workspace and select the project file within the extracted folder, the project should appear within your eclipse workspace.

Make Changes

After the project is open one can make changes to the code within the eclipse environment, most of which is within the babase.ranker package.

Compile and Run Program With Changes

To run the program, make sure you are connected to the VPN bring the ranker.java file to the focus of the editor and click on the run menu. From there, select to run as a Java application. Before the program runs, the changes are compiled.

Exporting the JAR file

Export the project choosing Java->Jar File as the type of exported file.

Sign the JAR file

See instructions in signature/README.txt in the ranker development directory on papio. The signed JAR file can now be copied under install/, a symbolic link to the installation directory on papio.

RankerProgram (last edited 2025-09-03 21:15:28 by JakeGordon)

Wiki content based upon work supported by the National Science Foundation under Grant Nos. 0323553 and 0323596. Any opinions, findings, conclusions or recommendations expressed in this material are those of the wiki contributor(s) and do not necessarily reflect the views of the National Science Foundation.