Can’t create new class or interface

This topic contains 3 replies, has 3 voices, and was last updated by  support-swapna 4 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #326811 Reply

    I just installed MyEclipse for Spring 10.1 onto my Windows 7 x64 machine. The harddisk is PGP encrypted. I have imported an existing Eclipse project. When I try to create a new class or interface, the operation fails with the following message:

    Creation of element failed.
    
    Reason:
    Could not write file:
    c:\XXXX
    

    The file is created with a file size of ‘0’ and NO privileges. The file access rights are ‘000’ when I list it using cygwin “ls -a” command.

    I have attached the Error log and configuration.

    I would appreciate any help.

    -Scott

    Attachments:
    You must be logged in to view attached files.
    #326869 Reply

    support-swapna
    Moderator

    Scott,

    Sorry that you are seeing this issue. I am afraid this is an issue with Eclipse which is the base for MyEclipse.

    Can you check with a new project to see if the same issue exists?

    I suggest you cross post to Eclipse forums for better support.

    #452328 Reply

    asather
    Participant

    Probably too late to answer now, but I had a similar problem. It appears that Eclipse has an issue with long paths. Looks like the limit of the path-length is approx. 125 (probably 127 as that is 2^7-1).
    You can move the project higher up in the folder hierarchy or reduce the package name length.

    I hope this helps someone.
    Kind regards.

    #452389 Reply

    support-swapna
    Moderator

    asather,

    Thank you for posting your findings. It will surely help other users.
    Let us know if you see any issues with MyEclipse.

    –Swapna
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can’t create new class or interface

You must be logged in to post in the forum log in