Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Performance issue with root data files

The real bug here is that Tycho allowed resources outside of project
basedir. This should have been rejected with a clear error message.


On 12-01-25 11:46 AM, Dahanne, Anthony wrote:
Hello Tycho devs,
This morning, we found out, with a colleague of mine, that if you add such a root file definition in your :

then tycho is going to recursively scan the ../../ directory, in search of

The method executed is FileSet.recursiveScan , called from RootFilePatternParser.addFilesFromPatterns

So this behavior (recursively scanning the directories) is very good when you have root file "folder"

but for a file, it could be much more efficient if, instead of recursively scanning, it picked up the right file path, and check it with addFileIfMatch(subFile, result, baseDirPath);

because, sometimes, scanning a whole filesystem for just a file, can take a long time...
Is it worth a bug creation ?

Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant être confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le destinataire ou une personne désignée autorisée. Si vous le receviez par erreur, veuillez nous aviser immédiatement et le détruire.

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

tycho-dev mailing list

Back to the top