Bug 121001 - java/NetBeans cannot run module suites in place
Summary: java/NetBeans cannot run module suites in place
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-23 17:00 UTC by Stefan Schmidt
Modified: 2008-05-14 21:04 UTC (History)
0 users

See Also:


Attachments
file.diff (566 bytes, patch)
2008-02-23 17:00 UTC, Stefan Schmidt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schmidt 2008-02-23 17:00:07 UTC
FreeBSD's port of NetBeans 6.0 cannot run module suites in place because FreeBSD is an unknown OS to $PREFIX/netbeans/harness/run.xml.

Fix: When trying to build and run the application via ant, the problem becomes obvious:
$ ant -d run
..
..
..
run:
Setting project property: run.args ->
Setting project property: run.args.extra ->
     [exec] Current OS is FreeBSD
     [exec] This OS, FreeBSD was not found in the specified list of valid OSes: Windows NT Windows 95 Windows 98 Windows 2000 Windows 2003 Windows XP Windows NT (unknown) Windows Vista
     [exec] Current OS is FreeBSD
     [exec] This OS, FreeBSD was not found in the specified list of valid OSes: Linux SunOS Solaris Mac OS X
      [ant] Exiting /usr/local/netbeans/harness/run.xml.

BUILD SUCCESSFUL
Total time: 11 seconds

Fix:
How-To-Repeat: 1. Install NetBeans 6 via ports/java/netbeans
2. Start NetBeans
3. Create a new project: "Paint Application" from category Samples / NetBeans Modules
4. Run the project
==> application does not start
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-02-23 22:43:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-05-14 20:59:33 UTC
olgeni      2008-05-14 19:59:29 UTC

  FreeBSD ports repository

  Added files:
    java/netbeans/files  patch-harness_run.xml 
  Log:
  Add support for running module suites in place on FreeBSD.
  
  PR:             ports/121001
  Submitted by:   Stefan Schmidt <stefan.schmidt(at)stadtbuch.de>
  
  Revision  Changes    Path
  1.1       +14 -0     ports/java/netbeans/files/patch-harness_run.xml (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jimmy Olgeni freebsd_committer freebsd_triage 2008-05-14 21:03:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!