Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3980128
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:15:13+00:00 2026-05-20T05:15:13+00:00

I have a project that consists of multiple projects, something like: my_project\ proj_A\ (code,

  • 0

I have a project that consists of multiple projects, something like:

my_project\
proj_A\
(code, tests, Rakefile, etc)
proj_B\
(code, tests, Rakefile, etc)
proj_C\
(code, tests, Rakefile, etc)

I’d like to create a Rakefile under “my_project” that can execute the Rakefile’s in the other projects. For example to package up the entire app I need to run tasks defined in the Rakefile’s in proj_A, proj_B and then proj_C (in that order).

What’s the best way to do this? Just have a Rakefile that defines tasks which call out to the other Rakefiles?

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:15:14+00:00Added an answer on May 20, 2026 at 5:15 am

    Create a rake task that depends on all the other projects.

    import 'projdir1/Rakefile'
    import 'projdir2/Rakefile'
    
    task :finalproject => [:project1, :project2] do
      # do nothing or maybe some cleanup
    end
    

    The tasks :project1 and :project2 would be defined in the external rakefiles being included.

    Also look at this page for more complex examples.
    http://rake.rubyforge.org/files/doc/rakefile_rdoc.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We currently have a project that consists of multiple applications as well as a
Lets say I have a massive project which consists of multiple dynamic libraries that
If I have an app that consists of multiple layers, defined as multiple projects
I have a project that I would like to start beta testing soon, it
We have a project that generates a code snippet that can be used on
I have a project that simply consists of files. I want to package those
Say you have a project that uses maven and a subversion repository. It consists
I have wrote an application that consists of two projects in a solution, each
If I have a java project that consists of several different types of files
I have a CUDA project. It consists of several .cpp files that contain my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.