com.sun.faces.tools
Class GlassfishUpdater
java.lang.Object
com.sun.faces.tools.GlassfishUpdater
public class GlassfishUpdater
- extends Object
This updater supports GFv1, v2, and v3.
- Author:
- edburns
Constructor Summary |
protected |
GlassfishUpdater()
Creates a new instance of GlassfishUpdater |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
GlassfishUpdater
protected GlassfishUpdater()
- Creates a new instance of GlassfishUpdater
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)
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.