Could you try unzipping the shaded jar and then using "jar cf"  to create a 
new jar using the same contents and seeing if that helps?

At one point, shade wasn't sticking directory entries into the jar properly 
which worked fine for "java" and "javac" and such, but it confused winzip 
really badly.     It's possible something else or a similar issue is causing 
an issue with netbeans.

Alos, make sure it's the latest shade plugin as well to get the fix for above.  

Dan


On Wednesday 10 December 2008 10:41:27 pm Lilianne E. Blaze wrote:
> Hello,
> (I already tried on users- list)
>
> I'm trying to make a jar containing x dependencies to be used as a
> single dependency, using Shade with the following options:
>
> <createSourcesJar>true</createSourcesJar>
> <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
> <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
>
> It seems ok, looks ok, works ok. _But_ - Netbeans doesn't seem to
> recognize it - code completion fails with "package/class/symbol does not
> exist" errors all over the place. Now I'm pretty much stuck. It could be
> a problem with Maven, could be with Netbeans, could be my (complete or
> partial) mistake with understanding how Maven makes / handles Shaded jars.
>
> I already submitted a report at
> http://www.netbeans.org/issues/show_bug.cgi?id=155091 , along with a
> simple project (3 projects, 2 classes) to demonstrate it.
>
> Greetings, thanks in advance, Lilianne
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to