git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[JGit Patch 3/6] Add test resources directory as a classpath entry

From
imyousuf@gmail.com <imyousuf@gmail.com>
Date
Aug 21, 2008, 02:47 UTC
Message-ID
<1219286848-22758-3-git-send-email-imyousuf@gmail.com>
In-Reply-To
<1219286848-22758-2-git-send-email-imyousuf@gmail.com>
From: Imran M Yousuf <imyousuf@smartitengineering.com>

Since test resources will be required to be read from classpath thus adding record to Eclipse's .classpath setting file.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
---
 org.spearce.jgit.test/.classpath |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/org.spearce.jgit.test/.classpath b/org.spearce.jgit.test/.classpath
index 592fa17..a276507 100644
--- a/org.spearce.jgit.test/.classpath
+++ b/org.spearce.jgit.test/.classpath
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry excluding="**/*.idx|**/*.pack" kind="src" path="tst"/>
+	<classpathentry kind="src" path="tst-rsrc"/>
 	<classpathentry kind="src" path="exttst"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/org.spearce.jgit"/>
-- 
1.5.6
Previous: imyousuf@gmail.comNext: imyousuf@gmail.com
Message 2 of 4 in “Add a POM file for setting JGit library as a Maven project”
  1. 1/6 Add a POM file for setting JGit library as a Maven projectimyousuf@gmail.com, Aug 21, 2008
  2. 3/6 Add test resources directory as a classpath entryimyousuf@gmail.com, Aug 21, 2008
  3. 4/6 Use test resources from classpathimyousuf@gmail.com, Aug 21, 2008
  4. 5/6 Add script for adding second pack for test purposeimyousuf@gmail.com, Aug 21, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.