Re: [Oorexx-devel] New Process for Building the ooRexx Documentation, version 2

2020-03-28 Thread Gil Barmwater
Once again I seem to have confused the folks I was trying to help 
. In version 2, the folders fo_files and log_files are included 
and each contain a single, one-line file names info.txt. This was 
supposed to eliminate the need to create them dynamically. I thought I 
had remembered that FOP would create the PDF_files folder the first time 
a PDF is created but perhaps I am wrong. If so I will make sure that 
this folder is part of the package (with an info.txt file) as well. 
Sorry for not explaining that change. Gil


On 3/28/2020 4:09 PM, P.O. Jonsson wrote:

Dear Rony,

Am 28.03.2020 um 20:13 schrieb Rony G. Flatscher 
mailto:rony.flatsc...@wu.ac.at>>:


On 28.03.2020 18:25, Gil Barmwater wrote:
Thanks for trying the new version of the package and I am happy that 
I haven't broken the PDF generation:-).


One observation I forgot to mention: I created the pdf book in the 
old directory (version 1.2) after copying the delta-zip files to it 
(only created the HTML version in the new 2.0 directory).


After realizing that I did not create the PDF book in the full 
version (i.e. after unzipping the whole version 2.0 package into a 
new directory). Just tried it and it did not work "out of the box" 
because the folder "PDF_files" does not exist:





I compared the files before the delta and after and it seems these 
lines are missing in Docprep.cmd


rem Check for the local output folders
??? if not exist .\fo_files\ md fo_files
??? if not exist .\log_files\ md log_files
??? if not exist .\PDF_files\ md PDF_files


Change this

rem Check for the sub-folder Common_Content
rem if exist %com_cont% (
rem??? echo %com_cont% already exists.
rem ) else (
??? xcopy %docpath%\oorexx\en-US\* %com_cont% /d /s /i /q
??? if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
rem echo %com_cont% has been created.
rem )

Into this

rem Check for the sub-folder Common_Content
if exist %com_cont% (
??? echo %com_cont% already exists.
) else (
??? xcopy %docpath%\oorexx\en-US\* %com_cont% /s /i /q
??? if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
??? echo %com_cont% has been created.

rem Check for the local output folders
??? if not exist .\fo_files\ md fo_files
??? if not exist .\log_files\ md log_files
??? if not exist .\PDF_files\ md PDF_files
)


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


--
Gil Barmwater

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


Re: [Oorexx-devel] New Process for Building the ooRexx Documentation, version 2

2020-03-28 Thread P.O. Jonsson
Dear Rony,

> Am 28.03.2020 um 20:13 schrieb Rony G. Flatscher :
> 
> On 28.03.2020 18:25, Gil Barmwater wrote:
>> Thanks for trying the new version of the package and I am happy that I 
>> haven't broken the PDF generation :-).
> One observation I forgot to mention: I created the pdf book in the old 
> directory (version 1.2) after copying the delta-zip files to it (only created 
> the HTML version in the new 2.0 directory).
> 
> After realizing that I did not create the PDF book in the full version (i.e. 
> after unzipping the whole version 2.0 package into a new directory). Just 
> tried it and it did not work "out of the box" because the folder "PDF_files" 
> does not exist:
> 
> 

I compared the files before the delta and after and it seems these lines are 
missing in Docprep.cmd
rem Check for the local output folders
if not exist .\fo_files\ md fo_files
if not exist .\log_files\ md log_files
if not exist .\PDF_files\ md PDF_files


Change this

rem Check for the sub-folder Common_Content
rem if exist %com_cont% (
remecho %com_cont% already exists.
rem ) else (
xcopy %docpath%\oorexx\en-US\* %com_cont% /d /s /i /q
if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
rem echo %com_cont% has been created.
rem )

Into this

rem Check for the sub-folder Common_Content
if exist %com_cont% (
echo %com_cont% already exists.
) else (
xcopy %docpath%\oorexx\en-US\* %com_cont% /s /i /q
if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
echo %com_cont% has been created.

rem Check for the local output folders
if not exist .\fo_files\ md fo_files
if not exist .\log_files\ md log_files
if not exist .\PDF_files\ md PDF_files
)
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] New Process for Building the ooRexx Documentation, version 2

2020-03-28 Thread Rony G. Flatscher
Hi Gil,

On 28.03.2020 18:25, Gil Barmwater wrote:
> Thanks for trying the new version of the package and I am happy that I 
> haven't broken the PDF
> generation :-).

One observation I forgot to mention: I created the pdf book in the old 
directory (version 1.2) after
copying the delta-zip files to it (only created the HTML version in the new 2.0 
directory).

After realizing that I did not create the PDF book in the full version (i.e. 
after unzipping the
whole version 2.0 package into a new directory). Just tried it and it did not 
work "out of the box"
because the folder "PDF_files" does not exist:

Here the steps:

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>docpath F:\work\svn\oorexx\docs\trunk
The docpath is set to F:\work\svn\oorexx\docs\trunk

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>docprep rexxpg
0 File(s) copied

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2pdf
20:00:16 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml to fo_files\rexxpg.fo
This may take up to 10+ minutes for the largest documents!
Making portrait pages on A4 paper (210mmx297mm)
20:03:34 - Transformation complete
20:03:34 - Creating PDF_files\rexxpg.pdf from fo_files\rexxpg.fo using 
Apache FOP
20:03:35 - FOP processing was unsuccessful

log_files\rexxpg.log contains:

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>type log_files\rexxpg.log
MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.apps.FopConfParser configure
INFO: Default page-height set to: 297mm
MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.apps.FopConfParser configure
INFO: Default page-width set to: 210mm
MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.io.FileNotFoundException: PDF_files\rexxpg.pdf (The system cannot find 
the path specified)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at org.apache.fop.cli.Main.startFOP(Main.java:176)
at org.apache.fop.cli.Main.main(Main.java:214)

There is no directory "PDF_files", after creating it manually it works 
perfectly:

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>*md PDF_files*

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2pdf
20:05:32 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml to fo_files\rexxpg.fo
This may take up to 10+ minutes for the largest documents!
Making portrait pages on A4 paper (210mmx297mm)
20:08:50 - Transformation complete
20:08:50 - Creating PDF_files\rexxpg.pdf from fo_files\rexxpg.fo using 
Apache FOP
20:08:56 - PDF created

---rony

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


Re: [Oorexx-devel] Fwd: SF.net SVN: oorexx-code-0:[12016] main/trunk

2020-03-28 Thread Jon Wolfers
Hi P.O.

I don't think that subscribing you to the list will fix this problem.
It just means that you will *receive *an email when a commit is done.
These posts are triggered by the commit process.
I'm not sure why your commits do not trigger a post.
One thing I notice is that you are the only developer who also appears in
the members group.  I'm going to remove you from there and see if that
helps.

Jon

On Sat, 28 Mar 2020 at 16:17, P.O. Jonsson  wrote:

> This problem should have been fixed by now, I just received a message from
> Jon that he added me to the list.
>
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> oor...@jonases.se
>
>
>
> Am 28.03.2020 um 16:55 schrieb Rony G. Flatscher  >:
>
> Dear P.O.,
>
> for unknown reasons I do not get your commits via the oorexx-svn e-mail
> list. E-mails to "oorexx-svn" should be automatically be generated by
> Sourceforge upon a commit, which also contain the first 100KB of diff text.
> On 27.03.2020 21:26, P.O. Jonsson wrote:
> ... cut ...
>
> Here is the commit info, for some reason I can not post to oorexx-svn yet,
> unclear why (I did subscribe to it twice).
>
> You should not post to oorexx-svn yourself, Sourceforge is supposed to
> post to that list upon a "svn commit".
>
> Not sure, why I do not get those automatically generated mails with your
> commits. (I do get them e.g. from Erich.)
>
> Cheers
>
> ---rony
> ___
> 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
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] New Process for Building the ooRexx Documentation, version 2

2020-03-28 Thread Gil Barmwater

Hi Rony,

Thanks for trying the new version of the package and I am happy that I 
haven't broken the PDF generation :-).� Now to the problems you found 
with the HTML generation :-(.


I had only tried generating RXMATH so it might be expected that there 
are issues that show up with other books. I'll begin digging into it 
later. I seem to remember seeing the message about adjustColumnWidths 
while doing the PDF generation so I need to revisit my notes to see what 
I might have done about it. If that function error caused the process to 
abort, then that might explain the missing files. I hope to report back 
shortly...


Gil

On 3/28/2020 11:51 AM, Rony G. Flatscher wrote:


Dear Gil:

sorry for coming back late, currently I am not the master of my time 
allotted to ooRexx...


Since yesterday evening, after reading your e-mail, I was eager to get 
my hands on your version 2.0 and test it! Thank you also for taking 
the time and making a delta to 1.2 available for those who have been 
using that version already!


I was able to create the PDF versions as with the earlier version and 
everything was straight-forward! Everyone, and I mean really everyone 
has become able to produce the PDF books from the ooRexx documentation 
trunk, *super* and many thanks!


The next step, of course was to test doc2HTML.cmd to create the HTML 
rendering of the books. In general the files got created, however 
"index.html" is not present which would load the book's title page. 
Also "doc2HTML.cmd" output had a warning "No adjustColumnWidths" 
function avalable". Unzipped the full package and repeated the process 
with the same result, here the output of "doc2HTML.cmd":


G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2html
16:22:55 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml into HTML_folders\rexxpg\
This may take up to 10+ minutes for the largest documents!
No adjustColumnWidths function available.
16:26:42 - 35 HTML files were created

The created HTML files look great! Using the previous or next arrows 
work sometimes. However pressing the up-arrow (link text: 
"next.html#") does not work. Klicking the Home button yields an error 
page (index.html is not found).


Doing a coarse, random klicking-around at least the following files 
are not present: "index.html", "tour.html" (target for the link 
"Chapter 2, A Quick Tour of Traditional Rexx."), "concept.html" 
(target for the link "Chapter 3, Into the Object World.") in 
"next.html". To ease spot further missing files, here the list of the 
files for "rexxpg":


  Directory of G:\oorexx.tmp\gilDocs\orxbldoc-2.0\HTML_folders\rexxpg

28.03.2020  16:26  .
28.03.2020  16:26  ..
28.03.2020  16:26 5�679 assignm.html
28.03.2020  16:26 2�241 builtin.html
28.03.2020  16:26 2�267 clear.html
28.03.2020  16:26  Common_Content
28.03.2020  16:26 2�240 crossplat.html
28.03.2020  16:26 2�271 devtool.html
28.03.2020  16:26 2�166 dossier.html
28.03.2020  16:26 4�447 element.html
28.03.2020  16:26 2�395 english.html
28.03.2020  16:26 2�357 fewrule.html
28.03.2020  16:26 2�319 helpGettingHelp.html
28.03.2020  16:26  images
28.03.2020  16:26 2�288 interp.html
28.03.2020  16:2610�816 looks.html
28.03.2020  16:26 3�881 meet.html
28.03.2020  16:26 2�427 next.html
28.03.2020  16:26 2�778 oop.html
28.03.2020  16:26 2�173 pr01s01.html
28.03.2020  16:26 4�598 pr01s01s01.html
28.03.2020  16:26 3�147 pr01s01s02.html
28.03.2020  16:26 7�351 pr01s03s01.html
28.03.2020  16:26 2�286 pr01s03s02.html
28.03.2020  16:26 2�416 pr01s03s03.html
28.03.2020  16:26 2�648 pref-rexxpg-Preface.html
28.03.2020  16:26 5�760 readsy.html
28.03.2020  16:26 2�103 relinf.html
28.03.2020  16:26 2�423 rexxos2.html
28.03.2020  16:26 4�265 rules.html
28.03.2020  16:26 2�352 string.html
28.03.2020  16:26 5�160 strings.html
28.03.2020  16:26 4�564 teaser.html
28.03.2020  16:26 3�947 test.html
28.03.2020  16:26 7�175 torexx.html
28.03.2020  16:26 2�212 typeles.html
28.03.2020  16:26 3�832 which.html
28.03.2020  16:26 4�418 xfunct.html
28.03.2020  16:26 4�265 xwrite.html
   35 File(s)127�667 bytes
4 Dir(s)  11�585�458�176 bytes free

Best regards,

---rony


On 27.03.2020 20:11, Gil Barmwater wrote:


This is to announce that version 2 of the new 

Re: [Oorexx-devel] Fwd: SF.net SVN: oorexx-code-0:[12016] main/trunk

2020-03-28 Thread P.O. Jonsson
This problem should have been fixed by now, I just received a message from Jon 
that he added me to the list.

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



> Am 28.03.2020 um 16:55 schrieb Rony G. Flatscher :
> 
> Dear P.O.,
> 
> for unknown reasons I do not get your commits via the oorexx-svn e-mail list. 
> E-mails to "oorexx-svn" should be automatically be generated by Sourceforge 
> upon a commit, which also contain the first 100KB of diff text.
> On 27.03.2020 21:26, P.O. Jonsson wrote:
> ... cut ...
>> Here is the commit info, for some reason I can not post to oorexx-svn yet, 
>> unclear why (I did subscribe to it twice).
> You should not post to oorexx-svn yourself, Sourceforge is supposed to post 
> to that list upon a "svn commit".
> 
> Not sure, why I do not get those automatically generated mails with your 
> commits. (I do get them e.g. from Erich.)
> 
> Cheers
> 
> ---rony
> ___
> 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


Re: [Oorexx-devel] Fwd: SF.net SVN: oorexx-code-0:[12016] main/trunk

2020-03-28 Thread Rony G. Flatscher
Dear P.O.,

for unknown reasons I do not get your commits via the oorexx-svn e-mail list. 
E-mails to
"oorexx-svn" should be automatically be generated by Sourceforge upon a commit, 
which also contain
the first 100KB of diff text.

On 27.03.2020 21:26, P.O. Jonsson wrote:
... cut ...
> Here is the commit info, for some reason I can not post to oorexx-svn yet, 
> unclear why (I did
> subscribe to it twice).

You should not post to oorexx-svn yourself, Sourceforge is supposed to post to 
that list upon a "svn
commit".

Not sure, why I do not get those automatically generated mails with your 
commits. (I do get them
e.g. from Erich.)

Cheers

---rony

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


Re: [Oorexx-devel] New Process for Building the ooRexx Documentation, version 2

2020-03-28 Thread Rony G. Flatscher
Dear Gil:

sorry for coming back late, currently I am not the master of my time allotted 
to ooRexx...

Since yesterday evening, after reading your e-mail, I was eager to get my hands 
on your version 2.0
and test it! Thank you also for taking the time and making a delta to 1.2 
available for those who
have been using that version already!

I was able to create the PDF versions as with the earlier version and 
everything was
straight-forward! Everyone, and I mean really everyone has become able to 
produce the PDF books from
the ooRexx documentation trunk, *super* and many thanks!

The next step, of course was to test doc2HTML.cmd to create the HTML rendering 
of the books. In
general the files got created, however "index.html" is not present which would 
load the book's title
page. Also "doc2HTML.cmd" output had a warning "No adjustColumnWidths" function 
avalable". Unzipped
the full package and repeated the process with the same result, here the output 
of "doc2HTML.cmd":

G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2html
16:22:55 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml into HTML_folders\rexxpg\
This may take up to 10+ minutes for the largest documents!
No adjustColumnWidths function available.
16:26:42 - 35 HTML files were created

The created HTML files look great! Using the previous or next arrows work 
sometimes. However
pressing the up-arrow (link text: "next.html#") does not work. Klicking the 
Home button yields an
error page (index.html is not found).

Doing a coarse, random klicking-around at least the following files are not 
present: "index.html",
"tour.html" (target for the link "Chapter 2, A Quick Tour of Traditional 
Rexx."), "concept.html"
(target for the link "Chapter 3, Into the Object World.") in "next.html". To 
ease spot further
missing files, here the list of the files for "rexxpg":

 Directory of G:\oorexx.tmp\gilDocs\orxbldoc-2.0\HTML_folders\rexxpg

28.03.2020  16:26  .
28.03.2020  16:26  ..
28.03.2020  16:26 5 679 assignm.html
28.03.2020  16:26 2 241 builtin.html
28.03.2020  16:26 2 267 clear.html
28.03.2020  16:26  Common_Content
28.03.2020  16:26 2 240 crossplat.html
28.03.2020  16:26 2 271 devtool.html
28.03.2020  16:26 2 166 dossier.html
28.03.2020  16:26 4 447 element.html
28.03.2020  16:26 2 395 english.html
28.03.2020  16:26 2 357 fewrule.html
28.03.2020  16:26 2 319 helpGettingHelp.html
28.03.2020  16:26  images
28.03.2020  16:26 2 288 interp.html
28.03.2020  16:2610 816 looks.html
28.03.2020  16:26 3 881 meet.html
28.03.2020  16:26 2 427 next.html
28.03.2020  16:26 2 778 oop.html
28.03.2020  16:26 2 173 pr01s01.html
28.03.2020  16:26 4 598 pr01s01s01.html
28.03.2020  16:26 3 147 pr01s01s02.html
28.03.2020  16:26 7 351 pr01s03s01.html
28.03.2020  16:26 2 286 pr01s03s02.html
28.03.2020  16:26 2 416 pr01s03s03.html
28.03.2020  16:26 2 648 pref-rexxpg-Preface.html
28.03.2020  16:26 5 760 readsy.html
28.03.2020  16:26 2 103 relinf.html
28.03.2020  16:26 2 423 rexxos2.html
28.03.2020  16:26 4 265 rules.html
28.03.2020  16:26 2 352 string.html
28.03.2020  16:26 5 160 strings.html
28.03.2020  16:26 4 564 teaser.html
28.03.2020  16:26 3 947 test.html
28.03.2020  16:26 7 175 torexx.html
28.03.2020  16:26 2 212 typeles.html
28.03.2020  16:26 3 832 which.html
28.03.2020  16:26 4 418 xfunct.html
28.03.2020  16:26 4 265 xwrite.html
  35 File(s)127 667 bytes
   4 Dir(s)  11 585 458 176 bytes free

Best regards,

---rony


On 27.03.2020 20:11, Gil Barmwater wrote:
>
> This is to announce that version 2 of the new documentation build package is 
> now available here
> . For those like 
> Rony and P.O. who
> have the previous version already, the changed/added files may be downloaded 
> here
> .
>
> This version adds the ability to also build the HTML versions of our 
> documents. A number of issues
> with those versions produced by Publican have been corrected as well. The 
> command to build HTML
> document files is DOC2HTML [whichdoc]. If you have already run docprep 
> , you do not need
> to specify the argument. The multiple files that are produced are placed in 
> HTML_folders\\.
>
> Other changes in this version are the addition of two small ooRexx 

Re: [Oorexx-devel] Further ooRexx test cases failing on Mac and Linux

2020-03-28 Thread Enrico Sorichetti via Oorexx-devel
The error is still there …

Interpreter:REXX-ooRexx_5.0.0(MT)_64-bit 6.05 28 Mar 2020
OS Name:DARWIN
SysVersion: Darwin 17.7.0

Tests ran:  23045
Assertions: 382991
Failures:   1
Errors: 0

[failure] [20200328 12:53:27.490511]
  svn:r12014   Change date: 2020-03-27 19:09:44 +0100
  Test:   TEST_WAIT_CONCURRENT
  Class:  EventSemaphore.testGroup
  File:   .../ooRexx/base/class/EventSemaphore.testGroup
  Line:   157
  Failed: assertSame
Expected: [[1], identityHash="-4387952241"]
Actual:   [[0], identityHash="-4387850241"]
Message:  our worker should not time-out

File search:00:00:01.249879
Suite construction: 00:00:01.154680
Test execution: 00:04:04.573891
Total time: 00:04:07.242395


My best regards
Enrico Sorichetti


> On 25 Mar 2020, at 11:46, P.O. Jonsson  wrote:
> 
> Correction: on the Mac only the semaphore tests are failing, not the other 
> ones.
> 
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> oor...@jonases.se <mailto:oor...@jonases.se>
> 
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel