[Seaside] Directory of Image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Seaside] Directory of Image

littleSmalltalker
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
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Directory of Image

Johan Brichau-2
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
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Directory of Image

littleSmalltalker
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
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Directory of Image

Julian Fitzell-2
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