[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: "Java" versus "Plugin" project nature: how to convert?

According to your .project, your project IS a plugin project already. Having more than one nature is not a problem.
--



Paul T. Keyser wrote:
Win2K; R2.0.2

We recently renamed our project (to conform to the Eclipse guidelines),
which meant that we all had to recheck it out from CVS.  When we did so
it had "converted" from a Plugin project to a Java project.  Aside from
the minor irritation of having to tell the "Runner" to run the project
as a plugin (rather than that being automatic) are there any bad
consequences to this?  Is there any way to correct the problem?  Is
there any obvious explanation of how this could have happened?  (We
surely did not do it deliberately!)

The newsgroup has two threads that I could find on the subject:
1) How to "unconvert" PDE projects? (by me, from Dec 2001, R1.0), no
help here
2) How to convert Java project into Plugin project? (from Sat, 22 Jun
2002), never answered!

Just in case it is relevant, here is our ".project" file -- I notice
that there are two natures -- is that the problem?

Thanks,
Paul K

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
 <name>com.xyz.pro.ject</name>
 <comment></comment>
 <projects>
 </projects>
 <buildSpec>
  <buildCommand>
   <name>org.eclipse.jdt.core.javabuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
  <buildCommand>
   <name>org.eclipse.pde.ManifestBuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
  <buildCommand>
   <name>org.eclipse.pde.SchemaBuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
 </buildSpec>
 <natures>
  <nature>org.eclipse.jdt.core.javanature</nature>
  <nature>org.eclipse.pde.PluginNature</nature>
 </natures>
</projectDescription>