public void run()
{
for (int i= start; i <= end; ++i)
{
XmlvmResource resource= allResources[i];
if (resource == null)
{
continue;
}
Log.debug("JavaScriptOutputProcess: Processing " + resource.getName());
OutputFile file= generateJavaScript(resource);
file.setLocation(arguments.option_out());
String packageName= resource.getPackageName().replace('.', '_');
String resourceName= resource.getName();
Log.debug("RESOURCE NAME: " + resourceName);
String fileName= resourceName + JS_EXTENSION;
if (!packageName.isEmpty())
{