]> git.argeo.org Git - gpl/argeo-slc.git/blob - tp/Make.java
Put DLLs in sub directories (required by SWT WebKit extensions)
[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
23 factory.processEclipseArchive(Paths.get("org.argeo.tp.eclipse", "eclipse-equinox"));
24
25 factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt", "eclipse-rap"));
26 factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt.workbench", "eclipse-rap"));
27
28 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
29
30 factory.processEclipseArchive(Paths.get("lib/linux/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
31 factory.processEclipseArchive(Paths.get("lib/linux/aarch64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
32 factory.processEclipseArchive(Paths.get("lib/win32/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
33 factory.processEclipseArchive(Paths.get("lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp"));
34
35 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-nebula"));
36 // factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt",
37 // "eclipse-equinox"));
38 factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt.workbench", "eclipse-rcp"));
39 factory.processCategory(Paths.get("swt/rcp/org.argeo.tp.swt.workbench"));
40
41 // Maven
42 factory.processCategory(Paths.get("org.argeo.tp"));
43 factory.processCategory(Paths.get("org.argeo.tp.apache"));
44 factory.processCategory(Paths.get("org.argeo.tp.jetty"));
45 factory.processCategory(Paths.get("org.argeo.tp.jcr"));
46 factory.processCategory(Paths.get("org.argeo.tp.formats"));
47 factory.processCategory(Paths.get("org.argeo.tp.poi"));
48 factory.processCategory(Paths.get("org.argeo.tp.gis"));
49 }
50
51 }