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 43063 - Tests fail if run by Xtest Server
Summary: Tests fail if run by Xtest Server
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 10:11 UTC by Marian Mirilovic
Modified: 2006-03-24 09:45 UTC (History)
0 users

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 Marian Mirilovic 2004-05-11 10:11:41 UTC
[nb_dev](200405111820), [jdk1.5.0 beta2](b50)

If I run performance tests by xtest server it 
fails with message (see bellow), but if I replace 
${nb.lib.dir} by "core" in the 
xtest/lib/driver.xml it works fine !!!

----------

Property ${nb.lib.dir} has not been set
      [ant] Exiting 
C:\space\xtest\cvs_nbdev\nb_all\xtest\lib\driver.x
ml.

BUILD FAILED
C:\space\xtest\bin\build.xml:23: Following error 
occured while executing this line
C:\space\xtest\cvs_nbdev\nb_all\xtest\lib\driver.x
ml:319: IDE wasn't properly installed. Can't find 
C:\space\xtest\ide\netbeans/platform4/
${nb.lib.dir}/openide.jar.
	at 
org.apache.tools.ant.ProjectHelper.addLocationToBu
ildException(ProjectHelper.java:537)
	at 
org.apache.tools.ant.taskdefs.Ant.execute
(Ant.java:385)
	at 
org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:269)
	at org.apache.tools.ant.Task.perform
(Task.java:364)
	at org.apache.tools.ant.Target.execute
(Target.java:301)
	at 
org.apache.tools.ant.Target.performTasks
(Target.java:328)
	at 
org.apache.tools.ant.Project.executeTarget
(Project.java:1215)
	at 
org.apache.tools.ant.Project.executeTargets
(Project.java:1063)
	at org.apache.tools.ant.Main.runBuild
(Main.java:632)
	at org.apache.tools.ant.Main.startAnt
(Main.java:183)
	at 
org.apache.tools.ant.launch.Launcher.run
(Launcher.java:197)
	at 
org.apache.tools.ant.launch.Launcher.main
(Launcher.java:56)
Caused by: 
C:\space\xtest\cvs_nbdev\nb_all\xtest\lib\driver.x
ml:319: IDE wasn't properly installed. Can't find 
C:\space\xtest\ide\netbeans/platform4/
${nb.lib.dir}/openide.jar.
	at 
org.apache.tools.ant.taskdefs.Exit.execute
(Exit.java:105)
	at 
org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:269)
	at org.apache.tools.ant.Task.perform
(Task.java:364)
	at org.apache.tools.ant.Target.execute
(Target.java:301)
	at 
org.apache.tools.ant.Target.performTasks
(Target.java:328)
	at 
org.apache.tools.ant.Project.executeTarget
(Project.java:1215)
	at 
org.apache.tools.ant.taskdefs.Ant.execute
(Ant.java:383)
	... 10 more
--- Nested Exception ---
C:\space\xtest\cvs_nbdev\nb_all\xtest\lib\driver.x
ml:319: IDE wasn't properly installed. Can't find 
C:\space\xtest\ide\netbeans/platform4/
${nb.lib.dir}/openide.jar.
	at 
org.apache.tools.ant.taskdefs.Exit.execute
(Exit.java:105)
	at 
org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:269)
	at org.apache.tools.ant.Task.perform
(Task.java:364)
	at org.apache.tools.ant.Target.execute
(Target.java:301)
	at 
org.apache.tools.ant.Target.performTasks
(Target.java:328)
	at 
org.apache.tools.ant.Project.executeTarget
(Project.java:1215)
	at 
org.apache.tools.ant.taskdefs.Ant.execute
(Ant.java:383)
	at 
org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:269)
	at org.apache.tools.ant.Task.perform
(Task.java:364)
	at org.apache.tools.ant.Target.execute
(Target.java:301)
	at 
org.apache.tools.ant.Target.performTasks
(Target.java:328)
	at 
org.apache.tools.ant.Project.executeTarget
(Project.java:1215)
	at 
org.apache.tools.ant.Project.executeTargets
(Project.java:1063)
	at org.apache.tools.ant.Main.runBuild
(Main.java:632)
	at org.apache.tools.ant.Main.startAnt
(Main.java:183)
	at 
org.apache.tools.ant.launch.Launcher.run
(Launcher.java:197)
	at 
org.apache.tools.ant.launch.Launcher.main
(Launcher.java:56)
Comment 1 Jiri Skrivanek 2004-05-11 10:44:30 UTC
Presumably, the directories.properties file is not loaded. Probably it
is not in daily builds but only in continuous ones. I have to either
negotiate with release engineering or other way arrange properties are
loaded.
Comment 2 Jiri Skrivanek 2004-05-13 12:44:09 UTC
It is not guranteed the directories.properties file is included in IDE
build. That's why the file is added to XTest distribution.

/cvs/xtest/lib/driver.xml,v  <--  driver.xml
new revision: 1.49; previous revision: 1.48
/cvs/xtest/lib/module_harness.xml,v  <--  module_harness.xml
new revision: 1.95; previous revision: 1.94
/cvs/xtest/build.xml,v  <--  build.xml
new revision: 1.85; previous revision: 1.84
Comment 3 Marian Mirilovic 2004-05-19 07:34:36 UTC
verified