Add basic Eclipse setup for log4j
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 18 Jan 2022 16:07:23 +0000 (11:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jan 2022 20:24:56 +0000 (15:24 -0500)
Change-Id: I2f4c6002b50b39b851f88ff46cb13046b5d363ba
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
.classpath [new file with mode: 0644]
.gitignore
.project [new file with mode: 0644]

diff --git a/.classpath b/.classpath
new file mode 100644 (file)
index 0000000..82061e5
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry excluding="lttng-ust-agent-all/|lttng-ust-agent-all/|lttng-ust-agent-common/|lttng-ust-agent-common/|lttng-ust-agent-jul/|lttng-ust-agent-jul/|lttng-ust-agent-log4j2/|lttng-ust-agent-log4j2/|lttng-ust-agent-log4j/|lttng-ust-agent-log4j/" kind="src" path="src/lib/lttng-ust-java-agent/java"/>
+       <classpathentry kind="src" path="src/lib/lttng-ust-java-agent/java/lttng-ust-agent-all"/>
+       <classpathentry kind="src" path="src/lib/lttng-ust-java-agent/java/lttng-ust-agent-common"/>
+       <classpathentry kind="src" path="src/lib/lttng-ust-java-agent/java/lttng-ust-agent-jul"/>
+       <classpathentry kind="src" path="src/lib/lttng-ust-java-agent/java/lttng-ust-agent-log4j2"/>
+       <classpathentry kind="src" path="src/lib/lttng-ust-java-agent/java/lttng-ust-agent-log4j"/>
+       <classpathentry kind="src" path="doc/examples/java-log4j2-basic">
+               <attributes>
+                       <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="lttng-ust/src/lib/lttng-ust-java-agent/jni/log4j/.libs"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" path="doc/examples/java-log4j2-ctx">
+               <attributes>
+                       <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="lttng-ust/src/lib/lttng-ust-java-agent/jni/log4j/.libs"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" path="doc/examples/java-log4j2-prog">
+               <attributes>
+                       <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="lttng-ust/src/lib/lttng-ust-java-agent/jni/log4j/.libs"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" path="doc/examples/java-log4j">
+               <attributes>
+                       <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="lttng-ust/src/lib/lttng-ust-java-agent/jni/log4j/.libs"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+               <attributes>
+                       <attribute name="module" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="lib" path="/usr/share/java/log4j-1.2.jar"/>
+       <classpathentry kind="lib" path="/usr/share/java/log4j-1.2-api.jar"/>
+       <classpathentry kind="lib" path="/usr/share/java/log4j-api.jar"/>
+       <classpathentry kind="lib" path="/usr/share/java/log4j-core.jar"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
index 3e36981fe68408a0c8d5baa19c43430fdac7aba5..7dbd41fd45b9e2bb456668243628bf175bb1fa66 100644 (file)
@@ -210,3 +210,4 @@ cscope.*
 /tests/unit/ust-utils/Makefile
 /tests/utils/Makefile
 /tools/Makefile
+/bin/
diff --git a/.project b/.project
new file mode 100644 (file)
index 0000000..f13bbb1
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>lttng-ust</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
This page took 0.026404 seconds and 4 git commands to generate.