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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:17:55+00:00 2026-06-03T01:17:55+00:00

I am trying to set up a continuous integration system for a Java project

  • 0

I am trying to set up a continuous integration system for a Java project I am working on. I plan to use Jenkins or some equivalent for the front end. The Java project is configured to use the IntelliJ IDEA IDE, version 11. The problem is there is no way to build IntelliJ IDEA 11 projects from a command line interface, which is required so it can interface with the CI front-end (Jenkins).

There are a couple of potential solutions I have looked into. They are as follows.

Potential Solution # 1

Use the "Generate Ant Build" capability of IntelliJ IDEA. There are 2 problems with this solution:

  1. It means I would have to either maintain the generated ant files as well as the IntelliJ idea configuration files, which I don’t want to do, or I would have to programatically recreate the ant files periodically or on the fly, which is not feasible since there is no command line interface for this either.
  2. It doesn’t even work anyway. The project is fairly complex in that there are Java files that are configured to be excluded, and the generated ant files do not perform exclusion properly. Also, it looks like the dependencies are not even generated correctly. (Exhaustively) searching google tells me that this utility isn’t even supported by IntelliJ, and it’s use should be "avoided".

Potential Solution # 2

Use a 3rd party application to dynamically generate ant build files, namely ant-intellij-tasks. When I saw this project I was pretty excited, but unfortunately it looks like it hasn’t been updated since 2009 and doesn’t work with the new version of IntelliJ IDEA. I can’t find any other libraries like this one that are up to date and working.

Some Additional Notes

This link suggests that others are having similar problems and want a command line interface (the link is a description of a plugin wanted for a contest – the source is IntelliJ IDEA themselves).

Has anyone else set up build automation using this tool set? How did you get it done? The answer I’m looking for ideally doesn’t require management of additional configuration files and would allow me to type something on the command line and have the build happen.

  • 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-06-03T01:17:57+00:00Added an answer on June 3, 2026 at 1:17 am

    Converting your project to fit with maven is easier to do than customizing Maven to work with your project structure.

    Although you could do the latter, most of the time people don’t design the way their project is laid out very cleanly at all, and after they adopt the maven layout, their project becomes much more manageable.

    If you adapt the good patterns of a default maven project layout, IDEA will automatically read it and understand it completely – even sharing the same compiler output you use on the command line in the IDE. IDEA will use the pom.xml as its configuration file.

    You can’t do this with Ant, because it’s a build process wrapper. Maven is not only a dependency management mechanism – it’s an abstraction of a project, which an IDE can use to configure itself.

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

Sidebar

Related Questions

I am trying to set up a Continuous Integration process. For my various build
I've recently been trying to set up PHPUnderControl, a Continuous Integration server based on
I'm trying to set up a new Team Build Server for doing continuous integration,
I am trying to put a maven2 project under continuous integration in hudson. The
I'm trying to set up continuous builds/integration for a stable of iPhone apps. I
Trying to set up a new project, and running into a weird issue. I
I'm trying to do set up some Selenium WebTests using PHPUnit, but php is
We've just started to use TeamCity as a continuous integration server. There's a problem
I'm trying to implement some integration between a legacy app running in the Reflection
Im trying to make a basic email system in Java. I have a server

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.