RFR: 7507: Fixing project setup

Brice Dutheil duke at openjdk.java.net
Fri Jan 14 08:32:32 UTC 2022


On Thu, 13 Jan 2022 12:47:08 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

> ...and some cleanup.

On clean git repository (after a the nuclear `git clean -fdx`), I noticed the `org.openjdk.jmc.flightrecorder.writer.test` project has compile errors, unless I do a right click on the project then `Maven | Update Project...`. Which result in this modification.

Other project's `.classpath` file seem to have this `classpathentry` element.


diff --git i/core/tests/org.openjdk.jmc.flightrecorder.writer.test/.classpath w/core/tests/org.openjdk.jmc.flightrecorder.writer.test/.classpath
index b5527438..5de0999d 100644
--- i/core/tests/org.openjdk.jmc.flightrecorder.writer.test/.classpath
+++ w/core/tests/org.openjdk.jmc.flightrecorder.writer.test/.classpath
@@ -37,4 +37,5 @@
                        <attribute name="maven.pomderived" value="true"/>
                </attributes>
        </classpathentry>
+  <classpathentry kind="output" path="target/classes"/>
 </classpath>

-------------

PR: https://git.openjdk.java.net/jmc/pull/355


More information about the jmc-dev mailing list