Assert.assertNotNull(main_html);
Assert.assertNotNull(main_s3d);
//add builder to project
ICommand command = desc.newCommand();
command.setBuilderName(XVRBuilder.BUILDER_ID);
//Here we have to create builder command arguments(compiler and include locations)
Map<String, String> args = new HashMap<String, String>();
args.put(ARG_COMPILER_KEY, ARG_COMPILER_VAL);
args.put(ARG_INCLUDE_KEY, ARG_INCLUDE_VAL);
args.put(ARG_MAIN_KEY, main_s3d);
args.put(ARG_MAIN_HTML_KEY, main_html);
args.put(ARG_GLUT, ARG_GLUT_VAL);
args.put(ARG_FS, ARG_FS_VAL);
args.put(ARG_PARAM_FILE_KEY, ARG_PARAM_FILE_VAL);
args.put(ARG_GLUT_PARAM_KEY, ARG_GLUT_PARAM_VAL);
args.put(ARG_GLUT_PARAM_ACTIVE_KEY, ARG_GLUT_PARAM_ACTIVE_VAL);
args.put(ARG_INCLUDE_DIRS_PARAM_KEY, ARG_INCLUDE_DIRS_PARAM_VAL);
command.setArguments(args);
desc.setBuildSpec(new ICommand[]{command});
try {
newProject.create(desc, new NullProgressMonitor());
if (!newProject.isOpen())
newProject.open(new NullProgressMonitor());