Dear Rony et al,

on macOS/Darwin the testsuite could not locate the samples any more following 
the move from .../ooRexx to .../ooRexx/samples, here one example:

[failure] 20211012 22:35:08.684320
  svn:    r12223   Change date: 2021-03-31 21:12:04 +0200
  Test:   TEST_USECOMP
  Class:  USECOMP.TESTGROUP
  File:   .../ooRexx/samples/usecomp.testGroup
  Line:   63
  Failed: assertNotNil
    Expected: not .nil
    Actual:   .nil

Interpreter:        REXX-ooRexx_5.0.0(MT)_64-bit 6.05 12 Oct 2021
OS Name:            DARWIN
SysVersion:         Darwin 17.7.0

I have amended locateSamplePrg() in Fileutils.cls and amended

  do samples over "samples/", "../samples/", "../share/ooRexx/", 
"../Shared/ooRexx/"

to 

  do samples over "samples/", "../samples/", "../share/ooRexx/samples/", 
"../Shared/ooRexx/samples/"

And now the samples can be found again on macOS/Darwin

I think the comments in locateSamplePrg() may need some cleaning up but since I 
did not write them I leave it to the originator (Rony?) to check and amend if 
necessary.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se



> Am 12.10.2021 um 20:03 schrieb Rony G. Flatscher <rony.flatsc...@wu.ac.at>:
> 
> Dear P.O.,
> 
> On 12.10.2021 18:03, P.O. Jonsson wrote:
>> Dear Rony, you misunderstood my question, It is not about the installation 
>> folder (/usr/local )
>> which makes sense on Linux, unix, I only asked if it makes sense to change 
>> /share/ooRexx to
>> /share/ooRexx/samples also on macOS, 
> 
> oh, I see!
> 
>> and and likewise change /share/ooRexx/native.api to 
>> /share/ooRexx/samples/native.api
> 
> No this currently got changed from "share/ooRexx/native.api" to 
> "share/ooRexx/samples/native.api".
> 
>> Regarding the "doc" sub-sub-sub-folder I find your proposal 
>> counterintuitive, al least for macOS,
>> The documentation should be readily available, not in a folder 3 layers down
> 
> On MacOS there would be a directory layout for Frameworks and Applications 
> that Apple suggests
> (therefore the layout of the Mac BSF4ooRexx installer is structured the way 
> it is, cf. [1], [2]).
> Looking at different MacOS installations in the /Applications folder shows 
> that application
> developers do not necessarily adhere to the Apple suggested layout. As such I 
> think you are free to
> define any directory structure that you think is intuitive and helpful. 
> 
> ---rony
> 
> [1] Application Bundles:
> <https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW13>
> 
> [2] Framework Bundles:
> <https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html>
> 
> 
> 
> 
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to