netbeans 플랫폼 용 간단한 플러그인을 개발합니다. 나는 (예를 들어 두 개의 WebJavaProject를 열었을 때) 자바 프로젝트를 지정하는 클래스 패스를 얻는 방법을 궁금해하며 이제는 프로젝트를 지정하기 위해 classsLoader를 어떻게 얻을 수 있는지 알지 못한다.netbeans의 classLoader를 가져 오는 방법 프로젝트 지정
임과 같이하지만,이 dosent 작업을 시도 :
FileObject f = this.project.getProjectDirectory();
ClassPath cpCompile = ClassPath.getClassPath(f, ClassPath.COMPILE);
cpCompile.getClassLoader(true);
내가 그것을 어떻게 얻을 수있는 몸이 알 수 있습니까?
확인 감사합니다. –