Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] ScriptBuilder full build too slow because it reads all IReources in a project

Hi,

During a full build the ScriptBuilder will read all the resources in a
project: Scriptuilder:getResourcesFrom(...). The ResourceVisitor
visits all the resources in a given project. For a project with 10000
files in it, out of hich only one is a ScriptModule, all the resources
are scanned and DLTKCore.create(res) is called for each resource.

This project takes for example about 1.5 hours on my machine. Most of
the user actions are blocked by the "Building project" job.

Is there a way to filter the resources that need to be processed. In
my example I know that one folder contains 9990 resources that are not
SourceModules so I can ignore that folder.


Thanks!


-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


Back to the top