HI!
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('plimus.com:plimus:jar:1.0').from('/var/lib/selfdep/wsintegration.jar')
floristone =
artifact('floristone.com:floristone:jar:1.0').from('/var/lib/selfdep/floristone.jar')
twilio =
artifact('twilio.com:twilio:jar:1.0').from('/var/lib/selfdep/twilio.jar')
# install the artifact locally
install plimus
install floristone
install twilio
compile.with projects('Common'),plimus, twilio, floristone,
TOMCAT_COYOTE, TOMCAT_SERVLET
war = package(:war, :id => "GrrooBuild")
war.with :libs => project('Common')
war.enhance do |war|
info "war was created ok"
sh "$CATALINA_HOME/bin/shutdown.sh"
cp war.to_s, _(ENV['CATALINA_HOME'], 'webapps')
sh "$CATALINA_HOME/bin/startup.sh"
end
info "end of build Grroo"
end
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?
--
Odelya