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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:38:12+00:00 2026-05-26T11:38:12+00:00

We currently build our java app using ant. My goal is to find a

  • 0

We currently build our java app using ant.
My goal is to find a way to identify which file caused the build to fail.

What I could do-

  • Parse for everything that has “.java” in it.
  • Filter out everything that has “.java:number: warning”
  • Parse that line for the file, line, and reason.

This isn’t that hard… but it seems a bit non-robust. (A better word currently escapes me. maybe “bad”)

Too bad there isn’t anyway to have it output in XML? Or maybe there is?

EDIT: One of the assumptions of this project were that we wouldn’t want to do builds on every change, but now that I’ve worked with jenkins a bit, I am thinking that this might actually be possible.

  • 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-26T11:38:13+00:00Added an answer on May 26, 2026 at 11:38 am

    I don’t think there is. Probably one of the reasons Eclipse has its own compiler.

    You can limit the problem by having your own ant task (so you have more control about output formatting and won’t have to parse the whole ant output).

    If you are designing a build system pulling the sources out of a source control (you tagged jenkins), an easier option is to list the changes between the last successful build and the broken ones.

    What are you trying to accomplish?

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

Sidebar

Related Questions

We currently build our Android (Java) projects using the built-in Eclipse build tools. Then
I am trying to revamp our build process, which is currently a gigantic Ant
We're currently using Visual Studio to build our ClickOnce deployment packages, but we'd like
We are currently using JDeveloper to build our production EARs. One problem with this
In our build process we're currently using MBUnit 2.x tests, called from an NAnt
I am looking to obfuscate our Java web app code within our existing Ant
I am currently migrating our build process from Eclipse/Ant to Maven/M2Eclipse/Artifactory. I have a
Currently all our GUI components are written in MFC. Our build environment is: VC
I'm struggling a lot trying to get our build server going. I am currently
I'm currently evaluating ivy, maven and buckminster to ease our build process. Conceptually buckminster

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.