Question Francis Galiegue · May 20, 2016 How to completely scratch a previously existing Caché installation? Hello! I am trying to install Caché 2016 on a Debian Jessie machine; so I downloaded the latest release from WRC, OS RHEL x86_64, in tarball format. I untarred it, then launched cinstall; unfortunately a library was missing. I then elected to kill all the processes (which wasn't easy), remove the two users created, and start again. #Caché #System Administration 0 6 0 2.2K
Question Francis Galiegue · May 13, 2016 What server does Atelier expect to connect to? Hello,I'm trying to connect to a Caché server from Atelier; the Caché server is 2015.x.The address and port I'm trying to connect to is the SQL gateway server; and I get, each time, an "unexpected end of file from server".Note that unfortunately, for the moment, I connect as _system... And the Caché install has the default privileges.What am I doing wrong? #Caché #Development Environment #ObjectScript 1 1 0 459
Question Francis Galiegue · Apr 30, 2016 What is the best practice when the intent is to make a package available to all namespaces? Hello, Still related to the unit test with coverage support project, one goal is to make that package available to everyone. One possible way I already know of is that all fully qualified class names (ie, the package + the class name) start with %, which mean that on installation all classes will end up in the %SYS namespace, but this requires that the install be done as a user with the necessary privileges to write to %SYS. #Caché #ObjectScript 1 6 0 441
Question Francis Galiegue · Apr 27, 2016 Request of sorts: creating a help page on community to work with lists/arrays/multidimensional properties/etc Hello, I am still a beginner with COS and am struggling with these concepts. While digging through the official documentation will eventually tell you everything you need to know, getting started is nevertheless not an easy feat... Is it possible to create a "lists/array/multidimensional 101" page for beginners? And, for instance, its interaction with $data, what it means to use "as list of something" or "as array of something", how to walk lists, how to add/remove elements, how to extract sublists etc? #Object Data Model #ObjectScript #Caché 1 12 0 528
Question Francis Galiegue · Apr 25, 2016 Determining whether a class, which you only have the name of, is a unit test class... I know this code sucks; but how to fix it properly? Hello, Here's the code: #Code Snippet #ObjectScript #Caché 0 6 0 491
Question Francis Galiegue · Apr 20, 2016 Is there a way to run unit tests in a given project which _does not_ require that test classes be exported first? Hello, It is time for me to eat my own dog's food and start implementing unit test running with coverage :) I will be inundating IRC with questions at this point, but I have a more general question first. In this tutorial, it is supposed that your unit tests are exported as XML first... But that's not very practical. Is there a way, instead, to run all tests from a given project without having this export? My first thought on how to do this would be to: #ObjectScript #Caché 1 3 0 575
Question Francis Galiegue · Apr 18, 2016 Is there a table somewhere of deprecated classes/added keywords/etc and _when_ these changes took place? Hello,For CachéQuality I'd love to be able to create issues when the programmer uses classes which are deprecated for this or that version of Caché... But short of reading all the changelogs of all versions, I can't really tell when a command appeared (for instance RETURN; I know now that it appeared in 2014.x, but it took me some time to realize that), or when a (set of) class(es) became deprecated (for instance %GlobalCharacterStream to be replaced with %Stream.GlobalCharacter -- I don't even know since which version this is true :/). #ObjectScript #Caché 2 2 0 325
Question Francis Galiegue · Apr 13, 2016 Followup on the unconference session about unit test and code coverage: it may be doable after all... But I need help Hello everyone, I have discussed extensively with Andrew Cheshire, the author of the Atelier parser (which I'll be able to hack on and reuse for CachéQuality -- yay!), and while we were at it, we also discussed code coverage. We ended up talking about the ZBREAK command and its /TRACE option. #Caché #Debugging #ObjectScript 2 4 0 375