if ( context.getWebappStructure().registerFile( currentProjectOverlay.getId(), targetFilename ) )
{
final File libDirectory = new File( context.getWebappDirectory(), LIB_PATH );
final File jarFile = new File( libDirectory, archiveName );
final ClassesPackager packager = new ClassesPackager();
packager.packageClasses( context.getClassesDirectory(), jarFile, context.getJarArchiver(),
context.getSession(), project, context.getArchive() );
}
else
{
context.getLog().warn( "Could not generate archive classes file [" + targetFilename