Posts

Showing posts from 2013

Quick Start Apache Stratos from EC2 images

Image
In this blog post I focus on deploying the pre-built EC2 image of Apache Stratos. Note : This blog post is based on "Stratos Quick Start Guide",  Starting the Apache Stratos demo image Spawning the Apache Stratos instance Configuring the Apache Stratos instance Registering a tenant and configuring Cartridges Starting the Apache Stratos demo image Common Prerequisites The following are the recommended prerequisites when running the Apache Stratos demo setup in a single node. Please note that for production deployment the prerequisites will vary based on the scalability requirements.  System Requirements Processor : 2.8GHz CPU Memory : At least 8GB memory. However, 16GB is recommended. Disk : 40G hard disk space The following are the memory allocations for Amazon EC2 instance types that you may require: m1.large = 7.5 GB m1.xlarge =15 GB m3.xlarge= 15 GB Software Requirements Git Facter Java (JDK1.6.x) ZIP MySQL Server

How to automate the installation of Eclipse plugins with ant task

In this blog post I suggest a simple way to automate the installation of Eclipse plugins with ant task and maven-antrun-plugin. ${project.basedir}/target/eclipse = eclipse dir (extract using maven dependency plugin) ${project.basedir}/target/p2-repo = p2 dir of plugins  (extract using maven dependency plugin) sample1.feature.group, sample2.feature.group,.... = sample feature group names a snippet of my code follows. <plugin>  <artifactid>maven-antrun-plugin</artifactid>          <executions>      <execution>      <id>install-eclipse</id>      <phase>package</phase>      <goals>       <goal>run</goal>      </goals>      <configuration>      <tasks>       <java classname="org.eclipse.equinox.launcher.Main" failonerror="true" fork="true" maxmemory="1024m" spawn="false">       <classpath>        <fileset dir="${project.ba