You are not logged in.

#1 2011-05-15 14:26:10

scenox
Member
Registered: 2010-07-19
Posts: 63

[REQUEST] Onepoint Project

http://en.wikipedia.org/wiki/Onepoint_Project

http://sourceforge.net/projects/opproject/files/

I like it more than MS Project. Maybe somebody could make a nice package?

Offline

#2 2011-05-23 13:14:43

SidK
Member
Registered: 2011-03-03
Posts: 116

Re: [REQUEST] Onepoint Project

I've never made a package before and I thought this would be a decent one to try my hand at. However I would appreciate feedback from experienced users as what I've got has some small niggles.

Here's the PKGBUILD so far:

# Maintainer: Sid Karunaratne <sid@karunaratne.net>
pkgname="opproject"
pkgver="10.2u1"
pkgrel=1
pkgdesc="A project management software package combining project planning, progress tracking, project monitoring, project controlling and reporting"
arch=('any')
url="http://sourceforge.net/projects/opproject"
license=('GPL')
depends=(java-runtime)
source=(opproject-$pkgver-basic-linux.tgz::http://sourceforge.net/projects/opproject/files/opproject-$pkgver-basic-linux.tgz/download)
md5sums=('582aaea4589080ca3059554166ac7598')

build() {
  mkdir -p $pkgdir/{usr/bin,opt}
  cp -r "Onepoint Project" "$pkgdir/opt/opproject"
  sed -i 's#opproject-'$pkgver'-basic.jar#/opt/opproject/opproject-'$pkgver'-basic.jar#' \
  "$pkgdir/opt/opproject/Onepoint Project.sh"
  ln -s "/opt/opproject/Onepoint Project.sh" $pkgdir/usr/bin/opproject
}

What I'm a little confused about is where the files should go. Java Package Guidelines seems to say there is no clear procedure here. So I've placed them in /opt/opproject/ and created a symlink from /usr/bin/opproject to the Onepoint Project.sh file. Is this acceptable?

More importantly, whenever the jar file is run it creates a file called derby.log in the current working directory. So if you're running this from a WM menu you'll get it in the home folder. If it doesn't have permissions in the current folder the application starts just fine, but no log file is created. I like to either not create this file or create it in /var/log/, but I don't know how to do this.

Offline

Board footer

Powered by FluxBB