ciera / fusion

Automatically exported from code.google.com/p/fusion
0 stars 0 forks source link

Retrieve XML only once per project, and only with XML files in the project. #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Based on the logs, we seem to be calling XMLRetriever.retrieveWithSchema() too 
often. I believe this should only be called when we are switching to a new 
project. If however, the files being analyzed are all part of the same project, 
this should only be called once.

Original issue reported on code.google.com by ciera.christopher on 2 Jun 2011 at 7:51

GoogleCodeExporter commented 9 years ago
Upon investigation, this is because it should be done once per project, and is 
instead being done once per compilation unit. Depends on a Crystal change to 
notify at beginning of project.

However, it also should only get the XML files in the project, and not in every 
other project as well. See if that can be fixed as well.

Fusion files and annotations probably should be workspace wide. Technically 
should be classpath wide, but that might be hard.

Original comment by ciera.christopher on 14 Jun 2011 at 6:44