buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Odelya Holiday <>
Subject war is not being created although packaging war message appears
Date Wed, 15 Aug 2012 13:07:40 GMT

I have the following code in buildr

desc 'Building API (Grroo) project'
	define 'Grroo' do
		info "starting Grroo project"
		# specify the artifact for plimus, twilio and floristone since I
created it locally
		plimus = artifact('').from('/var/lib/selfdep/wsintegration.jar')
		floristone = artifact('').from('/var/lib/selfdep/floristone.jar')
		twilio =  artifact('').from('/var/lib/selfdep/twilio.jar')
		# install the artifact locally
		install plimus
		install floristone
		install twilio
		compile.with projects('Common'),plimus, twilio, floristone,
		war = package(:war, :id => "GrrooBuild")
		war.with :libs => project('Common')
		war.enhance do |war|
		    info "war was created ok"
			sh "$CATALINA_HOME/bin/"
			cp war.to_s, _(ENV['CATALINA_HOME'], 'webapps')
			sh "$CATALINA_HOME/bin/"
		info "end of build Grroo"

I get the printed message war was created ok", however no war is being
created under target folder!

In the logging I can see :

Packaging GrrooBuild-1.0.0.war

Where is the file being packaged to?


View raw message