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.
Summary: | test-generate-html task should setup test.results.dir | ||
---|---|---|---|
Product: | apisupport | Reporter: | Martin Schovanek <mschovanek> |
Component: | Harness | Assignee: | Martin Schovanek <mschovanek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jglick, jungi |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 185194 | ||
Bug Blocks: | |||
Attachments: |
common.xml patch
Better patch. patch w/o nbbrowse |
Description
Martin Schovanek
2008-09-23 16:27:56 UTC
Created attachment 70340 [details]
common.xml patch
[JG01] Do not use Report URL: file:${basedir}/html/index.html Rather run <makeurl> so as to work correctly on all platforms. [JG02] You can simplify by making -test-browse-html depend on -do-test-generate-html and calling only -test-browse-html in <subant>. Created attachment 70446 [details]
Better patch.
CCing Lukas who have a idea how to browse results without Nb. Created attachment 70478 [details]
patch w/o nbbrowse
idea used in a patch I attached is stolen from webapps' headless build created by Stepan Herold. Also note that it will perhaps need some cleanup and testing (I didn't do that, sorry) - feel free to improve and apply it if it suites your needs ;-) mschovanek's last patch looks fine to me. Please do not use jungi's patch. The browser display is intended only for interactive use within the IDE. Command-line builds should not attempt to do anything like this. Just FYI: my intention was only to avoid using nbbrowse, nothing else - therefore I didn't spend time on making conditions "correct" in sense of when exactly to open a browser Lots of targets that create HTML of possible interest run nbbrowse when netbeans.home is set (i.e. when run from inside the IDE). When run outside the IDE, whether on a desktop machine or a headless server, we do not want to do anything. OK, I'm not trying to convince you. fixed Integrated into 'main-golden', will be available in build *200809290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c1a418952c3b User: Martin Schovanek <mschovanek@netbeans.org> Log: Issue #148068 - test-generate-html task should setup test.results.dir |