Re: Semantic Analyzer not completing symbols from JAR dragged in by Maven (Java)

Eric Ludlam <[email protected]> Mon, 24 Nov 2014 14:49:06 -0500
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
On 11/24/2014 08:59 AM, David A. Ventimiglia wrote:
>
> In my case, I've a simple Java Servlet in a Maven style project with a single pom.xml file that lists the Java Servlet API as a dependency.
>
>      package com.neptunestation.cosmotron;
>
>      import javax.servlet.http.*;
                                  ^^^

Hi David,

Thanks for the example.  My fast answer (having not tried to replicate 
anything) is that I *think* Semantic still has problems with imports 
that have a * at the end.  I think if you just specify the 
HttpServletResponse instead of * you will probably be ok.

Basically, no one has gotten around to trying to make that work.

If that doesn't help, look for a buffer named "*javap output*" or the 
like to see what it's trying to pull in.  Often times left overs from 
querying java can lend little clues, such as text Semantic couldn't 
parse causing the whole class to fail to load.

Eric

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk