mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
aether dependency resolver to use Idea-bundled slf4j-api
This commit is contained in:
@@ -29,5 +29,6 @@
|
||||
<orderEntry type="library" exported="" name="http-client" level="project" />
|
||||
<orderEntry type="library" exported="" name="commons-codec" level="project" />
|
||||
<orderEntry type="library" exported="" name="commons-logging" level="project" />
|
||||
<orderEntry type="library" exported="" name="Slf4j" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -110,6 +110,7 @@ class CommunityStandaloneJpsBuilder {
|
||||
include(name: "commons-logging-*.jar")
|
||||
include(name: "httpclient-*.jar")
|
||||
include(name: "httpcore-*.jar")
|
||||
include(name: "slf4j-api-*.jar")
|
||||
}
|
||||
ant.fileset(dir: "$home/jps/lib") {
|
||||
include(name: "optimizedFileManager.jar")
|
||||
|
||||
@@ -80,13 +80,15 @@ public class ClasspathBootstrap {
|
||||
cp.add(getResourcePath(ArtifactRepositoryManager.class)); // aether-dependency-resolver
|
||||
final String aetherPath = getResourcePath(Artifact.class); // aether-1.1.0-all.jar
|
||||
cp.add(aetherPath);
|
||||
cp.add(FileUtil.toSystemIndependentName(new File(new File(aetherPath).getParentFile(), "maven-aether-provider-3.3.9-all.jar").getAbsolutePath())); // aether-1.1.0-all.jar
|
||||
cp.add(FileUtil.toSystemIndependentName(new File(new File(aetherPath).getParentFile(), "maven-aether-provider-3.3.9-all.jar").getAbsolutePath()));
|
||||
cp.add(getResourcePath(HttpClient.class)); // httpclient
|
||||
cp.add(getResourcePath(HttpConnection.class)); // httpcore
|
||||
//noinspection UnnecessaryFullyQualifiedName
|
||||
cp.add(getResourcePath(org.apache.commons.codec.binary.Base64.class)); // commons-codec
|
||||
//noinspection UnnecessaryFullyQualifiedName
|
||||
cp.add(getResourcePath(org.apache.commons.logging.LogFactory.class)); // commons-logging
|
||||
//noinspection UnnecessaryFullyQualifiedName
|
||||
cp.add(getResourcePath(org.slf4j.Marker.class)); // slf4j
|
||||
|
||||
cp.addAll(getJavac8RefScannerClasspath());
|
||||
//don't forget to update CommunityStandaloneJpsBuilder.layoutJps accordingly
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user