After building an application using Seaside I managed to push my Pharo image code to GitHub using iceberg. I was able to clone it into a new Pharo image on a new machine. However, loading the package into the image seems to generate an error requesting some seaside dependencies. I still don't understand the concept of adding a dependency to a Pharo image. Could one explain to me how to go about doing it? I need it for code deployment and collaboration.
How do you add dependency to a Pharo image?
382 Views Asked by ludo At
1
There are 1 best solutions below
Related Questions in SMALLTALK
- Problem Working with Arrays in Pharo 11.0
- On Pharo 11, is it possible to programatically change the traits of a defined class?
- Smalltalk self issue
- How to define a variable in Strongtalk (Smalltalk) and print it
- Understanding Smalltalk Method Invocation with Multiple Colons
- Convert DateTime to formated String on Pharo 11
- Is there a function to check intersection of two timespans in smalltalk?
- smalltalk difference new & initialise
- Sort array that has different types in smalltalk
- Singleton pattern for multi-processing on Pharo 10.0 ( Smalltalk )
- Which methods must I override to enable drag&drop in Squeak?
- Refreshing a Morph without any user interaction
- Why can't methods have the same name in the same class?
- How is ordered a Dictionary in Pharo?
- Smalltalk Prime Generator with a connected list not working
Related Questions in PHARO
- Problem Working with Arrays in Pharo 11.0
- On Pharo 11, is it possible to programatically change the traits of a defined class?
- how to open a file in windows, from Pharo environment?
- Pharo or Squeak: How to get a list of directories and files in a recursive way
- Convert DateTime to formated String on Pharo 11
- Read nested Json Mapping with NeoJSON
- Overriding and extending trait methods in Pharo
- Singleton pattern for multi-processing on Pharo 10.0 ( Smalltalk )
- How to use commandline tools from within pharo
- How to show test results in the console?
- How to log stack traces from seaside in deployed application
- How is ordered a Dictionary in Pharo?
- Can a child component use updateRoot: to add javascript
- Stream assigment in pharo
- Generateing a method via source code in pharo
Related Questions in SEASIDE
- Styling seaside confirm dialog
- How to log stack traces from seaside in deployed application
- Can a child component use updateRoot: to add javascript
- AWS EC2 running a server on 8080 but cannot connect from outside
- Seaside redirect for render not working on physical iOS devices
- Smalltalk Seaside display in threes without using tables
- Multi-web server ajax callback with refresh on Enter
- Seaside & jQuery UI: Sortable list not working?
- Seaside hooks before and after rendering
- Get parent component in Seaside
- Making a hyperlink in Seaside with an image as the clickable item
- Problem Uploading CSS File to Seaside FileLibrary
- Pharo Seaside - How to update a Database entry after editing a tag in html
- Smalltalk Seaside - How do I change the size of a button?
- Cant seem to fully understand how textInput works on a super simple website
Related Questions in PHAROCLOUD
- How do you add dependency to a Pharo image?
- Why does my fresh installed Pharo.image does not save as given in the tutorial?
- How can I refresh a session for every 60 second and display it on transcript with Pharo?
- Downloading sources file to image directory
- How do I change my PharoCloud appliance domain to my domain?
Related Questions in PHARO-6
- Is there a limit to the number of nested #call:'s in Seaside?
- How to do "File in" in Pharo 6.1?
- How do you add dependency to a Pharo image?
- How do we send a canvas image data as an attachment to a server on Pharo?
- Pharo state corrupt, how to save my code?
- Getting error when adding OSSubprocess to my Pharo 6.1 on Centos 7.4x
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm sorry, I don't understand completely your question. If you mean how can you define a project (which can have dependencies, etc.), something like you would be doing with, for instance, maven, you need to define a Baseline.
A baseline is a class (and a package) that you need to define and save with your sources. Take this one as example: https://github.com/estebanlm/logger/blob/master/src/BaselineOfLogger/BaselineOfLogger.class.st
(this is the smallest example I found, and the project itself is not very interesting).
I will explain it in parts:
You have a class named
BaselineOfLoggerthat inherits ofBaselineOfand is placed in a package with the same name of the baseline (this is important, for the tools to find it later).You define a method tagged with the pragma
baseline(pragmas are a little bit like annotations):as you can see this method defines a "spec" for Pharo: - it will load
beaconproject (we'll see this later) - it declares it will load the packageLogger.The method
beacon:is defined like this:and as you can see, it points to another project (and another baseline). Now, since you need
Seaside, your Baseline could look something like this:Finally, in your image, to load you will do something like this:
This is more or less like that. But please note than declaring dependencies is a complicated matter (no matter the language you use) and the example I made will cover just the very basics.