Loading parcels using a batch file

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

Loading parcels using a batch file

squeakman
Hello,

I am trying to load a few parcels to a virgin image to create an image
that has my default parcels loaded. I am using VW7.8 non commercial on a
Windows 7 box.

I am starting the visual works from the command line:
      vwnt visualnc.im -filein .\startingLoad.st.

When the image starts it complains with "ERROR_FILE_NOT_FOUND". From the
stack backtrace, I can see CodeReader>>readFrom is attempting to read
from '$(VISUALWORKS)/parcels/RBSUnitExtensions.pcl'

I have confirmed that my environment variable VISUALWORKS points to the
correct place and I confirmed that the parcel file exists.

Can you tell me what I am doing wrong?

Thanks,
Frank

BTW -  Here is what startingLoad.st looks like:

Parcel loadParcelFrom: '$(VISUALWORKS)/parcels/RBSUnitExtensions.pcl'.
ObjectMemory snapshotAs: 'working78' thenQuit: false.




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Loading parcels using a batch file

Janos
-----Original Message-----
From: Kazsoki, Janos
Sent: Montag, 19. März 2012 10:20
To: 'squeakman'
Subject: RE: [vwnc] Loading parcels using a batch file

Hello,

you may want to try loading by name:

In my batch file the .st part looks like:
" Load Parcels for Dev"
#(  'VWHelp' 'UIPainter'  'SUnit' 'SUnitUI' 'RBSUnitExtensions' 'RBTabbedToolsets' 'RBCodeHighlighting' 'RBByteCodeTool'
'StoreForPostgreSQL'  'SToreForOracle' 'SToreForSqlServer' 'LaunchPad' 'AT Profiling UI DLLCC'
) do: [ :each | Parcel loadParcelByName: each].

And it works.

Best regards,
Janos Kazsoki
www.cincom.com


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of squeakman
Sent: Sonntag, 18. März 2012 21:34
To: [hidden email]
Subject: [vwnc] Loading parcels using a batch file

Hello,

I am trying to load a few parcels to a virgin image to create an image that has my default parcels loaded. I am using VW7.8 non commercial on a Windows 7 box.

I am starting the visual works from the command line:
      vwnt visualnc.im -filein .\startingLoad.st.

When the image starts it complains with "ERROR_FILE_NOT_FOUND". From the stack backtrace, I can see CodeReader>>readFrom is attempting to read from '$(VISUALWORKS)/parcels/RBSUnitExtensions.pcl'

I have confirmed that my environment variable VISUALWORKS points to the correct place and I confirmed that the parcel file exists.

Can you tell me what I am doing wrong?

Thanks,
Frank

BTW -  Here is what startingLoad.st looks like:

Parcel loadParcelFrom: '$(VISUALWORKS)/parcels/RBSUnitExtensions.pcl'.
ObjectMemory snapshotAs: 'working78' thenQuit: false.




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Loading parcels using a batch file

squeakman
Yes that worked, thanks.

I was using the instructions in the Smalltalk Daily tutorial here:

http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-11-23-09-lg.mp4

The instructions in that tutorial appears not to work in a Windows
environment.

Thanks again,
Frank


On 19/03/2012 5:21 AM, Kazsoki, Janos wrote:
> you may want to try loading by name:
>
> In my batch file the .st part looks like:
> " Load Parcels for Dev"
> #(  'VWHelp' 'UIPainter'  'SUnit' 'SUnitUI' 'RBSUnitExtensions' 'RBTabbedToolsets' 'RBCodeHighlighting' 'RBByteCodeTool'
> 'StoreForPostgreSQL'  'SToreForOracle' 'SToreForSqlServer' 'LaunchPad' 'AT Profiling UI DLLCC'
> ) do: [ :each | Parcel loadParcelByName: each].


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc