Class HadoopJarRepackager


  • public final class HadoopJarRepackager
    extends Object
    This class allow to repackage the application.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Method Detail

      • repack

        public static void repack​(File destJarFile)
                           throws IOException
        Repackage the jar application.
        Parameters:
        destJarFile - path to the repackaged jar file
        Throws:
        IOException - if an error occurs while repackage the application
      • repack

        public static File repack()
                           throws IOException
        Repackage the jar application only if the repackaged file does not exist.
        Returns:
        the File repackaged jar file
        Throws:
        IOException - if an error occurs while repackage the application