You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2022/11/18 06:49:19 UTC

[datasketches-memory] 03/03: Added classpath templates to tools/scripts/assets.

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch IntegrateJava17_v2
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit cb6c88add9db83170f3122e732fac44e13c79472
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Thu Nov 17 22:49:10 2022 -0800

    Added classpath templates to tools/scripts/assets.
---
 tools/scripts/assets/classpath11.txt | 52 +++++++++++++++++++++++++++++
 tools/scripts/assets/classpath17.txt | 65 ++++++++++++++++++++++++++++++++++++
 tools/scripts/assets/classpath8.txt  | 40 ++++++++++++++++++++++
 3 files changed, 157 insertions(+)

diff --git a/tools/scripts/assets/classpath11.txt b/tools/scripts/assets/classpath11.txt
new file mode 100644
index 0000000..8fdaa08
--- /dev/null
+++ b/tools/scripts/assets/classpath11.txt
@@ -0,0 +1,52 @@
+<?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-11">
+		<attributes>
+			<attribute name="module" value="true"/>
+			<attribute name="add-exports" value="java.base/jdk.internal.ref=org.apache.datasketches.memory:java.base/jdk.internal.misc=org.apache.datasketches.memory:java.base/sun.nio.ch=org.apache.datasketches.memory"/>
+			<attribute name="add-opens" value="java.base/sun.nio.ch=org.apache.datasketches.memory:java.base/java.nio=org.apache.datasketches.memory"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="org/apache/datasketches/memory/internal/unsafe/MemoryCleaner.java|org/apache/datasketches/memory/internal/unsafe/NioBitsFields.java|org/apache/datasketches/memory/internal/unsafe/VirtualMachineMemory.java"
+			kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry output="target/classes" kind="src" path="src/main/java11">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="output" path="target/classes"/>
+
+</classpath>
diff --git a/tools/scripts/assets/classpath17.txt b/tools/scripts/assets/classpath17.txt
new file mode 100644
index 0000000..6d26200
--- /dev/null
+++ b/tools/scripts/assets/classpath17.txt
@@ -0,0 +1,65 @@
+<?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-17">
+		<attributes>
+			<attribute name="module" value="true"/>
+			<attribute name="add-exports" value="jdk.incubator.foreign/jdk.incubator.foreign=org.apache.datasketches.memory"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="org/apache/datasketches/memory/" kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="org/apache/datasketches/memory/" kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="module-info.java|org/apache/datasketches/memory/" kind="src" output="target/classes" path="src/main/java11">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="src" output="target/classes" path="src/main/java17">
+		<attributes>
+			<attribute name="module" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java17">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/tools/scripts/assets/classpath8.txt b/tools/scripts/assets/classpath8.txt
new file mode 100644
index 0000000..75e2626
--- /dev/null
+++ b/tools/scripts/assets/classpath8.txt
@@ -0,0 +1,40 @@
+<?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">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+
+	<classpathentry kind="output" path="target/classes"/>
+
+</classpath>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org