Re: [Factor-talk] Errata

2011-07-28 Thread Michele Pes
Thank you very much John!
Running the script didn't showed the errors I found in the listener
(as you mentioned). Now I solved both development and deployment!
Best regards,
michele pes


On 7/27/2011 9:18 PM, John Benediktsson wrote:
> Hi Michele,
>
> Below is a "file copy" program that can be deployed and works.  I
> don't know if it differs from your requirements, but you might find it
> useful to look through:
>
> http://paste.factorcode.org/paste?id=2334
>
> Best,
> John.
>
>
> On Wed, Jul 27, 2011 at 8:24 AM, John Benediktsson  > wrote:
> > When I tried to load your file in the Factor listener (e.g., "USE:
> > file-copier"), I got a few errors (press F3 to see them).  The
> > following minor changes fixed it for me:
> >
> > $ diff ~/Downloads/file-copier.factor file-copier.factor
> > 105,106c105,106
> > < [ g-source get file-name g-destination set ]
> > < [ dup second g-destination set ]
> > ---
> >> [ drop g-source get file-name g-destination set ]
> >> [ second g-destination set ]
> > 114c114
> > < g-destination get dup exists?
> > ---
> >> g-destination get exists?
> > 116c116
> > < file-info directory?
> > ---
> >> g-destination get file-info directory?
> >
> > Hope that helps,
> > Best,
> > John.
> >
> > On Wed, Jul 27, 2011 at 3:29 AM, Michele Pes  > wrote:
> >>
> >> Hi,
> >> xml-validator now correctly deploy, excuse me for trivial error.
> >> File copier correctly deploy, but immediately exit with a run-time
> error.
> >> When I run it as script, no errors are shown.
> >> Please help,
> >> michele pes
> >>
> >>
> >>
> --
> >> Got Input?   Slashdot Needs You.
> >> Take our quick survey online.  Come on, we don't ask for help often.
> >> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> >> http://p.sf.net/sfu/slashdot-survey
> >> ___
> >> Factor-talk mailing list
> >> Factor-talk@lists.sourceforge.net
> 
> >> https://lists.sourceforge.net/lists/listinfo/factor-talk
> >
>
>
>
> --
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
>
>
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Errata

2011-07-27 Thread John Benediktsson
Hi Michele,

Below is a "file copy" program that can be deployed and works.  I don't know
if it differs from your requirements, but you might find it useful to look
through:

http://paste.factorcode.org/paste?id=2334

Best,
John.


On Wed, Jul 27, 2011 at 8:24 AM, John Benediktsson  wrote:
> When I tried to load your file in the Factor listener (e.g., "USE:
> file-copier"), I got a few errors (press F3 to see them).  The
> following minor changes fixed it for me:
>
> $ diff ~/Downloads/file-copier.factor file-copier.factor
> 105,106c105,106
> < [ g-source get file-name g-destination set ]
> < [ dup second g-destination set ]
> ---
>> [ drop g-source get file-name g-destination set ]
>> [ second g-destination set ]
> 114c114
> < g-destination get dup exists?
> ---
>> g-destination get exists?
> 116c116
> < file-info directory?
> ---
>> g-destination get file-info directory?
>
> Hope that helps,
> Best,
> John.
>
> On Wed, Jul 27, 2011 at 3:29 AM, Michele Pes  wrote:
>>
>> Hi,
>> xml-validator now correctly deploy, excuse me for trivial error.
>> File copier correctly deploy, but immediately exit with a run-time error.
>> When I run it as script, no errors are shown.
>> Please help,
>> michele pes
>>
>>
>>
--
>> Got Input?   Slashdot Needs You.
>> Take our quick survey online.  Come on, we don't ask for help often.
>> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
>> http://p.sf.net/sfu/slashdot-survey
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Errata

2011-07-27 Thread John Benediktsson
When I tried to load your file in the Factor listener (e.g., "USE:
file-copier"), I got a few errors (press F3 to see them).  The
following minor changes fixed it for me:

$ diff ~/Downloads/file-copier.factor file-copier.factor
105,106c105,106
<     [ g-source get file-name g-destination set ]
<     [ dup second g-destination set ]
---
>     [ drop g-source get file-name g-destination set ]
>     [ second g-destination set ]
114c114
<         g-destination get dup exists?
---
>         g-destination get exists?
116c116
<             file-info directory?
---
>             g-destination get file-info directory?

Hope that helps,
Best,
John.

On Wed, Jul 27, 2011 at 3:29 AM, Michele Pes  wrote:
>
> Hi,
> xml-validator now correctly deploy, excuse me for trivial error.
> File copier correctly deploy, but immediately exit with a run-time error.
> When I run it as script, no errors are shown.
> Please help,
> michele pes
>
>
> --
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk