Difference between revisions of "Building your gCube Portlet in ETICS"

From Gcube Wiki
Jump to: navigation, search
Line 4: Line 4:
 
== build.xml ==
 
== build.xml ==
  
Please download from here the basic build.xml file. [[Image:build.xml]]
+
Please download from here the basic build.xml file. [[File:Build.xml]]
  
 
== build.properties ==
 
== build.properties ==
  
Please download from here the basic build.properties file. Link
+
Please download from here the basic build.properties file. [[File:Build.properties]]
  
  
Line 23: Line 23:
  
  
All portlets should express a dependency on org.gcube.portal.portal-framework
+
All portlets should express a dependency on org.gcube.portal.portal-framework.
  
 
=== portal-framework details ===
 
=== portal-framework details ===

Revision as of 11:50, 5 July 2010

Build Script

To build portlets in ETICS (and also on development machine) a standard build.xml and build.properties can be used.

build.xml

Please download from here the basic build.xml file. File:Build.xml

build.properties

Please download from here the basic build.properties file. File:Build.properties


ETICS Configuration

In this page a guide to create an ETICS configuration for a D4Science-II portlet is provided.

Build Commands

Dependencies

In order to simplify portlet's dependencies management a special component has been created: org.gcube.portal.portal-framework. The aim of this component is to:

  • decouple portlets from the specific portal implementation (e.g.: gridsphere, liferay,...);
  • pull off common dependencies from portlet's configurations (e.g.: gwt, gcube-widgets);
  • provide an environment to compile portlet;


All portlets should express a dependency on org.gcube.portal.portal-framework.

portal-framework details

At the moment, org.gcube.portal.portal-framework provide portlets that express it as dependency with:

  • a PORTAL_HOME env variable that point to actual location on filesystem of portal libraries;
  • a GWT_HOME anv variable that point to actual location of gwt installation directory;
  • gwt dependency;
  • liferay dependency;
  • gcube-widgets-library dependency;