ports/121001: NetBeans cannot run module suites in place
Stefan Schmidt
stefan.schmidt at stadtbuch.de
Sat Feb 23 17:00:09 UTC 2008
>Number: 121001
>Category: ports
>Synopsis: NetBeans cannot run module suites in place
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 23 17:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list