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 <[email protected]> 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 <[email protected]> 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
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to