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 4594780
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:52:36+00:00 2026-05-21T22:52:36+00:00

I am setting up the build system for a team that produces APIs used

  • 0

I am setting up the build system for a team that produces APIs used on several platforms and architectures. There has been a lot of work already spent on setting up Ant to build all of the Java code, so I would prefer to stick with Ant if possible.

Where I am stumped is how to build the C++ software. Here are the platforms and languages I need to support:

  • Java – Linux – 32bit & 64bit: Ant
  • Java – Windows – 32bit & 64bit: Ant
  • C++ – Linux – 32bit & 64bit: Ant w/CppTasks (question #1)
  • C++ – Windows – 32bit: (question #2)

Note: C++ on Windows is MS Visual Studio C++ projects.

I think the answer to question #1 is CppTasks because that seems to be the standard way to build C++ from Ant.

For question #2, I could also use CppTasks, but the developers will be compiling in Visual Studio, so it seems beneficial to use their Visual Studio project for building, which means calling MSBuild from Ant.

Has anyone tried this before and has a good solution for building Java & C++ on both Linux and Windows?

  • 1 1 Answer
  • 0 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-21T22:52:36+00:00Added an answer on May 21, 2026 at 10:52 pm

    Do you use a Continuous Build System like Jenkins?

    With Jenkins, your builds can be automatically triggered by check in/commit, time of day, and/or on command. The great thing about Jenkins is that you can have it automatically build all of the various versions of your software.

    For example, you’ll probably need to run make on Linux C++ but use msbuild on Windows systems, and you’ll need to trigger a build on a Linux machine and one for a Windows machine. Jenkins can be setup to do this automatically. When a commit happens, all your various builds on all of your systems can be triggered at once. Then, you can store the builds you need on Jenkins and have your users actually pull the type they need off the project they need.

    There are so many ways this could be setup, but the easiest is to simply create four separate jobs (One for Java 32bit, Java 64bit, C++ Linux, and C++ Microsoft). You don’t necessarily need a separate Microsoft Java build (at least in theory), but there’s nothing stopping you.

    You can have a single Jenkins server run “slave” jobs on other build systems, so you could have Jenkins live on the 64Bit Linux system, but use a 32bit Linux system as a slave to do the 32bit build, and call a Windows slave to do the Visual Basic build. That way, all of your jobs are located in a central place, but you can use the environments you want.

    If you’ve never used a Continuous Build system, download Jenkins and play around with it. It’s free and open source, and very, very easy to use. You can run it on any machine that has a JDK or JRE 1.6. If you download the Windows version, it even comes with the JRE already built in.

    Your best bet is to use a continuous build system and allow it to handle the mess. By the way, there’s also Bamboo, CruiseControl, and Hudson (which was split from Jenkins a few months ago)

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

Sidebar

Related Questions

I'm trying to build a modified role system that has the following class/relationship structure:
I'm setting up a CI system using Jenkins and was finding that the build
I am setting up an ant build system on a project with dependency resolution
We are currently setting up Team Build 2010 for our company, and I am
I have a Windows Service that runs a Team City Build agent on a
Currently I'm trying to build a good scheduler system as an interface for setting
I am setting up a build system and would like to display which task
It seems that a build system best-practice is to have a single script that
I build my simple blog system and every article in the system has two
I just finished setting up an out-of-place build system for our existing C++ code

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.