Changeset 6223 for ComponentRegistry
- Timestamp:
- 05/19/15 08:25:16 (9 years ago)
- Location:
- ComponentRegistry/trunk/ComponentSpecFixer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentSpecFixer/pom.xml
r6221 r6223 27 27 <maven.compiler.target>1.7</maven.compiler.target> 28 28 </properties> 29 <build> 30 <plugins> 31 <!-- produce executable JAR with external libraries --> 32 <plugin> 33 <groupId>org.apache.maven.plugins</groupId> 34 <artifactId>maven-jar-plugin</artifactId> 35 <version>2.6</version> 36 <configuration> 37 <archive> 38 <manifest> 39 <mainClass>nl.mpi.componentspecfixer.ComponentSpecFixer</mainClass> 40 <addClasspath>true</addClasspath> 41 <classpathPrefix>lib/</classpathPrefix> 42 </manifest> 43 </archive> 44 </configuration> 45 </plugin> 46 47 <plugin> 48 <groupId>org.apache.maven.plugins</groupId> 49 <artifactId>maven-dependency-plugin</artifactId> 50 <version>2.10</version> 51 <executions> 52 <execution> 53 <id>copy-dependencies</id> 54 <phase>package</phase> 55 <goals> 56 <goal>copy-dependencies</goal> 57 </goals> 58 <configuration> 59 <outputDirectory>${project.build.directory}/lib</outputDirectory> 60 <overWriteReleases>false</overWriteReleases> 61 <overWriteSnapshots>false</overWriteSnapshots> 62 <overWriteIfNewer>true</overWriteIfNewer> 63 </configuration> 64 </execution> 65 </executions> 66 </plugin> 67 </plugins> 68 </build> 29 69 </project> -
ComponentRegistry/trunk/ComponentSpecFixer/src/main/java/nl/mpi/componentspecfixer/ComponentSpecFixer.java
r6222 r6223 29 29 30 30 /** 31 * 31 * This utility will apply a style sheet to all component specifications in the 32 * Component Registry database (versions 1.14.5 and higher) that minimizes all 33 * specifications that have consolidated expansion (components with both a 34 * ComponentId attribute and children). 35 * 36 * 37 * Usage: 38 * - make sure no other application is connected to the database 39 * - run the main 32 40 * @author Twan Goosen <twan.goosen@mpi.nl> 33 41 */ … … 65 73 final String id = descr.getId(); 66 74 75 // read and update in a transaction 67 76 transactionTemplate.execute(new TransactionCallbackWithoutResult() { 68 77
Note: See TracChangeset
for help on using the changeset viewer.