Package com.benjholla.wbp.core
Class WarToJimple
- java.lang.Object
-
- com.benjholla.wbp.core.WarToJimple
-
public class WarToJimple extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WarToJimple()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatuscreateWarBinaryProject(java.lang.String projectName, org.eclipse.core.runtime.IPath projectPath, java.io.File warFile, org.eclipse.core.runtime.IProgressMonitor monitor)Creates an Eclipse project from WAR file General Overview: 1) Unpack the WAR file and dump contents in an empty Eclipse Java project 2) Add all the jar files found in the/WEB-INF directory to the classpath 3) Run ANT tasks to translate JSP pages to Class files and output to /WEB-INF/classes/* 4) JAR generated Class files into /WEB-INF/classes.jar 5) Convert classes.jar to Jimple and output to /WEB-INF/jimple/*
-
-
-
Method Detail
-
createWarBinaryProject
public static org.eclipse.core.runtime.IStatus createWarBinaryProject(java.lang.String projectName, org.eclipse.core.runtime.IPath projectPath, java.io.File warFile, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, java.io.IOException, com.benjholla.wbp.core.WarToJimple.SootConversionExceptionCreates an Eclipse project from WAR file General Overview: 1) Unpack the WAR file and dump contents in an empty Eclipse Java project 2) Add all the jar files found in the/WEB-INF directory to the classpath 3) Run ANT tasks to translate JSP pages to Class files and output to /WEB-INF/classes/* 4) JAR generated Class files into /WEB-INF/classes.jar 5) Convert classes.jar to Jimple and output to /WEB-INF/jimple/* - Throws:
org.eclipse.core.runtime.CoreExceptionjava.io.IOExceptioncom.benjholla.wbp.core.WarToJimple.SootConversionException
-
-