# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/local/CORPNET/chrlse/src/hg/netbeans/releases # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: nbjunit/src/org/netbeans/junit/NbModuleSuite.java --- nbjunit/src/org/netbeans/junit/NbModuleSuite.java Base (BASE) +++ nbjunit/src/org/netbeans/junit/NbModuleSuite.java Locally Modified (Based On LOCAL) @@ -1103,10 +1103,10 @@ StringBuilder classPathHeader = new StringBuilder(); for (String artifact : mavenCP) { String[] grpArtVers = artifact.split(":"); - String suffix = File.separatorChar + grpArtVers[0].replace('.', File.separatorChar) + File.separatorChar + grpArtVers[1] + File.separatorChar + grpArtVers[2] + File.separatorChar + grpArtVers[1] + '-' + grpArtVers[2] + ".jar"; + String partOfPath = File.separatorChar + grpArtVers[0].replace('.', File.separatorChar) + File.separatorChar + grpArtVers[1] + File.separatorChar + grpArtVers[2] + File.separatorChar + grpArtVers[1] + '-' + grpArtVers[2]; File dep = null; for (String classpathEntry : classpathEntries) { - if (classpathEntry.endsWith(suffix)) { + if (classpathEntry.endsWith(".jar") && classpathEntry.contains(partOfPath)) { dep = new File(classpathEntry); break; }