Bug 573166 Build stand-alone MAT packages with a newer Eclipse release
Copy selected product files to be first in list
Change-Id: I8b72aa857cabd658550f6978066d143e7af4641f
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=573166
diff --git a/org.eclipse.mat.product/pom.xml b/org.eclipse.mat.product/pom.xml
index bc942ae..ab02c4c 100644
--- a/org.eclipse.mat.product/pom.xml
+++ b/org.eclipse.mat.product/pom.xml
@@ -49,8 +49,8 @@
<configuration>
<target>
<!-- Make the selected product the first alphabetically -->
- <copy file="${project.build.directory}/${mat-product}.product" tofile="${project.build.directory}/mat.product" />
- <copy file="${project.build.directory}/${mat-product}.p2.inf" tofile="${project.build.directory}/mat.p2.inf" />
+ <copy file="${project.basedir}/${mat-product}.product" tofile="${project.basedir}/mat.product" />
+ <copy file="${project.basedir}/${mat-product}.p2.inf" tofile="${project.basedir}/mat.p2.inf" />
</target>
</configuration>
</execution>