Changeset 7662 for trunk/projects


Ignore:
Timestamp:
03/21/11 19:18:43 (9 years ago)
Author:
abhinav
Message:
  1. Added a method to use the style-sheet to convert OME-XML to METS(MODS).
  2. Batch file calls "mvn clean" before it builds.
Location:
trunk/projects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/visbio/src/main/java/loci/visbio/util/XMLUtil.java

    r5093 r7662  
    214214  } 
    215215 
     216  /** XSLT Stylesheet for Forward project */ 
     217  public static String transformXML(String xml, String pathToStylesheet) { 
     218    Templates stylesheet = XMLTools.getStylesheet(pathToStylesheet, null); 
     219    try { 
     220      return XMLTools.transformXML(xml, stylesheet); 
     221    } 
     222    catch (IOException exc) { 
     223      return null; 
     224    } 
     225  } 
    216226} 
     227 
  • trunk/projects/wiscscan-java/build_cpp_wrap.bat

    r7637 r7662  
    55set cppwrapRootPath=%CD%\target\cppwrap 
    66 
     7call mvn clean 
    78call mvn package cppwrap:wrap 
    89cd .\target\cppwrap 
Note: See TracChangeset for help on using the changeset viewer.