I'm not sure this got through.  I got a bounce back from stephar...@free.fr.

-----Original Message-----
From: mlda...@chaparralwest.com [mailto:mlda...@chaparralwest.com] 
Sent: Friday, March 10, 2017 1:01 PM
To: 'stepharong' <stephar...@free.fr>; 'pharo-users@lists.pharo.org'
<pharo-users@lists.pharo.org>
Subject: RE: [Pharo-users] New Version of Pillar on Windows

Thank you for the quick response.  From what you told me and what I have
seen so far, it will most likely work.  I will have it tested and get back
to you by Monday.  I'm rather swamped today.

I would like to add a comment about this, that ties into another thread with
a comment by Peter: "I would argue that its simply easier to find Mac/Linux
low-level experts and contributors than Windows as the developer culture
(including OSS and contributions) is different."

I agree with Peter that the Windows developer culture, even at the low-level
is different.  I believe that is twofold:  First, use of the Windows command
line and even the Microsoft endorsed PowerShell is seldom used to perform
development work.  Although PowerShell is commonly used for server
administration.  ALSO, and more importantly, the "C" / ADT based language
culture is very, very strong in the U.S.  I believe this was an unfortunate
branch in software development here.  This requires such a strong behavioral
change to switch to a dynamic, object messaging environment like SmallTalk,
that it is typically ignored.  I'm personally pursuing an effort to motivate
local interest in Pharo, in a local open source group to which I belong, for
all the reasons you know well.

 In this particular case, for example, rather than adapting the Linux style
scripts to Windows command line, my first reaction was to attempt to do the
same thing within the Playground after which I would add an appropriate
method or subclass to the Pillar package etc.  Is this too far afield from
where you are going with Pharo?

At any rate, I will get the Windows command line version tested and also a
Windows command line batch file (.bat) which could be circulated along with
the .sh scripts, if you like.

Cheers,

mike

-----Original Message-----
From: stepharong [mailto:stephar...@free.fr]
Sent: Thursday, March 9, 2017 1:20 PM
To: pharo-users@lists.pharo.org; mlda...@chaparralwest.com
Subject: Re: [Pharo-users] New Version of Pillar on Windows

Hi mike

I just checked
        - ./download.sh and it took the 50 stable version
        - make
        this created the html

Now on windows you do not have make probably :) so you should

$(OUTPUTDIRECTORY)/%.html: $(OUTPUTDIRECTORY)/%.html.json
        ./mustache --data=$< --template=${HTMLTEMPLATE} > $@

invoke ./mustache --data=output.html.json --template==yourhtmltemplate

Tell me if this is working.


> I am trying out the new version of Pillar (build 1940 or 1941) on 
> Windows on Pharo 50770, following the Pillar tutorial in Enterprise 
> Pharo book:
>
> I created the new file first.pillar containing:  ! Hello World
>
> I ran: C:\Users\mldavis\Desktop\mldPillarWorking>Pharo.exe
> Pillar.image pillar export --to=html first.pillar
>
> It created a file named:  output.html.json  containing:
> {"content":"<section>\r\n<h1>1. Hello World</h1>\r\n</section>"}
>
> It was supposed to be an HTML document as shown in Enterprise Pharo 
> para
> 14.2 page 213 "5 Minutes Tutorial".
>
> Any suggestions what I missed or should do?
>
> mike
>
>
>


--
Using Opera's mail client: http://www.opera.com/mail/


Reply via email to