Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Can project type be viewed or changed?
Can project type be viewed or changed? [message #509034] Thu, 21 January 2010 04:02 Go to next message
Eclipse UserFriend
Hi!

Is there a way to determine the type of an existing project?
I don't find any information related to this in the Properties dialog.

Also is there a way to change the type of an existing project?

(I know but can be accomplished by opening and editing the config files. Is it possible in the GUI?)

For example, we have a Java project, that we deploy with maven as a web application (to tomcat). Is it possible (other than by editing config files by hand) to tell Eclipse this is a Web Project, so we could deploy it inside Eclipse?

Thanks,
David

PS: This is repost from "newcomers", as there were no replies.
Re: Can project type be viewed or changed? [message #509053 is a reply to message #509034] Wed, 20 January 2010 23:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Project 'types' are called 'natures' within Eclipse. There is no default
GUI for changing the nature of a project. This is so, because changing
the nature of a project in itself often doesn't do anything very useful.
Often, additional reconfigurations are required---for example,
additional builders may need to be added (or removed again when removing
a nature). A pattern that is used by a number of plugins providing
additional natures is to provide an option in the context menu of the
project that allows to enable a particular nature. Failing that, I'm
afraid you're down to editing config files.

hth,

Steffen

On 21/01/2010 09:03, David Balažic wrote:
> Hi!
>
> Is there a way to determine the type of an existing project?
> I don't find any information related to this in the Properties dialog.
>
> Also is there a way to change the type of an existing project?
>
> (I know but can be accomplished by opening and editing the config
> files. Is it possible in the GUI?)
>
> For example, we have a Java project, that we deploy with maven as a
> web application (to tomcat). Is it possible (other than by editing
> config files by hand) to tell Eclipse this is a Web Project, so we
> could deploy it inside Eclipse?
>
> Thanks,
> David
>
> PS: This is repost from "newcomers", as there were no replies.
Re: Can project type be viewed or changed? [message #509212 is a reply to message #509034] Thu, 21 January 2010 11:58 Go to previous message
Eclipse UserFriend
Il 21/01/2010 10.03, David Balažic ha scritto:
> For example, we have a Java project, that we deploy with maven as a web
> application (to tomcat). Is it possible (other than by editing config
> files by hand) to tell Eclipse this is a Web Project, so we could deploy
> it inside Eclipse?

Have a look here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=168538

Mauro.
Previous Topic:"Source folder is not a Java project" cannot add class
Next Topic:.svn folders appearing in Eclipse output folder
Goto Forum:
  


Current Time: Tue Apr 15 01:37:27 EDT 2025

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

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

Back to the top