This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144946 - Better support for OpenBSD
Summary: Better support for OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All Unix
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 10:54 UTC by hegjon
Modified: 2009-11-07 11:43 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
OpenBSD patch (2.21 KB, patch)
2008-08-24 10:55 UTC, hegjon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hegjon 2008-08-24 10:54:32 UTC
Works for me on OpenBSD 4.4 (Current).
Still some problems with character encoding in output, will try to find and fix the bug in another patch.
Comment 1 hegjon 2008-08-24 10:55:32 UTC
Created attachment 68185 [details]
OpenBSD patch
Comment 2 hegjon 2008-08-24 11:01:57 UTC
There is a lot of ant-files with <exec os="Linux SunOS Solaris Mac OS X" ... > tasks.
Would it be better to just change most of them to <exec osfamily="unix" ... >?

http://ant.apache.org/manual/CoreTasks/exec.html
  - osfamily: OS family as used in the <os> condition. since Ant 1.7
Comment 3 Lukas Hasik 2008-08-25 10:26:20 UTC
Jesse, could you look at this patch? Please, reassign if necessary.
Comment 4 hegjon 2008-08-25 22:09:12 UTC
Found one bug in by patch!

This line should be changed from:
public static final int OS_WINVISTA = OS_FREEBSD << 1;

to:
public static final int OS_WINVISTA = OS_OPENBSD << 1;
Comment 5 Jesse Glick 2008-08-27 21:39:44 UTC
There are two independent patches here: fixing some build scripts, and introducing a new constant in Utilities.

I will address the first part: core-main #5d303412fdb7

For the second, please file a separate issue (ENHANCEMENT, component 'openide', subcomponent 'code', keyword 'API',
assigned to 'jskrivanek') and attach your revised patch. As an API change it may be ineligible for 6.5, unless it is
used to help fix a concrete bug; probably you would want to include OpenBSD in OS_UNIX_MASK so that Unix-dependent code
would be run by it.
Comment 6 Quality Engineering 2008-08-28 06:41:07 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/5d303412fdb7
User: Jesse Glick <jglick@netbeans.org>
Log: #144946: OpenBSD support in harness.