Hi,
How do you find the absolute path of the image inside the file system when running Seaside? Is there a way to do this using Seaside in a platform-independent manner? Thanks, Avi. _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Hi,
Depends on what you mean with 'platform': operating system or smalltalk dialect. In Pharo 1.1, you can do that by evaluating the following: SmalltalkImage current imagePath On 03 Feb 2011, at 19:32, Avi Shefi wrote:
_______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Thanks!
By platform I mean regardless of smalltalk dialect and operating system (probably through the use of Grease). Is there a way ? Or does accessing the smalltalk image has to be dialect-specific? Thanks, Avi. On Thu, Feb 3, 2011 at 8:50 PM, Johan Brichau <[hidden email]> wrote:
_______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
No, there's no such thing currently. If people see a need for it (and
assuming it has a consistent meaning and can be implemented in all Smalltalks - Gnu? Gemstone?) then it could be added to Grease. But it's not there now. Julian On Thu, Feb 3, 2011 at 7:01 PM, Avi Shefi <[hidden email]> wrote: > Thanks! > > By platform I mean regardless of smalltalk dialect and operating system > (probably through the use of Grease). > Is there a way ? Or does accessing the smalltalk image has to be > dialect-specific? > > > Thanks, > Avi. > > On Thu, Feb 3, 2011 at 8:50 PM, Johan Brichau <[hidden email]> wrote: >> >> Hi, >> Depends on what you mean with 'platform': operating system or smalltalk >> dialect. >> In Pharo 1.1, you can do that by evaluating the following: >> SmalltalkImage current imagePath >> >> >> On 03 Feb 2011, at 19:32, Avi Shefi wrote: >> >> Hi, >> How do you find the absolute path of the image inside the file system when >> running Seaside? >> Is there a way to do this using Seaside in a platform-independent manner? >> >> >> Thanks, >> Avi. >> _______________________________________________ >> seaside-dev mailing list >> [hidden email] >> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev >> >> >> _______________________________________________ >> seaside-dev mailing list >> [hidden email] >> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev >> > > > _______________________________________________ > seaside-dev mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev > > seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Free forum by Nabble | Edit this page |