Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2019-10-03 05:10:30 +0000
committerEike Stepper2019-10-03 05:10:30 +0000
commit7e623274dc423227d93878e4e39a98be4529fbef (patch)
tree80dc2a9ba7c541d7fd240c950d6edc8311f84eea /plugins
parentb5a28209580c832e327e441df91ebfea56ca2759 (diff)
downloadorg.eclipse.oomph-7e623274dc423227d93878e4e39a98be4529fbef.tar.gz
org.eclipse.oomph-7e623274dc423227d93878e4e39a98be4529fbef.tar.xz
org.eclipse.oomph-7e623274dc423227d93878e4e39a98be4529fbef.zip
[Releng] Add initial OwnershipMapper
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/OwnershipMapper.java39
1 files changed, 24 insertions, 15 deletions
diff --git a/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/OwnershipMapper.java b/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/OwnershipMapper.java
index f2387fd73..a044a8b9a 100644
--- a/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/OwnershipMapper.java
+++ b/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/OwnershipMapper.java
@@ -284,6 +284,11 @@ public final class OwnershipMapper
}
}
+ if (lastFolder != null)
+ {
+ exemptions.add(lastFolder);
+ }
+
writer.close();
writer = new BufferedWriter(new FileWriter("exemptions.txt"));
@@ -298,6 +303,21 @@ public final class OwnershipMapper
writer.close();
}
+ private static void printStackTrace(Exception exception)
+ {
+ try
+ {
+ ByteArrayOutputStream bytes = new ByteArrayOutputStream();
+ PrintStream out = new PrintStream(bytes);
+ exception.printStackTrace(out);
+ System.err.write(bytes.toByteArray());
+ }
+ catch (Exception ex)
+ {
+ //$FALL-THROUGH$
+ }
+ }
+
private static void initProjects() throws Exception
{
File projectsFile = new File(PROJECTS_NAME);
@@ -346,27 +366,16 @@ public final class OwnershipMapper
System.out.println(folder + " --> " + exemptionRule);
}
}
- }
- }
- private static void printStackTrace(Exception exception)
- {
- try
- {
- ByteArrayOutputStream bytes = new ByteArrayOutputStream();
- PrintStream out = new PrintStream(bytes);
- exception.printStackTrace(out);
- System.err.write(bytes.toByteArray());
- }
- catch (Exception ex)
- {
- //$FALL-THROUGH$
+ System.out.println();
}
}
private static String getDebugExemptions()
{
- return " bin -";
+ return " bin -\n" //
+ + " cdo-master/ CDO\n"//
+ + " oomph OOMPH";
}
/**

Back to the top