From nobody@FreeBSD.org  Sat Feb 23 16:56:05 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EA41B16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Feb 2008 16:56:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DFC1713C474
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Feb 2008 16:56:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1NGrRZn058730
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Feb 2008 16:53:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1NGrRhJ058729;
	Sat, 23 Feb 2008 16:53:27 GMT
	(envelope-from nobody)
Message-Id: <200802231653.m1NGrRhJ058729@www.freebsd.org>
Date: Sat, 23 Feb 2008 16:53:27 GMT
From: Stefan Schmidt <stefan.schmidt@stadtbuch.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: NetBeans cannot run module suites in place
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121001
>Category:       ports
>Synopsis:       java/NetBeans cannot run module suites in place
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    olgeni
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 23 17:00:07 UTC 2008
>Closed-Date:    Wed May 14 20:04:04 UTC 2008
>Last-Modified:  Wed May 14 20:04:04 UTC 2008
>Originator:     Stefan Schmidt
>Release:        7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD shuttle.stadtbuch.de 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 22 21:44:42 CET 2008     root@shuttle.stadtbuch.de:/usr/obj/usr/src/sys/SHUTTLE  amd64
>Description:
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.
>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
>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:
--- netbeans/harness/run.xml~   2008-02-23 17:52:47.000000000 +0100
+++ netbeans/harness/run.xml    2008-02-23 17:52:47.000000000 +0100
@@ -151,7 +151,7 @@
             <arg line="${run.args}"/>
             <arg line="${run.args.extra}"/>
         </exec>
-        <exec os="Linux SunOS Solaris Mac OS X" dir="." executable="sh" failonerror="yes">
+        <exec os="FreeBSD Linux SunOS Solaris Mac OS X" dir="." executable="sh" failonerror="yes">
             <arg value="${run.sh}"/>
             <arg value="--jdkhome"/>
             <arg file="${run.jdkhome}"/>



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->olgeni 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 23 22:43:32 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121001 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121001: commit references a PR
Date: Wed, 14 May 2008 19:59:33 +0000 (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"
 
State-Changed-From-To: open->closed 
State-Changed-By: olgeni 
State-Changed-When: Wed May 14 20:03:47 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121001 
>Unformatted:
