Can you post a full example of the output by running mvn in a shell? On 2018-05-21 11:05:56, Ronak Gandhi wrote: > So looks like the output in the quickfix window is not same as the actual > error. This is how it looks like in the actual mvn output: > > [ERROR] /work/path/to/java/module.java[131,8] error: cannot find symbol > > > > Not sure what's modifying the quickfix window output. Any idea how to debug > this? > > > -Ronak > > On Monday, May 21, 2018 at 9:37:44 AM UTC-7, Ronak Gandhi wrote: > > > > The compilation error looks like this - > > > > [ERROR] /work/path/to/java/module.java|131 col 8| error: cannot find > > symbol > > > > > > > > -Ronak > > > > On Monday, May 21, 2018 at 9:33:14 AM UTC-7, Ronak Gandhi wrote: > >> > >> Yes, the current_compiler was set to "eclim_maven" inside eclim_mvn.vim. > >> I corrected it like you mentioned, but that didn't fix the issue. > >> > >> errorformat=%A%f:[%l\,%c] %m,%Csymbol%.%#: %m,%Zlocation%.%#: > >> %m,%AEmbedded error:%.%# - %f:%l: %m,%-Z %p^,%A%f:%l: %m,%-Z %p^,%ARunning > >> %f,%+ZTests run%.%#FAILURE!%.%#,%ARunning %f,%C%.%#,%+ZTests run > >> %.%#FAILURE!%.%#,%-G%.%# > >> > >> When I try to open the compilation error, it still opens a blank file > >> with no content. The file path in the build failure is correct. > >> > >> -Ronak > >> > >> On Mon, May 21, 2018 at 8:36 AM Eric Van Dewoestine <ervan...@gmail.com> > >> wrote: > >> > >>> hmm, your errorformat looks like what eclim uses for 'Maven' (maven > >>> 1.x), not 'Mvn' > >>> > >>> Could be a typo in eclim/compiler/eclim_mvn.vim. Can you open that > >>> file, and replace: > >>> > >>> let current_compiler = "eclim_maven" > >>> > >>> with > >>> > >>> let current_compiler = "eclim_mvn" > >>> > >>> reload vim and see if that solves the issue? If so Ill commit the > >>> change. > >>> > >>> On 2018-05-18 17:06:54, Ronak Gandhi wrote: > >>> > Hi, > >>> > > >>> > I'm using Mvn clean install -Dmaven.test.skip=true to build the > >>> project. > >>> > When there are compile errors, I can't go to error location from the > >>> > quickfix window. The file path, row and column number are correct. So > >>> looks > >>> > like the errorformat is not getting set properly. > >>> > > >>> > This is what it is set to in the quickfix window - > >>> > > >>> > errorformat=%A%.%#[javac] %f:%l: %m,%C%.%#[javac] symbol%.%#: > >>> > %m,%C%.%#[javac] location%.%#: %m,%-Z%.%#[javac] %p^,%W%.%#[javadoc] > >>> %f:%l: > >>> > warning - %m,%E%.%#[javadoc] %f:%l: error - %m,%A%.%#[javadoc] %f:%l: > >>> > %m,%-C%.%#[javadoc] location: %.%#,%-Z%.%#[javadoc] %p^,%-G%.% > >>> > #[javadoc] Note:%.%#,%-G%.%#[javadoc] javadoc:%.%#,%+A%.%#[junit] > >>> > %.%#Failures: %[%^0]%.%# Time elapsed: %.%#,%-Z%.%#[junit]%.%# Test %f > >>> > FAILED,%+A%.%#[junit]%.%# %.%#Errors: %[%^0]%.%# Time elapsed: > >>> > %.%#,%-Z%.%#[junit] Test %f FAILED,%A%f:%l: %m,%Csymbol%.%#: > >>> %m,%Clocati > >>> > on%.%#: %m,%-Z %p^,%-G%.%# > >>> > > >>> > Is this correct? > >>> > > >>> > -- > >>> > You received this message because you are subscribed to the Google > >>> Groups "eclim-user" group. > >>> > To unsubscribe from this group and stop receiving emails from it, send > >>> an email to eclim-user+unsubscr...@googlegroups.com. > >>> > To post to this group, send email to eclim-user@googlegroups.com. > >>> > Visit this group at https://groups.google.com/group/eclim-user. > >>> > For more options, visit https://groups.google.com/d/optout. > >>> > >>> > >>> -- > >>> eric > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > >>> Groups "eclim-user" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > >>> an email to eclim-user+unsubscr...@googlegroups.com. > >>> To post to this group, send email to eclim-user@googlegroups.com. > >>> Visit this group at https://groups.google.com/group/eclim-user. > >>> For more options, visit https://groups.google.com/d/optout. > >>> > >> > > -- > You received this message because you are subscribed to the Google Groups > "eclim-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to eclim-user+unsubscr...@googlegroups.com. > To post to this group, send email to eclim-user@googlegroups.com. > Visit this group at https://groups.google.com/group/eclim-user. > For more options, visit https://groups.google.com/d/optout.
-- eric -- You received this message because you are subscribed to the Google Groups "eclim-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to eclim-user+unsubscr...@googlegroups.com. To post to this group, send email to eclim-user@googlegroups.com. Visit this group at https://groups.google.com/group/eclim-user. For more options, visit https://groups.google.com/d/optout.