Skip to content

Commit

Permalink
Update cnescatlab#16 Using an analyzer service to run analysis.
Browse files Browse the repository at this point in the history
Changelog :
- Removal of the old Analyzer in the Analyzer plugin;
- Removal of the analysis handler in the UI plugin
- Add of an Analyzer plugin runnable from any third using
applyRules(List<File>,List<String>,List<String>) and
computeMetrics(List<File>,List<String>,List<String>) indicating files &
languages to run the analysis on. 
- Analyzer is now responsible to run the appropriate files on the good
analyzers
- Add of a new analysis handler in UI sending every selected file to the
analyzer.

The current changes are not complete, javadoc and cleaning task should
be realized to use clean files.
  • Loading branch information
Omar Waldmann committed May 24, 2017
1 parent da4f1ec commit abddd28
Show file tree
Hide file tree
Showing 29 changed files with 1,964 additions and 2,987 deletions.
14 changes: 7 additions & 7 deletions fr.cnes.analysis.tools.analyzer/.classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions fr.cnes.analysis.tools.analyzer/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Export-Package: fr.cnes.analysis.tools.analyzer;uses:="org.osgi.framework,org.ec
fr.cnes.analysis.tools.analyzer.exception
Import-Package: org.junit
Bundle-Vendor: CNES
Bundle-ClassPath: .
1 change: 1 addition & 0 deletions fr.cnes.analysis.tools.analyzer/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml
source.. = src/
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@

<element name="analyzer">
<complexType>
<sequence>
<element ref="fileExtension" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Expand All @@ -73,6 +76,18 @@
</complexType>
</element>

<element name="fileExtension">
<complexType>
<attribute name="name" type="string">
<annotation>
<documentation>

</documentation>
</annotation>
</attribute>
</complexType>
</element>

<annotation>
<appinfo>
<meta.section type="since"/>
Expand Down

This file was deleted.

Loading

0 comments on commit abddd28

Please sign in to comment.