Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I would like to stick as much as possible to Ubuntu provided packages, preferably the latest versions of everything. Confirmed  Confirmed on the list that  that Grouper can run fine with OpenJDK, so no need for the Oracle stuff any more. At the moment it looks like we're going to use:

...

Code Block
apt-get install subversion postgresql libpgjava tomcat7 openjdk-7-jdk ant

 

Make Jdk7 JDK7 the default one:

Code Block
update-java-alternatives --jre-headless -s java-1.7.0-openjdk-amd64

...

Code Block
languagebash
# Example:
hibernate.connection.url              = jdbc:postgresql://ip6-localhost:5432/grouper
hibernate.connection.username         = grouper_user 
hibernate.connection.password         = hackme

Symlink the database driver:

Code Block
ln -s /usr/share/java/postgresql-jdbc4.jar /usr/src/GROUPER_2_1_1/grouper/lib/custom/

 

Download the latest/greatest sources and compile:

Code Block
cd /usr/src
svn co http://anonsvn.internet2.edu/svn/i2mi/tags/GROUPER_2_1_1
cd GROUPER_2_1_1/grouper
ant dist

Run the tests. This will blitz your database, so make sure it doesn't contain precious data:

Code Block
cd /usr/src/GROUPER_2_1_1/grouper/
bin/gsh.sh -test -all