Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to change the default type to java after importing project
How to change the default type to java after importing project [message #110550] Sat, 25 October 2003 22:30 Go to next message
Eclipse UserFriend
Originally posted by: dan.palmer.sympatico.ca

If I have imported a project into the workspace, and when I went through
the import wizard but did not select the properties correctly (it should
have been Java but was not) is there any other way other than changing the
project and the .classes files under this project.

It would be nice to be able to change this project characterisitc if a
mistake was made.

Thanks.
Re: How to change the default type to java after importing project [message #110741 is a reply to message #110550] Mon, 27 October 2003 04:52 Go to previous message
Eclipse UserFriend
The only way to add the Java builder and Java nature to a project is to edit
the .project file and add:

<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>

Please enter a feature request (against Platform UI) if you feel there
should be an easier way to do it.

Jerome

"dpalmer" <dan.palmer@sympatico.ca> wrote in message
news:bnfbk7$dbq$1@eclipse.org...
> If I have imported a project into the workspace, and when I went through
> the import wizard but did not select the properties correctly (it should
> have been Java but was not) is there any other way other than changing the
> project and the .classes files under this project.
>
> It would be nice to be able to change this project characterisitc if a
> mistake was made.
>
> Thanks.
>
Previous Topic:Fragments for PDE Junit testing - Classloader problem
Next Topic:Compiler-Bug: "The local variable oResult may not have been initialized"
Goto Forum:
  


Current Time: Sun Jun 08 00:38:36 EDT 2025

Powered by FUDForum. Page generated in 0.03012 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top