# Class: com.pnfsoftware.jeb.core.EnginesContextUtil

Utility routines for [JEB Engines context](IEnginesContext).

## Constructor: EnginesContextUtil


## Static Method: createNewProjectFromFile
- parameter: `engctx`, type: `com.pnfsoftware.jeb.core.IEnginesContext`
- parameter: `file`, type: `java.io.File`
- return type: `com.pnfsoftware.jeb.core.IRuntimeProject`

Description: Process a file in a newly\-created JEB project.
parameter: engctx: JEB engines context
parameter: file: the artifact file to be processed
return: the created project, containing a single file artifact, and units and sub\-units         resulting form the initial processing
throws: 

## Static Method: getMainProject
- parameter: `engctx`, type: `com.pnfsoftware.jeb.core.IEnginesContext`
- return type: `com.pnfsoftware.jeb.core.IRuntimeProject`

Description: Retrieve the main project.
parameter: engctx: JEB engines context
return: the main project, null if no project is opene

