I have the following definition:
define "BE" do
project.version = VERSION_NUMBER
project.group = GROUP
manifest['Copyright'] = COPYRIGHT
desc 'Building common project for engine and API'
define 'common' do
compile.with XXX
package :jar
end
desc 'Building the engine project based on common'
define 'engine' do
compile.with XXX
package :jar
end
desc 'Building API project'
define 'API' do
package(:war).with :libs=>project('common')
end
end
I would like to compile the second project - engine with the jar that was created from common project. (it depends on it)
How can I do it?