facebook

[Closed] Excluded Resources

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #262006 Reply

    loomax
    Member

    Windows XP SP2
    Eclipse 3.2.1
    Myeclipse 5.1

    I just tried to exclude resources in my project from validation but when i select a folder with many subfolders and files the system is hanging up.

    Maybe your algorithm is getting all subfolders and files that have to be excluded — but this shouldn’t be needed for exluding a complete folder

    Thanks in advance

    #262008 Reply

    Brian Fernandes
    Moderator

    Loomax,

    The algorithm does not really look at all the descendants of a folder while determining whether or not it is excluded and how it can be excluded (or included). We have satisfactory tested it with a project containing about 30K resources.

    Having said that, there could be something else wrong, so I’ll ask a few questions:

    1) What exactly are you doing when the system hangs? Did you simply bring up the context menu on the folder in question? Or does it hang after choosing the Exclude from Validation action?
    2) Did you make any exclusion settings on the project before? Or was this your first attempt?
    3) Are you able to exclude other resources in the project which are not descendants of the said folder – have you tried excluding the entire project?
    4) Can you try making your exclusion settings on the Excluded Resources page? (Project > Properties > MyEclipse > Validation > Excluded Resources)?

    Finally, can you estimate the number of resources under the folder you are trying to exclude? Can you also please answer all relevant questions asked here: Posting Guidelines
    Of particular interest is your error log and your command line parameters (are you starting Eclipse with enough memory?)

    Many questions, I know – but I hope to get to the bottom of this and get your issues resolved asap.

    Best,
    Brian

    #262276 Reply

    loomax
    Member

    1) Im selecting a folder with 3200 files in 30 subFolders
    2) yes it works for all other folders in the same project
    3) I can exclude other folders – If I select to exclude the whole project the system also hangs
    4) This is exactly what i’m doing

    Maybe it’s a problem because the folder is a linked Folder to the Filesystem (on the same hardrive but nut within the projects workspace folder)

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_09

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.1
    Build id: M20060921-0945

    Eclipse Graphical Editing Framework

    Version: 3.2.1.v20060921
    Build id: 20060921-1617

    Eclipse Platform

    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945

    Eclipse RCP

    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945

    Eclipse Java Development Tools

    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945

    Eclipse startup command=-os
    win32
    -ws

    #262287 Reply

    Brian Fernandes
    Moderator

    Loomax,

    Thanks for answering all my questions. Your case falls well within the scenarios we already tested with and the linked folder does not make a difference, so here are a few suggestions.

    I have a feeling you could be running out of memory, could you try starting eclipse with the following command line parameters?

    -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

    If that doesn’t do it then:

    1) Can you try using the Exclude from validation action instead of using the property page?
    Here’s a screenshot: http://www.myeclipseide.com/modules/ContentExpress/img_repository/docs/510/validation-exclude.png

    2) Can you exclude each of the 30 folders individually instead of their parent, does that work?

    Do let me know how it goes,

    Best,
    Brian.

    #262323 Reply

    loomax
    Member

    C:\eclipse\eclipse.exe -vm c:\jdk1.5.0\bin\javaw.exe -vmargs -Xms400M -Xmx1200M -XX:PermSize=65M -XX:MaxPermSize=128M -XX:NewSize=40M -XX:MaxNewSize=60M -XX:TargetSurvivorRatio=80 -XX:SurvivorRatio=4

    This is how i start it.

    As soon as i use “Exclude from validation action” it works perfectly !!!!!

    2) i can select them individually but it also takes long time so in sum it will be the same amount of time as if selecting the whole folder

    #262389 Reply

    Brian Fernandes
    Moderator

    Loomax,

    Your startup parameters did not show in the info log you pasted above (see Eclipse startup command at the end ), perhaps they were accidentally left/cut off.

    I’m glad the action works for you, we’ll have another go at this properties page internally and see if we can replicate this issue; that should work as well.

    Do let us know if you require further assistance.

    #262444 Reply

    loomax
    Member

    That’s it – thanks very much for your help
    ________________________
    Loomax

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] Excluded Resources

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