cytoscape.util
Class MacAppConfig
java.lang.Object
cytoscape.util.MacAppConfig
public class MacAppConfig
- extends Object
Configures the Mac OS X Info.plist file associated with Cytoscape.
This enables us to run a "Macified" version of Cytoscape, with its
own icon, integrated menus, etc. The plist file is part of the package
contents automatically generated by the Mac OS X Jar Bundler application.
The existing Info.plist file checked into CVS provides preset
configuration settings. This class modified the existing file by adding
all JAR files in cytoscape/lib to the plist file. It does so be replacing
the JAR_ARRAY element with the correct array element, and then adding
all the correct JAR files. By automating this task, we can easily
update the Mac OS X application as part of our regular build process.
Full documentation on the Mac OS X Jar Bundler is available at:
http://developer.apple.com/documentation/Java/Conceptual/Jar_Bundler
- Author:
- Ethan Cerami
Method Summary |
void |
configure()
Configures the Info.plist list with all cytoscape/*.jar files. |
static void |
main(String[] args)
Main Method. |
MacAppConfig
public MacAppConfig()
configure
public void configure()
throws IOException,
org.jdom.JDOMException
- Configures the Info.plist list with all cytoscape/*.jar files.
- Throws:
IOException
- Error Reading Document.
org.jdom.JDOMException
- Error Processing XML Document.
main
public static void main(String[] args)
throws Exception
- Main Method.
- Parameters:
args
- Command Line Arguments.
- Throws:
Exception
- All Exceptions.