(function () {
	'use strict';
	var gulp = require('gulp'),
			  concat = require('gulp-concat'),
			  size = require('gulp-filesize'),
			  jshint = require('gulp-jshint'),
			  uglify = require('gulp-uglify');
	gulp.task('default', ['minify']);
	gulp.task('minify', function () {
		gulp.src('target/classes/ocelot-core.js')
				  .pipe(size())
				  .pipe(jshint())
				  .pipe(jshint.reporter('jshint-stylish'))
				  .pipe(uglify())
				  .pipe(concat("ocelot-core-min.js"))
				  .pipe(gulp.dest('target/classes/'));
		gulp.src('target/classes/ocelot-core-min.js')
				  .pipe(size());
	});
})();

@@ -48,24 +48,57 @@
 re('gulp'),%0A
+           del = require('del'),%0A
 %09%09%09  concat 
@@ -265,38 +265,209 @@
 , %5B'
-minify'%5D);%0A%09gulp.task('minify'
+clean', 'minify', 'add-ocelot-services', 'jshint'%5D);%0A%09gulp.task('clean', function () %7B%0A%09%09return del.sync('./target/classes/ocelot-core*.js');%0A%09%7D);%0A%09gulp.task('jshint', %5B'minify', 'add-ocelot-services'%5D
 , fu
@@ -480,16 +480,23 @@
  () %7B%0A%09%09
+return 
 gulp.src
@@ -488,33 +488,36 @@
 return gulp.src(
-'
+%5B'./
 target/classes/o
@@ -520,111 +520,301 @@
 es/o
-celot-core.js')%0A%09%09%09%09  .pipe(size())%0A%09%09%09%09  .pipe(jshint())%0A%09%09%09%09  .pipe(jshint.reporter('jshint-stylish')
+rg/ocelotds/OcelotServices.js', './src/main/resources/ocelot-core.js', './target/classes/ocelot-core*.js'%5D)%0A%09%09%09%09  .pipe(size())%0A%09%09%09%09  .pipe(jshint())%0A%09%09%09%09  .pipe(jshint.reporter('jshint-stylish'));%0A%09%7D);%0A%09gulp.task('minify', function () %7B%0A%09%09return gulp.src('./src/main/resources/ocelot-core.js'
 )%0A%09%09
@@ -852,17 +852,17 @@
 (concat(
-%22
+'
 ocelot-c
@@ -875,9 +875,257 @@
 n.js
-%22
+'))%0A%09%09%09%09  .pipe(gulp.dest('target/classes/'));%0A%09%7D);%0A%09gulp.task('add-ocelot-services', %5B'minify'%5D,function () %7B%0A%09%09gulp.src(%5B'./target/classes/org/ocelotds/OcelotServices.js', './src/main/resources/ocelot-core.js'%5D)%0A%09%09%09%09  .pipe(concat('ocelot-core.js'
 ))%0A%09
@@ -1168,16 +1168,23 @@
 /'));%0A%09%09
+return 
 gulp.src
@@ -1184,17 +1184,20 @@
 ulp.src(
-'
+%5B'./
 target/c
@@ -1195,32 +1195,87 @@
 /target/classes/
+org/ocelotds/OcelotServices.js', './src/main/resources/
 ocelot-core-min.
@@ -1273,24 +1273,25 @@
 core-min.js'
+%5D
 )%0A%09%09%09%09  .pip
@@ -1292,21 +1292,85 @@
   .pipe(
-size(
+concat('ocelot-core-min.js'))%0A%09%09%09%09  .pipe(gulp.dest('target/classes/'
 ));%0A%09%7D);

add ocelotServices in gulp task