-\r
- public static void main(String[] args) {\r
- File antFile = new File(\r
- "C:/dev/workspaces/default/org.argeo.slc/src/test/slc/root/Category1/SubCategory2/build.xml");\r
- StructureRegistry registry = AntRegistryUtil.readRegistry(antFile);\r
-\r
- StringBuffer buf = new StringBuffer("");\r
-\r
- int count = 0;\r
- List<StructurePath> activePaths = new Vector<StructurePath>();\r
- for (StructurePath path : registry.listPaths()) {\r
- buf.append(path);\r
- if (count != 0 && count % 3 == 0) {\r
- // skip\r
- } else {\r
- activePaths.add(path);\r
- buf.append(" <");\r
- }\r
- buf.append('\n');\r
- count++;\r
- }\r
- log.info(buf);\r
-\r
- runActive(antFile, activePaths);\r
-\r
- }\r