Dashboard > Penrose > Download > Penrose 1.0 Migration
Penrose 1.0 Migration
Added by Endi S. Dewata, last edited by Endi S. Dewata on Jun 15, 2006  (view change)
Labels: 
(None)


API Changes

Previously you can call Penrose's constructors to create penrose instances:

Penrose penrose = new Penrose(penroseConfig);
Penrose penrose = new Penrose(home);
Penrose penrose = new Penrose();

The above constructors have been replaced by the equivalent methods in PenroseFactory:

PenroseFactory penroseFactory = PenroseFactory.getInstance();
Penrose penrose = penroseFactory.createPenrose(penroseConfig);
Penrose penrose = penroseFactory.createPenrose(home);
Penrose penrose = penroseFactory.createPenrose();

Remove old library files

Remove the following files from the lib directory:

  • apacheds-main-0.9.3.jar
  • bcprov-jdk14-125.jar
  • maven-directory-plugin-0.9.3.jar
  • penrose-0.9.9.jar

Logging configuration

Penrose Server now uses log4j.xml for its logging configuration. If you do a fresh installation, this file is automatically added into the server's conf directory. If you are upgrading from a previous version of the server the log4j.xml might not be there, so you have to copy it manually from the distribution into the server's conf directory. If you are missing this file Penrose Server will start just fine. However, if you connect with Penrose Studio you might get an exception during saving.

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators