| |||||||||||||||||||||||
| |||||||||||||||||||||||
| Source Code Management (SVN) |
VirtueMart manages its own SVN repository on the dev.virtuemart.net SVN Server. So you can always check out the latest source code! In order to obtain the Sources anonymously (read only) you need to know the following:
SVN URL: https://dev.virtuemart.net/svn/virtuemart
User: anonymous (no password required)
This is the SVN command that fetches the repository to your local computer:
svn co https://dev.virtuemart.net/svn/virtuemart virtuemartThe SVN server is case-sensitive. Fill in the details in your SVN Program (recommended: SmartSVN
) just as they are provided here.
In order to download Source Code from the SVN Repositories you’ll need SVN Client Software. Recommended SVN Clients are SmartSVN (for Windows, Mac OS and Linux) or TortoiseSVN (for Windows only).
You can access the Repository read-only anonymously by using an empty Password.
You can checkout the development version of VirtueMart from https://dev.virtuemart.net/svn/virtuemart/trunk.
If the "trunk" is downloaded, you will have 5 new directories:
You can checkout the latest version from the stable branch of VirtueMart from https://dev.virtuemart.net/svn/virtuemart/branches/virtuemart-1_0_0.
If the branch "virtuemart-1_0_0" is downloaded, you will have 2 new directories:
(batch/shell scripts to build installable archives)
The build scripts for VirtueMart and written for "Apache Ant". You will need the scripts and Ant to build installable archives out of the SVN sources.
You need to install Apache Ant in order to build the archives.
You can download the latest version of Apache Ant here:
http://ant.apache.org/bindownload.cgi
.
There are two basic tasks, which will create different package editions
Both tasks will create the Language Pack and a Version for Joomla! 1.0.x/Mambo and one for Joomla! 1.5.
Open the file "config.properties" (should be in the same directory as this HOWTO file) with a Text Editor.
Change the value for "svn.dir" to point to your local checkout copy of the VirtueMart Trunk (SVN).
Example:
svn.dir = C:/joomla/VirtueMart/svn/virtuemartwhere "C:/joomla/VirtueMart/svn/" is the directory that contains the trunk ("build_scripts", "documentation", ..., "virtuemart" )
> cd C:\joomla\VirtueMart\svn\build_scriptsThen run Ant and specify the target (Complete Package or Manual Install Package)
>"C:\Program Files\apache-ant\bin\ant.bat" virtuemart_complete
When everything went ok ([BUILD SUCCESSFUL]), you should now have a new directory "dist" (if you haven't changed the path name for the dist.dir variable) which contains the installable files.