RE: Problem with implement-interface wizard
Hi, The error you're getting is from the Java side of the JDE, whereas it is the elisp side of the JDE that figured out the full class name. It could be that the Java code can't find it because at the time the beanshell process was started, the interface was not on the classpath. In that case, killing the *bsh* window and trying again might work. Or it could be something else, but it's hard to tell without a bit more information. It's best to use the "submit problem report" feature if you have a problem, because that will give the experts on this list all the information they need. About your make problem, it's something I've seen before, which was either a configuration error or a bug that has now been solved. Again, the "submit problem report" would have given some more relevant information. You should know that the 'cd' in the compile window is not a true cd, it's just something that Emacs outputs into the buffer to indicate which directory it is attempting to compile from. Under some circumstance there was a mismatch between the two, which seems to describe your situation. / Petter > -Original Message- > From: Charles Sutton [mailto:[EMAIL PROTECTED] > Sent: den 15 september 2003 23:18 > To: [EMAIL PROTECTED] > Subject: Problem with implement-interface wizard > > > I was trying to use the implement-interface wizard, which > just looks awesome. So I went to my class, and did > >C-c C-v i > > The minibuffer read > >Interface name: > > and I entered > >DiscreteDistribution > > which is on my classpath and sourcepath. The response I got was > > Error: could not find interface named: > edu.umass.cs.mallet.users.casutton.mrf.DiscreteDistribution. > Note: name > must be qualified. > > To which I thought: uh... if it couldn't find the interface, how did > it figure out the fully-qualified name? > > Any help would be appreciated! > > Charles > > -- > Charles Sutton > University of Massachusetts, Amherst > [EMAIL PROTECTED] > URL: http://www.cs.umass.edu/~casutton/ > >
Problem with implement-interface wizard
Charles Sutton writes: > I was trying to use the implement-interface wizard, which > just looks awesome. So I went to my class, and did > >C-c C-v i > > The minibuffer read > >Interface name: > > and I entered > >DiscreteDistribution > > which is on my classpath and sourcepath. The response I got was > > Error: could not find interface named: > edu.umass.cs.mallet.users.casutton.mrf.DiscreteDistribution. Note: name > must be qualified. This is not the message in the latest beta. It is an error if it was in an older version. The name must NOT be qualified. The interface wizard expects an unqualified name and it figures out the qualified name. I'm at a loss as to why it figured out the fully qualified name but not the interface...unless DiscreteDistribution is not an interface. Please try the wizard out on something obvious, like ActionListener, to be sure is is not some fundamental problem. Also, please use the Submit Problem Report command when asking for help so we can be sure to have such niggling and useless details like which version of the JDEE and Emacs you are using and what the actual setting of jde-global-classpath is. Paul > > To which I thought: uh... if it couldn't find the interface, how did > it figure out the fully-qualified name? > > Any help would be appreciated! > > Charles > > -- > Charles Sutton > University of Massachusetts, Amherst > [EMAIL PROTECTED] > URL: http://www.cs.umass.edu/~casutton/ >
Problem with implement-interface wizard
I was trying to use the implement-interface wizard, which just looks awesome. So I went to my class, and did C-c C-v i The minibuffer read Interface name: and I entered DiscreteDistribution which is on my classpath and sourcepath. The response I got was Error: could not find interface named: edu.umass.cs.mallet.users.casutton.mrf.DiscreteDistribution. Note: name must be qualified. To which I thought: uh... if it couldn't find the interface, how did it figure out the fully-qualified name? Any help would be appreciated! Charles -- Charles Sutton University of Massachusetts, Amherst [EMAIL PROTECTED] URL: http://www.cs.umass.edu/~casutton/