| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | */ |
| | | package org.opends.build.tools; |
| | | |
| | |
| | | LinkedList<String> ditContentRules = new LinkedList<String>(); |
| | | LinkedList<String> ditStructureRules = new LinkedList<String>(); |
| | | LinkedList<String> matchingRuleUses = new LinkedList<String>(); |
| | | LinkedList<String> ldapSyntaxes = new LinkedList<String>(); |
| | | |
| | | |
| | | // Open each of the files in order and read the elements that they contain, |
| | |
| | | { |
| | | matchingRuleUses.add(line); |
| | | } |
| | | else if (lowerLine.startsWith("ldapsyntaxes:")) |
| | | { |
| | | ldapSyntaxes.add(line); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | writer.write("objectClass: subschema"); |
| | | writer.newLine(); |
| | | |
| | | for (String line : ldapSyntaxes) |
| | | { |
| | | writer.write(line); |
| | | writer.newLine(); |
| | | } |
| | | |
| | | for (String line : attributeTypes) |
| | | { |
| | | writer.write(line); |