RE: [mdr-users] Newbie: correct way to find usages of one class by another

"Richard Kennard" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Organization Kennard Consulting
Message-ID <000001c56e33$f3cd9090$99181fd3@kennard>
Martin,

Congratulations on becoming a father! I am due to become one myself in
January but I'm sure I cannot begin to understand how it will feel. Also,
thank you so much for your time and generosity in assisting myself and so
many others with their NetBeans problems. You are truly a great asset to
Sun! I thoroughly understand if your paternal duties make your replies less
frequent from now on :)

With regard to my 'getReferences ProgressListener' problem, your solution
worked a treat. However, in regard to referencing the jmi.jar, I am still
stuck.

Specifically, I am uncertain what you mean by 'the new build system'. I am
generating my NetBeans module by simply using the JAR ant task and manually
coding my 'manifest.mf' and 'info.xml', as I had difficulties getting the
MakeNBM task to work in 4.1. Also, by way of backup, JMI is still referenced
in my nbproject but to no avail.

Which NetBeans module should I be referring to, and how, to pull in
javax.jmi.reflect.RefFeatured support?

Thanks again,

Richard.

-----Original Message-----
From: Martin Matula [mailto:[email protected]] 
Sent: Thursday, 9 June 2005 8:18 PM
To: [email protected]
Subject: Re: [mdr-users] Newbie: correct way to find usages of one class by
another


Sorry for replying so late - yesterday I became a father! :)

OK, now to your question:

Richard Kennard wrote:

>Martin,
>
>I apologise for needing so much help with this issue! I am now having 
>trouble compiling my module. I am unable to get my Ant build to build 
>without first referencing...
>
>	c:\program files\netbeans-4.1\ide5\modules\ext\jmi.jar
>
>...and this seems to have a knock-on effect when the module is running, 
>as it is unable to locate...
>
>	javax.jmi.reflect.RefFeatured
>
>...despite my attempt in my 'manifest.mf' to reference this...
>
>OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javacore/1, 
>org.netbeans.api.mdr/1, org.netbeans.api.java/1, 
>org.netbeans.jmi.javamodel/1, org.netbeans.modules.java.editor/1,
>org.netbeans.modules.refactoring/1 > 1.0, 
>org.netbeans.modules.projectapi/1
>  
>
I think the problem is that the new buildsystem regenerates the manifest 
based on what dependencies you declared in nbproject/project.xml and 
what extra classpath you defined in nbproject/project.properties.

>Sorry to be such a pain :(
>  
>
What are you talking about? :) The mailing list is for asking questions. 
That's what you are doing...
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.