Mojarra JSF Tools 2.1.28.SP9

com.sun.faces.tools
Class GlassfishUpdater

java.lang.Object
  extended by com.sun.faces.tools.GlassfishUpdater

public class GlassfishUpdater
extends Object

This updater supports GFv1, v2, and v3.

Author:
edburns

Field Summary
protected static File libDir
           
protected static File modulesDir
           
protected static boolean printUsageCalled
           
protected static com.sun.faces.tools.GlassfishUpdater.Version version
           
 
Constructor Summary
protected GlassfishUpdater()
          Creates a new instance of GlassfishUpdater
 
Method Summary
protected static String getBackupFilename(File libDir, String filename)
           
static boolean javaEEJarHasJsfClasses(File libDir)
           
static boolean licenseAccepted()
           
static void main(String[] args)
           
static void printUsage()
           
static void stripJsfFromJavaEEJar(File libDir)
           
static void unpackJsfJarsToLib(File libDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

libDir

protected static File libDir

modulesDir

protected static File modulesDir

version

protected static com.sun.faces.tools.GlassfishUpdater.Version version

printUsageCalled

protected static boolean printUsageCalled
Constructor Detail

GlassfishUpdater

protected GlassfishUpdater()
Creates a new instance of GlassfishUpdater

Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

licenseAccepted

public static boolean licenseAccepted()
                               throws IOException
Throws:
IOException

printUsage

public static void printUsage()

stripJsfFromJavaEEJar

public static void stripJsfFromJavaEEJar(File libDir)
                                  throws IOException
Throws:
IOException

javaEEJarHasJsfClasses

public static boolean javaEEJarHasJsfClasses(File libDir)
                                      throws IOException
Throws:
IOException

unpackJsfJarsToLib

public static void unpackJsfJarsToLib(File libDir)
                               throws IOException
Throws:
IOException

getBackupFilename

protected static String getBackupFilename(File libDir,
                                          String filename)

Mojarra JSF Tools 2.1.28.SP9

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.