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

  • Home
  • SEARCH
  • 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 9019963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:53:40+00:00 2026-06-16T04:53:40+00:00

Currently the efm i used on mac is set efm=%A\ %#[javac]\ %f:%l:\ %m,%A\ %#[aapt]\

  • 0

Currently the efm i used on mac is set efm=%A\ %#[javac]\ %f:%l:\ %m,%A\ %#[aapt]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#. It can actually locate the error location and show a brief error info, but the detail i can only get by switching to terminal.

BTW, the efm works quite good on archlinux.

Here is the output:

-compile:
    [javac] Compiling 8 source files to /Users/ccheng/workspace_tb/Android_RollingBall/bin/classes
    [javac] /Users/ccheng/workspace_tb/Android_RollingBall/src/hongbosb/rollingball/GLDrawable.java:22: incompatible types
    [javac] found   : void
    [javac] required: int
    [javac]         mEnvProgram = Utils.loadProgram(context, "environment_vertex_shader.glsl", "environment_fragment_shader.glsl");
    [javac]                                        ^
    [javac] /Users/ccheng/workspace_tb/Android_RollingBall/src/hongbosb/rollingball/EnvironmentGLDrawable.java:15: cannot find symbol
    [javac] symbol  : constructor GLDrawable()
    [javac] location: class hongbosb.rollingball.GLDrawable
    [javac]     public EnvironmentGLDrawable(Context context) {
    [javac]                                                   ^
    [javac] /Users/ccheng/workspace_tb/Android_RollingBall/src/hongbosb/rollingball/MyRenderer.java:31: cannot find symbol
    [javac] symbol  : variable context
    [javac] location: class hongbosb.rollingball.MyRenderer
    [javac]         mEnvironment = new EnvironmentGLDrawable(context);
    [javac]                                                  ^
    [javac] 3 errors

And the following is what my vim missed.

[javac] found   : void
        [javac] required: int
        [javac]         mEnvProgram = Utils.loadProgram(context, "environment_vertex_shader.glsl", "environment_fragment_shader.glsl");
        [javac]                                        ^
        [javac]
  • 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-16T04:53:41+00:00Added an answer on June 16, 2026 at 4:53 am

    Ok I’m going to reformat it so that it’s easier (for me) to deal with…

    let fmt = '%A\ %#[javac]\ %f:%l:\ %m,'
          \ . '%A\ %#[aapt]\ %f:%l:\ %m,'
          \ . '%-Z\ %#[javac]\ %p^,'
          \ . '%-C%.%#'
    execute 'set errorformat=' . fmt
    

    You only have one line in the javac detector that grabs a message. You just need to add more of them. Add the following somewhere above the %-C line:

          \ . '%C\ %#[javac]\ %m,'
    

    You probably also want to do something similar for the aapt messages although if those are one-liners then I think you just strike the %A part that begins its line; %A means that it’s the start of a multiline message so it’ll consider everything that follows it part of the aapt message until a %Z is matched. The %-C bit says “matches for this are uninteresting”; these are things in your multiline message (e.g. the things that aren’t showing up) that you’ve told vim to skip.

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

Sidebar

Related Questions

Currently working with converting SQLException error messages into messages that are more useful for
Currently I use Visual Studio Database Project, so I can deploy changes to database
Currently the VariableService is @Autowired in my controller. I realize I can implement the
Currently I want to compare the speed of Python and C when they're used
Currently I am working in message compose screen in Android, Using Intent to show
Currently, the only information I have is a one-line error message in the browser's
Currently i am working simple PayPal integration in Android, So i set the Manifest.xml
Currently, when a PHP error occurs, it will log it into a file called
Currently i am working on a Location based application for iPhone/iPad . I have
currently i am modifying an existing CakePhp project and i'd like to set a

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.