org.eclipse.xtend.maven.XtendInstallDebugInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of report Show documentation
Show all versions of report Show documentation
The report generator for the Jnario testing language.
The newest version!
package org.eclipse.xtend.maven;
import java.io.File;
import java.util.List;
import com.google.common.collect.Multimap;
/**
* Goal which installs debug information into Java class files that have been generated from Xtend.
*
* @author Moritz Eysholdt - Initial contribution and API
* @goal xtend-install-debug-info
* @phase process-classes
* @requiresDependencyResolution compile
*/
public class XtendInstallDebugInfo extends AbstractXtendInstallDebugInfoMojo {
@Override
protected void internalExecute() {
List compileSourceRoots = project.getCompileSourceRoots();
String outputDirectory = project.getBuild().getOutputDirectory();
Multimap trace2class = createTraceToClassFileMap(compileSourceRoots, outputDirectory);
logStatus(outputDirectory, trace2class);
installTraces(trace2class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy