- AW: - easy application packing in blackbox?

From: Collection <"Collection">
Date: Wed, 28 Dec 2005 23:10:16 +0100

----boundary-LibPST-iamunique-916382919_-_-
Content-type: text/plain

Hello Jean-Philippe,

you ask the wrong questions. It is a typical question from people who came
from Pascal, Delphi, C or any other languages. The philosophy of ETH Oberon
and Blackbox Component Builder is not to link a stand alone program. My
experience is that linking makes no sense. You loose the control of your
program and a lot of functionality. The integrated environment of Blackbox
is a very big advantage.

Of course there are Oberon systems available where you have to link before
you can run your applications (e. g. POW, QIT and other). But they haven't
got any integrated framework. They have traditionally IO libraries (e.g.
Opal).

Anyway, you may found a solution for Blackbox at the Component Pascal
Collection http://www.zinnamturm.de/#Info21 inside the subsystem
Info21: "Project Informatika-21. Component Pascal as a first language."
There are several examples to create an exe file (including a one click
create tool). These examples don't use the framework. They just use In and
Out only.

I hope that helps. Otherwise I have no answer for your questions.

Regards

Helmut Zinn

-----Ursprüngliche Nachricht-----
Von: blackbox{([at]})nowhere.xy
Jean-Philippe Goldman
Gesendet: Samstag, 24. Dezember 2005 01:25
An: BlackBox Mailing List
Betreff: [BlackBox] - easy application packing in blackbox?

Hello BBox list,

I'm teaching Blackbox at Univ.of Geneva for 1st-year student. I'd like
them to pack their applications so they can export and distribute
a unique exe file.

We know how to use CreateTool and make an .exe from a selected module
name. But if an application requires one or more GUIs (form), we have to
include these resources in the Packer list. Then we have to include
[Host,Form,Sql,Win,Std,Ole,...]/Code/*.ocf as some of them are used by
the GUIs. Then we have to add System/Rsrc/CommandLine.txt (with
/NOAPPWIN).Besides, we have to momentarily modify Config file so our
GUI launches at startup. That are numerous steps...

Maybe I don't know all the ins and outs of the Linker and Packer. I
tried to include some GUI file names in the selected list used by
CreateTool. But they are ignored. I guess CreateTool works on MODULES
only. So we don't know exactly which ocf files are required by Forms
so the application is really autonomous. Maybe they are some tricks to
avoid crucial operations about Config and CommandLine...

It would be great if all these steps could be in one click. So one
could create an exe from a GUI window (i.e. the GUI knows which
modules it needs) instead of from a module. The exe would be named
after the name of the GUI file, and the NOAPPWIN and "startAtLauch"
 options would be included by default.

Does someone have an idea to automatize all above in a one-click tool ?
Thanks very much in advance.

Merry Christmas and Happy New Year.

Jean-Philippe

--
Jean-Philippe Goldman
Département de Linguistique - Université de Genève
Rue de Candolle, 2 - CH-1211 Genève-4, Suisse
tél ++41.22.379.73.62 (fax 79.31)
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy----boundary-LibPST-iamunique-916382919_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBIZWxsbyBKZWFuLVBoaWxpcHBl
LFxwYXINClxwYXINCnlvdSBhc2sgdGhlIHdyb25nIHF1ZXN0aW9ucy4gSXQgaXMgYSB0eXBpY2Fs
IHF1ZXN0aW9uIGZyb20gcGVvcGxlIHdobyBjYW1lXHBhcg0KZnJvbSBQYXNjYWwsIERlbHBoaSwg
QyBvciBhbnkgb3RoZXIgbGFuZ3VhZ2VzLiBUaGUgcGhpbG9zb3BoeSBvZiBFVEggT2Jlcm9uXHBh
cg0KYW5kIEJsYWNrYm94IENvbXBvbmVudCBCdWlsZGVyIGlzIG5vdCB0byBsaW5rIGEgc3RhbmQg
YWxv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EpXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3Vi
amVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXIN
Ci0tLSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlNDUklCRSB0
byBibGFja2JveEBvYmVyb24uY2hccGFyDQpccGFyDQp9
----boundary-LibPST-iamunique-916382919_-_---
Received on Wed Dec 28 2005 - 23:10:16 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:06 UTC