Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339089

Summary: Can not start AUT via cmdline script (Windows + Jubula Installer)
Product: [Technology] Jubula Reporter: Tim Winselmann <tim.winselmann>
Component: CoreAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Tim Winselmann <tim.winselmann>
Severity: blocker    
Priority: P3    
Version: 0.9.0   
Target Milestone: 1.0   
Hardware: PC   
OS: Windows All   
Whiteboard:
Attachments:
Description Flags
Aut Agent log from Windows XP
none
AUT Agent Log none

Description Tim Winselmann CLA 2011-03-07 09:33:38 EST
Created attachment 190548 [details]
Aut Agent log from Windows XP

This bug is about the new jubula installer. At this time it is not possible to start an AUT via a cmdline script. This behavior was observed under Windows XP and Windows 7. 

The executable file name is 'C:\Program Files\jubula_5.0.00257\examples\AUTs\SimpleAdder\swing\SimpleAdder.cmd'

The AUT Base/Working directory is 'C:\Program Files\jubula_5.0.00257\examples\AUTs\SimpleAdder\swing'

The JRE Executable is '../jre/bin/java.exe'
Comment 1 Tim Winselmann CLA 2011-03-07 10:15:51 EST
Comment on attachment 190548 [details]
Aut Agent log from Windows XP

mark attachment 190548 [details] as obsolete
Comment 2 Tim Winselmann CLA 2011-03-07 10:16:33 EST
Created attachment 190555 [details]
AUT Agent Log
Comment 3 Tim Winselmann CLA 2011-03-07 10:30:28 EST
After a detailed analysis with MT we found out, that quotation marks are missing for the '-Djava.util.logging.config.file=' parameter. If the path contains a white space the AUT can not be started, because the path can not be resolved correctly.

This problem does not only appear for the new jubula installers, it also appears in the current guidancer. The problem was not noticed until now, because GUIdancer is not installed in a virtual machine and the path name on our machines does not contain a white space.

The log file is attached in attachment 190555 [details].

-Djava.util.logging.config.file=C:/Program Files/jubula_5.0.00257/server/./resources/logging.properties AUT:Unrecognized option: Files/jubula_5.0.00257/server/./resources/logging.properties
Comment 5 Tim Winselmann CLA 2011-03-08 09:04:15 EST
Starting an AUT via a Cmdline script works well again.