Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to deploy a pharo image without .changes and .sources files

I've built a pharo application that I want to give to my customers. The application is based on seaside and will run headless. For this I don't need the .source and .changes file. I would like to save some space in the distribution archive and therefor I'd like to skip those files.

At the moment it appears to me that pharo is complaining anyway if those files are missing. Is there a chance to start the image without .sources and .changes file?

like image 294
Norbert Hartl Avatar asked Feb 06 '13 20:02

Norbert Hartl


2 Answers

From Sven Van Caekenberghe:

SmalltalkImage
        checkSourcesFileAvailability: false;
        checkChangesFileAvailability: false.

And then save the image.

like image 105
Damien Cassou Avatar answered Nov 08 '22 07:11

Damien Cassou


Yes it should run just fine. It should only show an error-message in the GUI but the main thread should keep running, and since you are running headless (i have made better experience with -nodisplay btw) your clients will not be able to see the message.

like image 3
Bernd Elkemann Avatar answered Nov 08 '22 07:11

Bernd Elkemann