- This topic has 11 replies, 4 voices, and was last updated 15 years, 7 months ago by Scott Anderson.
-
AuthorPosts
-
principessaliMemberWhenever I checkout a project through svn, I do not get content assist. When I create the project w/o svn, I do get content assist. How can I get content assist for a project that has been checked out using the svn plugin? (MyEclipse 7.5)
Loyal WaterMemberAre you facing this issue with Web Projects? Do you face the same issue with the EOD’s as well?
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for us. I’ll get this checked right away.
principessaliMemberI noticed that some projects that I check out will have the J on top of the folder and some will not. The ones that have the J displayed also provide content assist. The ones without a J, does not (even though they are java projects).
*** Date:
Wednesday, June 17, 2009 2:28:09 PM EDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.5
Build id: 7.5-20090609Eclipse Plug-in Development Environment
Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
Build id: M20080703-0800Eclipse Platform
Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
Build id: M20090211-1700Eclipse Graphical Editing Framework GEF
Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
Build id: 200809101400Eclipse RCP
Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
Build id: M20090211-1700Eclipse Java Development Tools
Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Build id: M20090211-1700Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.1\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-clean
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
Riyad KallaMemberprincipessali,
I’m almost certain the problem here is that you aren’t using “Check Out As…” but instead are just using “Check Out” and the projects you have in SVN don’t include .project and .classpath files — so when MyEclipse goes to build the projects, it sees no metadata and treats them like “General Projects” — you can confirm this by opening the project properties and likely have no “Java Build Path” property or “J” icon overlaying the project — or little globe icon if it’s a MyEclipse web project.
To fix this, you have to checkin the project, and then switch to navigator view and make sure all the “dot files” (.classpath, .project, .*) are checked into the repository as well — then when you pull it out the IDE will recognize it appropriately.
principessaliMemberThank you for the info. I believe you are correct, however ‘check out as…’ is not an option. the only option I have on the right-click menu is ‘Check out’.
I use subversive with the Native JavaHL 1.5.4 connector.
Scott AndersonParticipantprincipessali,
What can also cause this behavior is if the person that initially committed the project to SVN didn’t include all the “dot files” (ie. .project etc) in the project. These files contain information that tell Eclipse what type of project it is, as well as other things. Unfortunately, “dot files” are not visible by default in the Package Explorer view. However, you can show them in the Navigator view or by changing the filter options on the Package Explorer to remove the “dot files” filter. The filters are on the little dropdown menu at the top left of the view.
principessaliMemberThank you. That is helpful info. Are the dot files MyEclipse specific? Are they created when someone creates a project using myeclipse? Or are dot files Java specific?
Scott AndersonParticipantprincipessali,
Good question. The dot files are created by any software that needs to attach meta-information to the project. There are some that are created by Eclipse’s Java tools (ie. .project, .classpath), some that are created by MyEclipse, and some that are created by other add-ons of various types. The sum total of them are needed to ensure that a project functions properly with the toolstack that created it. CVS will automatically pick these files up, but I don’t think the SVN integrations for Eclipse will do that without you explicitly selecting them.
Hope that helps.
principessaliMemberI heard that this plugin, run at command line like this: mvn eclipse:eclipse will actually pull/create the necessary dot files for you. Is this correct and a reliable tool?
Scott AndersonParticipantprincipessali,
I wouldn’t recommend using maven unless you’re very familiar with it and have a real need for it. It is quite complex and makes it just as likely you’ll destroy your project as fix it. And it will not create the dot files needed for MyEclipse or many other tools. So, please don’t do that. 🙂
Is it not possible to get the person that created the project to simply show all the dot files in their MyEclipse installation and just check those files into SVN? Once that’s done you’ll be able to synchronize with the SVN repository and simply bring them into your workspace just like all the other files.
principessaliMemberYes, that’s possible. I’m familiar with maven and thought that this plugin would save time and be more efficient. Can you give an example of how the plugin may destroy a project?
Scott AndersonParticipant“destroy” is a bit inaccurate as I was in a hurry. What I meant is that Maven might set your project up in a format that the tools in MyEclipse won’t be able to recognize so they wont work effectively with it. MyEclipse has built-in Maven support if you want to use Maven. You can find out more about it here: http://myeclipseide.com/module-htmlpages-display-pid-7.html
Please search for “Maven” on the page to get to the start of the topic. -
AuthorPosts