Norbert Hartl
Norbert Hartl

Reputation: 10841

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?

Upvotes: 10

Views: 568

Answers (2)

Damien Cassou
Damien Cassou

Reputation: 2589

From Sven Van Caekenberghe:

SmalltalkImage
        checkSourcesFileAvailability: false;
        checkChangesFileAvailability: false.

And then save the image.

Upvotes: 12

Bernd Elkemann
Bernd Elkemann

Reputation: 23550

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.

Upvotes: 3

Related Questions