@Test public void testCompanionJar() throws IOException { assertTrue(StandardExecutionEnvironment.getSystemPackagesCompanionJar().isFile()); }
static File getSystemPackagesCompanionJar() throws IOException { File companionFile = File.createTempFile("tycho-system-packages-companion", ".jar"); companionFile.deleteOnExit(); try (InputStream contents = ListSystemPackages.class.getClassLoader() .getResourceAsStream("system-packages-companion.jar")) { FileUtils.copyToFile(contents, companionFile); } return companionFile; }
StandardExecutionEnvironment implements Comparable<StandardExecutionEnvironment>, ExecutionEnvironment { static File getSystemPackagesCompanionJar() throws IOException { File companionFile = File.createTempFile("tycho-system-packages-companion", ".jar"); companionFile.deleteOnExit(); try (InputStream contents = ListSystemPackages.class.getClassLoader() .getResourceAsStream("system-packages-companion.jar")) { FileUtils.copyToFile(contents, companionFile); } return companionFile; } }
StandardExecutionEnvironment implements Comparable<StandardExecutionEnvironment>, ExecutionEnvironment { static File getSystemPackagesCompanionJar() throws IOException { File companionFile = File.createTempFile("tycho-system-packages-companion", ".jar"); companionFile.deleteOnExit(); try (InputStream contents = ListSystemPackages.class.getClassLoader() .getResourceAsStream("system-packages-companion.jar")) { FileUtils.copyToFile(contents, companionFile); } return companionFile; } @Deprecated  StandardExecutionEnvironment(@Nonnull Properties profileProperties);   StandardExecutionEnvironment(@Nonnull Properties profileProperties, @Nullable Toolchain toolchain,
            @Nullable Logger logger); }
StandardExecutionEnvironment implements Comparable<StandardExecutionEnvironment>, ExecutionEnvironment { static File getSystemPackagesCompanionJar() throws IOException { File companionFile = File.createTempFile("tycho-system-packages-companion", ".jar"); companionFile.deleteOnExit(); try (InputStream contents = ListSystemPackages.class.getClassLoader() .getResourceAsStream("system-packages-companion.jar")) { FileUtils.copyToFile(contents, companionFile); } return companionFile; } @Deprecated  StandardExecutionEnvironment(@Nonnull Properties profileProperties);   StandardExecutionEnvironment(@Nonnull Properties profileProperties, @Nullable Toolchain toolchain,
            @Nullable Logger logger); @Override String getProfileName(); @Override String getCompilerSourceLevelDefault(); @Override String getCompilerTargetLevelDefault(); @Override String toString(); @Override Collection<SystemPackageEntry> getSystemPackages(); @Override int compareTo(StandardExecutionEnvironment otherEnv); @Override int hashCode(); @Override boolean equals(Object obj); @Override Properties getProfileProperties(); @Override boolean isCompatibleCompilerTargetLevel(String target); }
StandardExecutionEnvironment implements Comparable<StandardExecutionEnvironment>, ExecutionEnvironment { static File getSystemPackagesCompanionJar() throws IOException { File companionFile = File.createTempFile("tycho-system-packages-companion", ".jar"); companionFile.deleteOnExit(); try (InputStream contents = ListSystemPackages.class.getClassLoader() .getResourceAsStream("system-packages-companion.jar")) { FileUtils.copyToFile(contents, companionFile); } return companionFile; } @Deprecated  StandardExecutionEnvironment(@Nonnull Properties profileProperties);   StandardExecutionEnvironment(@Nonnull Properties profileProperties, @Nullable Toolchain toolchain,
            @Nullable Logger logger); @Override String getProfileName(); @Override String getCompilerSourceLevelDefault(); @Override String getCompilerTargetLevelDefault(); @Override String toString(); @Override Collection<SystemPackageEntry> getSystemPackages(); @Override int compareTo(StandardExecutionEnvironment otherEnv); @Override int hashCode(); @Override boolean equals(Object obj); @Override Properties getProfileProperties(); @Override boolean isCompatibleCompilerTargetLevel(String target);  }