@@ -0,0 +1,1417 @@
+package org.wso2.developerstudio.eclipse.artifact.analytics.exporter;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0A%0Aimport org.eclipse.core.resources.IFile;%0Aimport org.eclipse.core.resources.IFolder;%0Aimport org.eclipse.core.resources.IProject;%0Aimport org.eclipse.core.resources.IResource;%0Aimport org.wso2.developerstudio.eclipse.distribution.project.export.DefaultArtifactExportHandler;%0Aimport org.wso2.developerstudio.eclipse.distribution.project.model.ArtifactData;%0Aimport org.wso2.developerstudio.eclipse.distribution.project.model.DependencyData;%0Aimport org.wso2.developerstudio.eclipse.distribution.project.util.DistProjectUtils;%0A%0Apublic class AnalyticsExportHandler extends DefaultArtifactExportHandler %7B%0A%09%0A%09DistProjectUtils distProjectUtils = new DistProjectUtils();%0A%0A%09@Override%0A%09public void exportArtifact(List%3CArtifactData%3E artifactList,%0A%09%09%09Map%3CIProject, Map%3CString, IResource%3E%3E graphicalSynapseProjectList,%0A%09%09%09IFolder splitESBResources, DependencyData dependencyData,%0A%09%09%09Object parent, Object self) throws Exception %7B%0A%09%09if (parent instanceof IProject && self instanceof String) %7B%0A%09%09%09IFile file = ((IProject) parent).getFile((String) self);%0A%09%09%09ArtifactData artifactData = new ArtifactData();%0A%09%09%09artifactData.setDependencyData(dependencyData);%0A%09%09%09artifactData.setFile(distProjectUtils.getFileName(dependencyData));%0A%09%09%09artifactData.setResource((IResource) file);%0A%09%09%09artifactList.add(artifactData);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Fix for TOOLS-3296