2010-02-22 13:17:23 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Instructions for VIVO developers
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
If you are working from the VIVO distribution files, you should follow the
|
2011-05-10 18:51:41 +00:00
|
|
|
instructions in "install.html", in this directory.
|
2010-02-22 13:17:23 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
If you are working from the VIVO source files, checked out from the Subversion
|
|
|
|
repository, then your working area does not contain the "vitro-core" directory.
|
|
|
|
|
|
|
|
Follow these steps:
|
|
|
|
|
|
|
|
1) In the VIVO working area, create deploy.properties as a copy of
|
|
|
|
example.deploy.properties
|
|
|
|
|
|
|
|
2) Check out the Vitro source files from Subversion into a separate working
|
|
|
|
area.
|
|
|
|
|
|
|
|
3) Modify deploy.properties (created in step 1) so vitro.core.dir points to
|
|
|
|
the Vitro working area (created in step 2). For example:
|
|
|
|
vitro.core.dir = ../vitro
|
|
|
|
|
2011-05-10 18:51:41 +00:00
|
|
|
4) Follow the instructions in "install.html" to complete the installation,
|
2010-02-22 14:04:58 +00:00
|
|
|
omitting step III.
|
2010-07-08 16:42:58 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
Answers to Frequently Asked Questions:
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Q: I'm running VIVO in Tomcat on a MacIntosh. When I upload an image file, a
|
|
|
|
strange icon appears in the dock. What's up with that?
|
|
|
|
|
|
|
|
A: The image processing code in VIVO uses javax.imageio.ImageIO, which in turn
|
|
|
|
uses code in the java.awt package. By default, this package will open a work
|
|
|
|
area on your screen, producing this icon even though no visible window is
|
|
|
|
created.
|
|
|
|
|
|
|
|
You can prevent this by editing {tomcat}/conf/setenv.sh, and adding the
|
|
|
|
"java.awt.headless" option. For example,
|
|
|
|
export CATALINA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=64m -Djava.awt.headless=true"
|