Assaf Arkin wrote:
On Sun, Jul 13, 2008 at 8:11 AM, Ittay Dror <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking at buildr code and I see that the 'package' task depends on the
'build' task (package.rb), and that 'build' is the default (rake) task
(build.rb). But when I run buildr, the 'package' task is called (since jars
are created). Where is this task called?
Each project has a package task that also runs that project's build task,
and each sub-project's package task, and all the packaging tasks for that
project: one for each package created by calling package(type). The later
would have names like target/foo-bar-1.2.jar.
Each of these packages (i.e. foo-bar-1.2.jar) also have a dependency on the
project's build task. So if one project depends on another project's
package, that other project would run its build task.
yes, but from what i see, the default task for rake is 'build', so
shouldn't 'build' be the task that is called when buildr (rake) is
called with no arguments? or put it another way, where in the code is
'package' called explicitly to start the build?
Assaf
Thanks,
Ittay
--
--
Ittay Dror <[EMAIL PROTECTED]>
--
--
Ittay Dror <[EMAIL PROTECTED]>