Antville Project

How to update antville 1.0 pre1 to the current version

This is a simple step-by-step guide for people who want to update their antclick 1.0 pre1 installation to a recent version.

  1. Get a fresh version from antclick from CVS or from the download page.
  2. Install the fresh antclick version side by side to your old installation (i.e. do not overwrite the old version) and make sure both are not running.
  3. Copy the following directories from your old installation to the new one:
    1. db/antville/*
    2. data/*
  4. Do not work on the original files, and make sure you have backup copies!
  5. Next, you need to update your antclick data to a new database format. You do this by invoking the following command from command line in your new antclick installation:

    java -cp lib/ext/mckoidb.jar com.mckoi.tools.DataFileConvertTool -path data

    Note that you may have to include the full path to your java runtime such as C:\programme\j2sdk1.4.1\bin\java . You should get the following output:

    Version 1.1 found. Converting database to version 1.2 schema... Guessing administrator is: admin Setting grant options for administrator. Converting: APP.AV_ACCESSLOG Converting: APP.AV_CHOICE Converting: APP.AV_FILE Converting: APP.AV_IMAGE Converting: APP.AV_MEMBERSHIP Converting: APP.AV_POLL Converting: APP.AV_SKIN Converting: APP.AV_SYSLOG Converting: APP.AV_TEXT Converting: APP.AV_USER Converting: APP.AV_VOTE Converting: APP.AV_SITE -- Convert Successful --

  6. Finally, you need to add some columns to the database tables which have been added to antville since antclick 1.0 pre1. To do this, we launch the Mckoi Query tool:

    java -cp lib/ext/mckoidb.jar com.mckoi.tools.JDBCQueryTool -url jdbc:mckoi:local://./db.conf -u admin -p entwil

    A window similar to this should pop up. Enter the following line and hit "Run Query".

    alter table AV_USER add column USER_EMAIL_ISPUBLIC tinyint(1) null

    If you don't get any error message and the result grid says "0", you should be fine.

  7. Exit the Mckoi Query tool and start antclick via hop.sh or hop.bat, depending on whether you are on Linux/Unix/OS X or Windows. Your new antclick should be functional. However, if you customized some of the skins it is very likely that you have some additional work to do here. The new skin diff feature should help you catch up with the changes in the default skins.

While I have performed the steps in this guide several times myself, it is possible, even probable, that I missed something. If you meet any problems with your updated antclick, please let me know by adding a comment to right here.

comment    

 
tobi, December 4, 2002 at 2:42:14 PM CET

Re: How to update antville 1.0 pre1 to the current version

cvs info found via helma.org search engine: helma.org

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8549 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher