Vine Toolkit + Eclipse

  • user warning: Table 'variable' is marked as crashed and should be repaired query: UPDATE variable SET value = 's:1:\"1\";' WHERE name = 'image_gallery_nav_vocabulary' in /var/www/vinetoolkit.org/includes/bootstrap.inc on line 609.
  • user warning: Table 'variable' is marked as crashed and should be repaired query: UPDATE variable SET value = 'a:1:{i:0;s:13:\"primary-links\";}' WHERE name = 'menu_expanded' in /var/www/vinetoolkit.org/includes/bootstrap.inc on line 609.

In this section we describe how to set up dev environment based on the Eclipse IDE.

Getting sources

As the first step we encourage creating the following directory structure:

vine-1.3/
|-- liferay-portal-5.2.3
|-- portal -> /Users/gosiaw/vine-1.3/liferay-portal-5.2.3/tomcat-5.5.27/
`-- vine

The contents of that directory include:

  • liferay-portal-5.2.3 directory with Liferay
  • liferay-portal-5.2.3/Tomcat 5.5.27 directory with a symbolic link ( portal )
  • vine directory with the latest sources of Vine Toolkit from the SVN

To check out the Vine Toolkit from the SVN please use the following command:

svn co https://gforge.man.poznan.pl/svn/vine/vine/trunk vine

Or use Eclipse with Subclipse plugin installed.

SVN Repository perspectiveSVN Repository perspective
Choose SVN repositoryChoose SVN repository
Checkout from SVNCheckout from SVN

After checkout operation, Vine directory contains basic codes of Vine Toolkit. It is not necessary to download all components of Vine Toolkit. It is much better to choose appropriate installer and download components used by this installer only.
In the picture below we can see the list of Vine Toolkit installers.

List of installersList of installers

It is much easier to download components using terminal window.

magnolia-small:Vine gosiaw$ ant fetch

After running this command it is necessary to choose appropriate installer and decide if it should become the default one.

magnolia-small:vine gosiaw$ ant fetch
Buildfile: build.xml

fetch:

-------------------------------------------------------------
-- Available Installers
-------------------------------------------------------------
[1] BEinGRID Demonstration for Tomcat 5.X and GridSphere 3.1
[2] BlazeDs example installer for Gridsphere 3.1
[3] BlazeDs example installer for Liferay 5.x
[4] Flowify Portal
[5] Flowify Portal - installation without Gria
[6] Flowify services
[7] HPCEuropa2
[8] Job Manager Test
[9] OMII-Europe Demonstration for Tomcat 5.X and GridSphere 3.1
[10] PLGRIDSRV (servlet mode)
[11] PLGrid with GridSphere
[12] PLGrid with Liferay
[13] Vine for Tomcat 5.X, GridSphere 3.1 and Globus Toolkit 4
[14] Vine for Tomcat 5.X, GridSphere 3.1 and UNICORE 6
[15] Vine for Tomcat 5.X, GridSphere 3.1 and gLite 3
[16] WOW2GREENSRV
[17] Wow2Green portal installer
[18] nano abinit project deployed to Liferay
[input] Enter the number of the installer you want to use, i.e. "1"
12

[input] Would you like this installer to be the default installer? ([y], n)
y

And then execute install command.

magnolia-small:Vine gosiaw$ ant install