For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 2 voices, and was last updated 14 years, 10 months ago by
support-joy.
-
AuthorPosts
-
I have a project that is an SVN project that’s not a MyEclipse project.
When I go to the \….\struts\action folder and right-click the action folder and select Add New Class, MyEclipse doesn’t show the Enclosing folder or the package in the Add New Class dialog.
Therefore, I can’t …. Add a new class….
Why is this and how do I get MyEclipse to understand this project so I can do simple tasks like adding a new class?
I get the message when I manually enter the Enclosing folder that: “Source folder is not in a Java project.”
——–
Also, normal “intellisense” isn’t working. If I try to enter a “.” after a class name, I get the error: “This compilation unit is not on the build path of a Java project.”
(???)
——-
I am not able to “rebuild” this project as a Java project unless it’s transparent to SVN check in. That is, I cannot change the project structure in SVN.
The project is currently being built with an Ant task.
Look forward to your reply.
Thanks,
–M
October 12, 2011 at 5:32 am #320396
support-joyMemberMork,
I am not clear about the issue you are facing. Please answer below queries –
1. Is the SVN project created using MyEclipse or a different editor? If a different editor, which editor and version?
2. How did you import the SVN project to MyEclipse? Which project wizard did you use?
3. If you are facing issues trying to save to SVN, please ignore config files such as .project, .mymetadata, etcPlease note that if your project is not created in MyEclipse, the project structure might differ, this could be the reason – content assist does not show up. The best way is to create a relevant MyEclipse project and copy / move project resources from SVN project to newly created MyEclipse project.
October 12, 2011 at 5:49 am #320398@support-joy wrote:
Mork,
I am not clear about the issue you are facing. Please answer below queries –
1. Is the SVN project created using MyEclipse or a different editor? If a different editor, which editor and version?
2. How did you import the SVN project to MyEclipse? Which project wizard did you use?
3. If you are facing issues trying to save to SVN, please ignore config files such as .project, .mymetadata, etcPlease note that if your project is not created in MyEclipse, the project structure might differ, this could be the reason – content assist does not show up. The best way is to create a relevant MyEclipse project and copy / move project resources from SVN project to newly created MyEclipse project.
——————
I have no idea how the project was initially created, but I doubt it was using Eclipse. It’s a HUGE J2EE application in SVN. The Ant task works, but basic Java capabilities, in (My)Eclipse, not so much, as noted above.
To import the SVN project into MyEclipse, I did the File…Import…SVN … Checkout Projects from SVN.
This project uses Struts, Spring, XDOCLET, etc,, none of which are using MyEcipse’s wizards so it knows nothing about them. I’m not sure how to manually “copy/move” these hundreds of folders from one project to another.
Is this really how things go when it’s not an Eclipse project to start with? I must be missing something.
thanks.
– m
October 12, 2011 at 8:57 am #320400It’s OK now. I had just forgotten to set it up as a Java project.
Thanks for pointing me in the right direction. 🙂
– M
October 13, 2011 at 10:45 am #320425
support-joyMemberM,
Good to hear you are all set.
Best.
-
AuthorPosts

