Bug 75308 - Update port: java/poseidon
Update port: java/poseidon
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: hq
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-20 13:40 UTC by tux
Modified: 2004-12-20 19:26 UTC (History)
0 users

See Also:


Attachments
file.diff (5.27 KB, patch)
2004-12-20 13:40 UTC, tux
no flags Details | Diff
poseidon.diff (5.65 KB, patch)
2004-12-20 15:33 UTC, herve.quiroz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tux 2004-12-20 13:40:22 UTC
This update contains the following changes:
- update to the new major version (3.0.1)
- replaced the Poseidon 3 startup script with an older one because I don't think it makes any sense to install bash2 for starting a java program ;)
- removed the knobs POSEIDON_SE and POSEIDON_PE and
- add knob WITH_EDITION (values are SE and PE)

The default edition is still the free Community Edition
Comment 1 hq freebsd_committer 2004-12-20 14:24:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hq

I'll handle this.
Comment 2 herve.quiroz 2004-12-20 15:33:14 UTC
Gerrit,

Here are some additions to your original patch:

- In the launcher shell script, something is mentioned about user set
  JAVA_HOME, but actually the path is hardcoded at the beginning of the
  script. I changed that so now the JAVA_HOME is set only if not already
  defined.
- The realpath(1) executable in the base system does the same things as
  resolvePath() in the script, so I removed the function.
- I did a bit of double-quoting to be sure no space in either JAVA_HOME
  or PREFIX will cause trouble (that's not gonna happen but just in
  case...).
- The script is produced using SUB_FILES/SUB_LIST macros (read
  bsd.port.mk header for further info on this recently added feature).

Please review the attached patch.

BTW, I tried running poseidon with JDK 1.3 and got the following:

Exception in thread "main" java.lang.NoClassDefFoundError: java/awt/HeadlessException

So it seems to me that JAVA_VERSION should be "1.4+"...

Herve
Comment 3 hq freebsd_committer 2004-12-20 19:26:07 UTC
State Changed
From-To: open->closed

Commited. Thanks for your contribution.