[Glass] Problem with UTF8 encoding and Monticello after GLASS update
Mariano Martinez Peck
marianopeck at gmail.com
Tue Aug 26 12:03:56 PDT 2014
>
>
>>> For my stones, I don't want to rely on that. I want to load an explicit
>>> version of glass so that I know and control what do I load.
>>> So..for the moment, it's fine, the above script is OK.
>>>
>>
>> If you are building a new stone from scratch, you should upgrade to
>> GLASS1.0-beta.9.3 before loading anything else ... that way you have the
>> proper GLASS/Metacello foundation for loading any other packages.
>>
>
> I will open another thread for this.
>
>
OK. Say I have a fresh extent (not the seaside one) that I grab
from /opt/gemstone/product/bin/extent0.dbf in GemStone 3.1.0.5. Until
now, I was installing GLASS1.0-beta.... with this script that you share
with me:
su -m $GEMSTONE_USER -c "$GEMSTONE/bin/topaz -l -T200000 <<EOF
set user SystemUser pass $2
login
run
Stream installLegacyStreamImplementation.
(Globals at: #'PositionableStream_position') == #'ANSI'
ifTrue: [
Globals at: #'PositionableStream_position' put: #'Legacy'.
PositionableStream compilePositionMethods ].
true
%
commit
logout
EOF
"
su -m $GEMSTONE_USER -c "$GEMSTONE/bin/topaz -l -T200000 <<EOF
login
run
System myUserProfile _createDictionary: #GLASS at: 1.
UserGlobals at: #BootstrapSymbolDictionaryName put: #GLASS.
true
%
commit
errorCount
input $GEMSTONE/upgrade/installMaster30.topaz
commit
errorCount
logout
EOF
"
As you can see...this actually executes
$GEMSTONE/upgrade/installMaster30.topaz (which has a hardcoded
configurationVersionString: '1.0-beta.9'; in my case) and that calls
another script and another..etc
So... I wonder, is this still the correct way to install GLASS in a FRESH
extent? Or something like an updated
https://github.com/glassdb/glass#installation should be enough?
Or the idea is that I first do the above to get the "supposed" GLASS
version for my gemstone version and then after perform an upgrade to get
latest GLASS?
Thanks in advance,
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140826/60789d39/attachment.html>
More information about the Glass
mailing list