]> git.argeo.org Git - gpl/argeo-slc.git/blob - tp/Make.java
Rename init private directory
[gpl/argeo-slc.git] / tp / Make.java
1 import java.nio.file.Path;
2 import java.nio.file.Paths;
3
4 import org.argeo.slc.factory.A2Factory;
5
6 class Make {
7 public static void main(String[] args) {
8 if (args.length < 1) {
9 System.err.println("Usage: <path to a2 output dir>");
10 System.exit(1);
11 }
12 Path a2Base = Paths.get(args[0]).toAbsolutePath().normalize();
13 Path descriptorsBase = Paths.get("./tp").toAbsolutePath().normalize();
14 A2Factory factory = new A2Factory(a2Base, descriptorsBase, true);
15
16 // SDK
17 factory.processCategory(Paths.get("org.argeo.tp.sdk"));
18
19 // Eclipse
20 factory.processCategory(Paths.get("osgi/api/org.argeo.tp.osgi"));
21 factory.processEclipseArchive(Paths.get("osgi/equinox/org.argeo.tp.osgi", "eclipse-equinox"));
22 factory.processEclipseArchive(Paths.get("osgi/equinox/org.argeo.tp.eclipse", "eclipse-equinox"));
23
24 factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt", "eclipse-rap"));
25 factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt.workbench", "eclipse-rap"));
26
27 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
28
29 factory.processEclipseArchive(Paths.get("lib/linux/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
30 factory.processEclipseArchive(Paths.get("lib/linux/aarch64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
31 factory.processEclipseArchive(Paths.get("lib/win32/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
32 factory.processEclipseArchive(Paths.get("lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
33
34 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-nebula"));
35 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt.workbench", "eclipse-rcp"));
36 factory.processCategory(Paths.get("swt/rcp/org.argeo.tp.swt.workbench"));
37
38 // Maven
39 factory.processCategory(Paths.get("org.argeo.tp"));
40 factory.processCategory(Paths.get("org.argeo.tp.apache"));
41 factory.processCategory(Paths.get("org.argeo.tp.jetty"));
42 factory.processCategory(Paths.get("org.argeo.tp.jcr"));
43 factory.processCategory(Paths.get("org.argeo.tp.formats"));
44 factory.processCategory(Paths.get("org.argeo.tp.poi"));
45 factory.processCategory(Paths.get("org.argeo.tp.gis"));
46 }
47
48 }