Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » workspace and project naming(error when workspace and project have the same name)
workspace and project naming [message #648751] Fri, 14 January 2011 12:16 Go to next message
Terry Birch is currently offline Terry BirchFriend
Messages: 14
Registered: May 2010
Location: SC
Junior Member
In the helios version of eclipse only, if I create a new project and name the workspace and project the same, I get casting errors. No problems as long as the project and workspace are named differently. I have this error creating a GWT project or a Roo project on a windows vista pc. Any suggestions?
Re: workspace and project naming [message #648765 is a reply to message #648751] Fri, 14 January 2011 12:54 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 01/14/2011 07:16 AM, tjfbirch@bellsouth.net wrote:
> In the helios version of eclipse only, if I create a new project and
> name the workspace and project the same, I get casting errors. No

You can name the workspace in Preferences>General>Workspace, but I
suspect you don't mean that.

Do you mean you start with a workspace in /tmp/z.ex.ws and then from
eclipse you create a project z.ex.ws (which now lives in
/tmp/z.ex.ws/z.ex.ws (notices the 2 levels)?

Or when you create the project, do you try and change the default
location to point to /tmp/z.ex.ws

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: workspace and project naming [message #648768 is a reply to message #648765] Fri, 14 January 2011 13:18 Go to previous messageGo to next message
Terry Birch is currently offline Terry BirchFriend
Messages: 14
Registered: May 2010
Location: SC
Junior Member
When I start eclipse, I specify the workspace as c:\gwttest.
I click on the GWT new web application project button to create a new project and name it with the same name, gwttest. It will create the project but I get the following errors and the project is unusable:
Errors occurred during the build.
Errors running builder 'Google Web Toolkit Project Validator' on project 'gwttest'.
org.eclipse.jdt.internal.core.JavaModel cannot be cast to org.eclipse.jdt.core.IJavaProject

I get this same result using spring sts 3.6 creating a roo project. If I make the name of the workspace different from the project name, all works fine.
Thanks
Re: workspace and project naming [message #648770 is a reply to message #648768] Fri, 14 January 2011 13:26 Go to previous messageGo to next message
Terry Birch is currently offline Terry BirchFriend
Messages: 14
Registered: May 2010
Location: SC
Junior Member
I apoligize, I misspoke when I said this only happens in helios. If I upgrade my current version of eclipse galileo to the Eclipse IDE 1.2.2.20100217-2310 I have the same problem. As long as I do not upgrade galileo I do not have this problem.
Thanks
Re: workspace and project naming [message #648785 is a reply to message #648770] Fri, 14 January 2011 13:53 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 01/14/2011 08:26 AM, Terry Birch wrote:
> I apoligize, I misspoke when I said this only happens in helios. If I
> upgrade my current version of eclipse galileo to the Eclipse IDE
> 1.2.2.20100217-2310 I have the same problem. As long as I do not upgrade
> galileo I do not have this problem.

This is probably related to other plugins you have included? are you
creating a java project, or a GWT project?

You might have to open a bug against the guys that provide "Google Web
Toolkit Project Validator" Include any logs with stack traces to the
GWT guys.

I ran a test with Helios SR1 and just a java project, and it works fine.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Globalization of manifest file
Next Topic:How to have a fragment project replace a directory of files
Goto Forum:
  


Current Time: Thu Apr 25 13:45:27 GMT 2024

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

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

Back to the top