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.
I run Ant with the -emacs flag, for use within Emacs' M-x compile mode. This is fine. But when I try to run XTest this way: nice /space/ant14/bin/ant -emacs -f /space/src/nb_all/xtest/instance/build.xml cleantests buildtests runtests it is not all that useful. The initial building of xtest.jar honors the -emacs flag. But the real work, including compilation of tests, does not, and this looks bad and breaks hyperlinking in Emacs. I guess a new Ant process is being spawned?? See portion of log file.
Created attachment 5770 [details] Portion of ant output
Yes, when running tests from instance, for each module is spawned new ant process running in new JVM and only part of properties and probably no flags are propagated to it. We did it because of stability of xtest harness (prior to this change, any module could cause xtest to crash, which is not acceptable when running harness against nightly builds).
Module tests are spawned in new ant process. I can add parameter -emacs to the new ant, but I cannot find out whether main ant process was executed with -emacs. Moreover now output of each tested module are redirected to file.
OK.
Resolved for 3.3.x or earlier, no new info since then -> verify.
Resolved for 3.3.x or earlier, no new info since then -> closing.