patch proposal

* AadlProject.java


Aim: report annex resolution errors on the OSATE's editor instead on the standard output.

Applied on: org.osate.workspace/src/org/osate/internal/workspace/AadlProject.java

What does it fix: It fixes the method that fetches the path of the file currently being edited. This method, which is based upon a given Resource reference (aaxl file), does not support the aaxl2 extension.

How does it fix: the patch adds the support of any aaxli extension (where "i" stands for a version number).

* AnnexParserAgent.java

Aim: fix unrelevant error messages or null pointer exceptions while trying to resolve an annex sub clause when:

  _ this annex has parsing error (the other annexes which do not have any error, are 
     resolved).
  _ the AADL packages have any parsing error (as all annexes are concerned, no others 
     are resolved).

Applied on: org.osate.xtext.aadl2/src/org/osate/xtext/aadl2/parsing/AnnexParserAgent.java

What does it fix: the automatic execution of the annex sub clause resolutions. This patch does not modify the execution condition of the annex library resolutions.

How does it fix: add conditions that control the annex sub clause resolutions.