Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Upgrading To A New Release

All the code and data that you create with Suneido is in the database – suneido.db. New releases come with their own new database. If your database contains anything you want to keep you don’t want to install a new release over your existing one. There are several ways you can handle the upgrade, I’ll just describe one of them.

Note: If you use the setup / installer version of the download, it handles this process automatically – just install over your previous version.

Of course, it’s always a good idea to make backups, just in case!

Rename your database, for example: (You might also want to back it up, just in case!)

C:\suneido> ren suneido.db suneido.db.bak

Unzip the new release into your existing Suneido directory.
Dump stdlib and suneidoc from the new database.

C:\suneido> suneido -dump stdlib

C:\suneido> suneido -dump suneidoc

Rename the new database, for example:

C:\suneido> ren suneido.db suneido.db.new

Rename your previous database back:

C:\suneido> ren suneido.db.bak suneido.db

Load the new stdlib and suneidoc into your previous database:

C:\suneido> suneido -load stdlib

C:\suneido> suneido -load suneidoc

Note: If you are on Windows 9x, you’ll find that you are returned back to the MSDOS prompt immediately after a dump or load command, before the command is complete. If you try to run another command right away, you’ll get an error saying the database is in use. To avoid this you can prefix the dump and load lines with “start/w”, for example:

start/w suneido -load stdlib

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language