Skip to content

Commit

Permalink
Final cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Dec 9, 2024
1 parent 49c6bf6 commit 6a8b837
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion ant_task/src/zserio/ant/ToolWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
Expand Down
8 changes: 0 additions & 8 deletions compiler/core/src/zserio/tools/ExtensionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,15 @@ private ClassLoader getClassLoader()
{
for (File file : fileList)
{
System.out.println("Found file: " + file);
if (isFileZserioExtension(file))
{
System.out.println("file.toURI() = " + file.toURI());
System.out.println("file.toURI().toURL() = " + file.toURI().toURL());
urlArray.add(file.toURI().toURL());
urlArray.addAll(getDependentJarsFromManifest(file));
}
}
}
catch (MalformedURLException excpt)
{
System.out.println("Exception!" + excpt.toString());
return currentClassLoader;
}

Expand All @@ -147,11 +143,8 @@ private File getWorkingDirectory()
try
{
final URI execUri = getClass().getProtectionDomain().getCodeSource().getLocation().toURI();
System.out.println("execUri = " + execUri);
final Path execPath = Paths.get(execUri);
System.out.println("execPath = " + execPath);
final Path execParentPath = execPath.getParent();
System.out.println("execParentPath = " + execParentPath);

return (execParentPath == null) ? null : execParentPath.toFile();
}
Expand Down Expand Up @@ -200,7 +193,6 @@ private List<URL> getDependentJarsFromManifest(File file)
for (String classPath : classPaths.split("\\s+"))
{
final File dependentJarFile = new File(parentFile, classPath);
System.out.println("Found dependent file: " + dependentJarFile);
dependentJars.add(dependentJarFile.toURI().toURL());
}
}
Expand Down

0 comments on commit 6a8b837

Please sign in to comment.