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 139086 - commit-validation doesn't work on OSX
Summary: commit-validation doesn't work on OSX
Status: RESOLVED DUPLICATE of bug 138721
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-05 21:40 UTC by Torbjorn Norbye
Modified: 2008-07-07 07:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjorn Norbye 2008-07-05 21:40:29 UTC
When I run commit validation on my Mac, I get lots of failures, probably due to this error message:

    [junit] 	org.netbeans.modules.form - This module requires JDKHOME/lib/dt.jar to be accessible.
    [junit] This file was not found. Usually this means you are trying to run the IDE with the JRE instead of the full JDK.
    [junit] If so, please use the --jdkhome command line option to specify a JDK installation.
    [junit] For more information see http://wiki.netbeans.org/FaqRunningOnJre

There's no $JDKHOME/lib/dt.jar on OSX, but I -am- running with a JDK rather than a JRE. And the form module (gui
builder) -does- work on the Mac with the same JDKHOME. On my Linux box, the commit validation test works without problems.

This was brought up on nbdev:
  http://www.nabble.com/mac---commit-validation-failures-to18164965.html#a18200346
and Jesse said to file a P1 assigned to jtulach. I wasn't sure about the category so I'm trying testtools. If that's
wrong, perhaps try reassigning to apisupport since Jesse speculated that this might be a NbModuleSuite issue.
Comment 1 Jaroslav Tulach 2008-07-07 07:54:05 UTC
Yes, this is a problem in NbModuleSuite. However, it is hard to fix for someone without a mac. I need layout of your 
JDK and its relative location to JRE.
Comment 2 Jaroslav Tulach 2008-07-07 07:58:38 UTC

*** This issue has been marked as a duplicate of 138721 ***