Problem using MDR in Netbeans

Jacqueline McQuillian <[email protected]> Fri, 24 Feb 2006 20:10:05 +0000
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------000906040709010400050600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have successfully installed MDR in netbeans 3.5.1.
I am now following the instructions for the the example for using mdr 
given here
http://mdr.netbeans.org/example.html
I am at the point where I need to create the ProjectCreationDemo.java file.
(Am I correct in saying that I am creating instances of the metamodel in 
this file?)
I am confused as to where this file should go - I have created a 
directory called mdrdemo in the org/netbeans directory that was created 
when I generated the JMI interfaces and saved it here.
But it is not picking up the following imports

import org.netbeans.api.mdr.MDRManager;
import org.netbeans.api.mdr.MDRepository;

I have carried out the three instructions that are given

    * Create a new instance of "Project" package in "Project model" extent
    * Set the class to be run using internal execution
    * Created the jar file with the generated JMI API

Can anyone tell me what to do next. Thanks.

Jacqueline


-- 
Jacqueline McQuillan B.Sc.(Hons)
Research Lab 1 
Department of Computer Science
NUI Maynooth
Co. Kildare
Ireland

www.cs.nuim.ie/~jmcq

E-Mail: [email protected]
Phone:	+353 1 708 3044 ext. 3197
Fax:	+353 1 708 3848



--------------000906040709010400050600
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I have successfully installed MDR in netbeans 3.5.1.<br>
I am now following the instructions for the the example for using mdr
given here<br>
<a class="moz-txt-link-freetext" href="http://mdr.netbeans.org/example.html">http://mdr.netbeans.org/example.html</a><br>
I am at the point where I need to create the ProjectCreationDemo.java
file.<br>
(Am I correct in saying that I am creating instances of the metamodel
in this file?)<br>
I am confused as to where this file should go - I have created a
directory called mdrdemo in the org/netbeans directory that was created
when I generated the JMI interfaces and saved it here.<br>
But it is not picking up the following imports<br>
<br>
import org.netbeans.api.mdr.MDRManager;<br>
import org.netbeans.api.mdr.MDRepository;<br>
<br>
I have carried out the three instructions that are given<br>
<ul>
  <li>Create a new instance of "Project" package in "Project model"
extent </li>
  <li>Set the class to be run using internal execution</li>
  <li>Created the jar file with the generated JMI API</li>
</ul>
Can anyone tell me what to do next. Thanks.<br>
<br>
Jacqueline<br>
<pre class="moz-signature" cols="72">

-- 
Jacqueline McQuillan B.Sc.(Hons)
Research Lab 1 
Department of Computer Science
NUI Maynooth
Co. Kildare
Ireland

<a class="moz-txt-link-abbreviated" href="http://www.cs.nuim.ie/~jmcq">www.cs.nuim.ie/~jmcq</a>

E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Phone:	+353 1 708 3044 ext. 3197
Fax:	+353 1 708 3848

</pre>
</body>
</html>

--------------000906040709010400050600--