To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=50125 Issue #:|50125 Summary:|testtool: provide command to get the build type of |OOo Component:|utilities Version:|1.0.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|FEATURE Priority:|P3 Subcomponent:|automation Assigned to:|gh Reported by:|tbo
------- Additional comments from [EMAIL PROTECTED] Tue May 31 06:08:58 -0700 2005 ------- The main reason is to get the information, if it is a product or debug build (.pro or not). It has to get tested, if it also works on OOo-builds, e.g. the below-mentioned information gets set also if an OOo build outside release engineering is done. Information from MHU in german: " Du kannst Dir ja mal im Project 'solenv' die Datei 'version.c' ansehen (/so/ws/SRC680/src.m<X>/solenv/src/version.c). Die wird in jedem unserer Project compiliert, und in die erzeugten Libraries gelinkt. Sie exportieren dann (sofern der Export nicht durch ein Linker *.map file unterbunden wird) eine Function names 'GetVersionInfo()'. Ruft man die in (irgendeiner) library auf, gibt sie einen Pointer auf eine Struktur mit ein paar sehr intersanten Zeichenketten (const char*) zurueck, unter anderem auch die 'platform' (siehe 'version.c', der 'inpath'), z.B. 'wntmsci10.pro'. " File: tools / solenv / src / version.c Command suggestion: getVersionInfo() as string(5) That contains the information of: __TIME__, __DATE__, _UPD, _LAST_MINOR, _BUILD, _INPATH The current used method to get the information is a time consumption workaround. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]