ErosOlmi
18-04-2009, 17:00
Prerequisites
I hope you followed previous post about thinSVN. If not, please do not go on and read first the following posts:
thinSVN (01): new forum (http://community.thinbasic.com/index.php?topic=2614.0)
thinSVN (02): what do you need to start (http://community.thinbasic.com/index.php?topic=2615.0)
thinSVN (03): how to make your first readonly login (http://community.thinbasic.com/index.php?topic=2619.0)
If prerequisites are ok you can go on, otherwise please read the above threads and do what is described inside.
_________________________________________________
I have shared first thinBasic module source code. We will start from one of the simplest and less developed module: "ZLib" module.
ZLib module was one of the first introduced module in thinBasic programming language but so far very few asked new features on this module. For this reason it just contains 2 functions:
StrZip$ (http://www.thinbasic.com/public/products/thinBasic/help/html/strzip%24.htm)
StrUnZip$ (http://www.thinbasic.com/public/products/thinBasic/help/html/strunzip%24.htm)
I always wanted to add full .zip file handling functions but never had time to do it. So I thought that sharing ZLib module source code can be an option to add more functionalities.
How to get sources and connect thinSVN server version with your local version
Follow the following steps.
Decide in which directory you want create your local copy of the sources.
I suggest to have something like C:\thinSVN_Projects\
Open Windows Explorer in that directory and do Right click.
You will see a TortoiseSVN command called "SVN Checkout".
This is the command that will let you connect a local folder with a thinSVN project folder. You will see a window like this one
http://community.thinbasic.com/temp/thinSVN_CheckOut.jpg
In "URL of repository" type exacly what you see in the picture above
In "Checkout directory" type or browse the local folder where you want to develop your project.
If asked to login, give the user/password I gave in post thinSVN (03): how to make your first readonly login (http://community.thinbasic.com/index.php?topic=2619.0)
Press OK button.
If all was OK, you will see your local directory populated with your local copy of thinBasic zLIB module. Something like that:
http://community.thinbasic.com/temp/thinSVN_zLib.jpg
For the moment do not care about project subdirectories. You should only know that all sources or needed files will be places under trunk subdirectory. I will explain in future posts the meaning of those names.
Those of you already having a thinSVN account are set as Read and Write to this project.
Additional posts will follow describing:
how to keep your local copy updated
how to be able to modify source code and commit to thinSVN server
Your changes to the source files will be merged with all the others willing to contribute to this module development
Ciao
Eros
I hope you followed previous post about thinSVN. If not, please do not go on and read first the following posts:
thinSVN (01): new forum (http://community.thinbasic.com/index.php?topic=2614.0)
thinSVN (02): what do you need to start (http://community.thinbasic.com/index.php?topic=2615.0)
thinSVN (03): how to make your first readonly login (http://community.thinbasic.com/index.php?topic=2619.0)
If prerequisites are ok you can go on, otherwise please read the above threads and do what is described inside.
_________________________________________________
I have shared first thinBasic module source code. We will start from one of the simplest and less developed module: "ZLib" module.
ZLib module was one of the first introduced module in thinBasic programming language but so far very few asked new features on this module. For this reason it just contains 2 functions:
StrZip$ (http://www.thinbasic.com/public/products/thinBasic/help/html/strzip%24.htm)
StrUnZip$ (http://www.thinbasic.com/public/products/thinBasic/help/html/strunzip%24.htm)
I always wanted to add full .zip file handling functions but never had time to do it. So I thought that sharing ZLib module source code can be an option to add more functionalities.
How to get sources and connect thinSVN server version with your local version
Follow the following steps.
Decide in which directory you want create your local copy of the sources.
I suggest to have something like C:\thinSVN_Projects\
Open Windows Explorer in that directory and do Right click.
You will see a TortoiseSVN command called "SVN Checkout".
This is the command that will let you connect a local folder with a thinSVN project folder. You will see a window like this one
http://community.thinbasic.com/temp/thinSVN_CheckOut.jpg
In "URL of repository" type exacly what you see in the picture above
In "Checkout directory" type or browse the local folder where you want to develop your project.
If asked to login, give the user/password I gave in post thinSVN (03): how to make your first readonly login (http://community.thinbasic.com/index.php?topic=2619.0)
Press OK button.
If all was OK, you will see your local directory populated with your local copy of thinBasic zLIB module. Something like that:
http://community.thinbasic.com/temp/thinSVN_zLib.jpg
For the moment do not care about project subdirectories. You should only know that all sources or needed files will be places under trunk subdirectory. I will explain in future posts the meaning of those names.
Those of you already having a thinSVN account are set as Read and Write to this project.
Additional posts will follow describing:
how to keep your local copy updated
how to be able to modify source code and commit to thinSVN server
Your changes to the source files will be merged with all the others willing to contribute to this module development
Ciao
Eros