flashhtml5 / minibuilder

Automatically exported from code.google.com/p/minibuilder
1 stars 1 forks source link

minibuilder hangs when project has too many files #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a project with a larger number of files (>500)
2. launch minibuilder

What is the expected output? What do you see instead?
minibuilder should launch - instead is hangs on the modal dialog that searches 
through the project directory - there is no error message and no way to dismiss 
the modal dialog.

What version of the product are you using? On what operating system?
air 1.1.3.deb on ubuntu linux 32-bit

Please provide any additional information below.
I have a large project and I was using git to track changes.  apparently, after 
my last git commit earlier in the day, the file count exceeded the capacity of 
some part of the minibuilder start-up process.

An ideal solution would be to allow project setting to ignor certain folders on 
start-up etc.  any '.git' folder should be excluded from the start-up project 
file search process to avoid this issue.

Original issue reported on code.google.com by patel...@gmail.com on 18 Apr 2011 at 8:45

GoogleCodeExporter commented 9 years ago
Just as a follow-up  other projects with smaller number of files open just 
fine.  Also  If I manually remove the .git folder from the project folder then 
minibuilder launches the project just fine - so the file count does seem to be 
the issue.

I tried adding the .git folder to the <excluded entries/> portion of the 
.actionscript-properties file for the project but either I did it wrong or this 
is not the right fix because it didn't work.

Original comment by patel...@gmail.com on 18 Apr 2011 at 9:08

GoogleCodeExporter commented 9 years ago
we need to add an ignore for .git directory

Original comment by victor.dramba on 26 Apr 2011 at 9:32

GoogleCodeExporter commented 9 years ago
I could not figure out where the directories are read in.  If you could point 
me to the class where the diretory scanning happens i could try to put together 
a patch.  minibuilder has been a godsend - speed up my AS3 development by at 
least 5X

Original comment by patel...@gmail.com on 26 Apr 2011 at 12:13

GoogleCodeExporter commented 9 years ago
As a temporary work-around for people with larger projects - if you manually 
move the .git folder outside your project folder, then launch minibuilder, then 
manually move the .git folder back once minibuilder is launched - things seem 
to work ok.  Git does not complain about being moved around and minibuilder is 
able to start.

Original comment by patel...@gmail.com on 26 Apr 2011 at 12:16

GoogleCodeExporter commented 9 years ago
this is the area to look into: 
http://code.google.com/p/minibuilder/source/browse/trunk/AirMiniBuilder/src/ro/m
inibuilder/data/fileBased/FileProject.as#80

Original comment by victor.dramba on 26 Apr 2011 at 12:34

GoogleCodeExporter commented 9 years ago
Here is an attempt at a patch - I had trouble setting up svn so I only patched 
the above file - could someone who already has the source for the whole project 
downloaded please try out this patch and verify that it correctly skips any 
".git" directories in project paths?

ultimately it would be better to have the list of directories to ignore be 
configurable either through the new project setup page - or by manually editing 
a conifg file - but for now this patch should suffice.

Original comment by patel...@gmail.com on 7 May 2011 at 1:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
sorry, the above patch won't work - here is an update patch that properly uses 
the file name. 

Original comment by patel...@gmail.com on 15 May 2011 at 2:13

Attachments: