clouaformation-ec2-sample-e

CloudFormation EC2 Sample Example Program

Read more »
sample-data-elastic-search

How to create sample data to perform searches using elastic search?

Step 1 – Go to: http://www.json-generator.com/ Step 2 – Download and save as customers_full.json Step 3 – Open customers_full.json in sublimetext Remove the array brackets Find-Replace },{ with }\n{ in…

Read more »
ant-build-script-war-file

A sample Ant build script that builds a WAR file – Guide

A sample Ant build script that builds a WAR file <project name=”MyWebApplication” basedir=”..” default=”install”> <!– project-specific variables –> <property name=”jsp.dir.name” value=”myapp” /> <property name=”package.name” value=”${jsp.dir.name}.war” /> <property name=”webapp.dir” value=”/Users/al/tomcat-6.0.16/webapps” />…

Read more »
ant-clean-prepare-and-compile-tasks

Simple Ant Example – clean, prepare, and compile tasks

Sample Ant clean, prepare, and compile tasks <target name=”clean”> <echo>=== CLEAN ===</echo> <delete failonerror=”false”> <fileset dir=”${dest.dir}” includes=”**/*”/> </delete> <delete dir=”${temp.dir}” /> </target> <target name=”prepare” depends=”clean”> <echo>=== PREPARE ===</echo> <mkdir dir=”${dest.dir}”…

Read more »