private void buildProjlib(File outputFile) throws MojoExecutionException, IOException {
		checkDesignerBuildLibrary();
		assert(outputFile != null);

		ArrayList<String> arguments = new ArrayList<String>();		
		arguments.add("-lib"); // path of the libbuilder relative to the BW project path
		arguments.add(libBuilder);
		arguments.add("-p"); // BW project path
		arguments.add(buildSrcDirectory.getAbsolutePath());
		arguments.add("-o"); // output file
		arguments.add(outputFile.getAbsolutePath());
		arguments.add("-x"); // overwrite the output
		if (!hideLibraryResources) {
			arguments.add("-v"); // validate the project
		}

		getLog().info(BUILDING_PROJLIB);

		ArrayList<File> tras = new ArrayList<File>();
		tras.add(tibcoBuildLibraryTRAPath);
		if (tibcoBuildLibraryUseDesignerTRA) {
			tras.add(tibcoDesignerTRAPath);
		}
		launchTIBCOBinary(tibcoBuildLibraryPath, tras, arguments, directory, BUILD_PROJLIB_FAILED);
	}
private void buildProjlib(File outputFile) throws MojoExecutionException, IOException {
		checkDesignerBuildLibrary();
		assert(outputFile != null);

		ArrayList<String> arguments = new ArrayList<String>();		
		arguments.add("-lib"); 
		arguments.add(libBuilder);
		arguments.add("-p"); 
		arguments.add(buildSrcDirectory.getAbsolutePath());
		arguments.add("-o"); 
		arguments.add(outputFile.getAbsolutePath());
		arguments.add("-x"); 
		if (!hideLibraryResources) {
			arguments.add("-v"); 
		}

		getLog().info(BUILDING_PROJLIB);

		ArrayList<File> tras = new ArrayList<File>();
		tras.add(tibcoBuildLibraryTRAPath);
		if (tibcoBuildLibraryUseDesignerTRA) {
			tras.add(tibcoDesignerTRAPath);
		}
		launchTIBCOBinary(tibcoBuildLibraryPath, tras, arguments, directory, BUILD_PROJLIB_FAILED);
	}
private void buildProjlib ( File outputFile ) throws MojoExecutionException , IOException { checkDesignerBuildLibrary ( ) ; assert ( outputFile != null ) ; ArrayList < String > arguments = new ArrayList < String > ( ) ; arguments . add ( "-lib" ) ; // path of the libbuilder relative to the BW project path arguments . add ( libBuilder ) ; arguments . add ( "-p" ) ; // BW project path arguments . add ( buildSrcDirectory . getAbsolutePath ( ) ) ; arguments . add ( "-o" ) ; // output file arguments . add ( outputFile . getAbsolutePath ( ) ) ; arguments . add ( "-x" ) ; // overwrite the output if ( ! hideLibraryResources ) { arguments . add ( "-v" ) ; // validate the project } getLog ( ) . info ( BUILDING_PROJLIB ) ; ArrayList < File > tras = new ArrayList < File > ( ) ; tras . add ( tibcoBuildLibraryTRAPath ) ; if ( tibcoBuildLibraryUseDesignerTRA ) { tras . add ( tibcoDesignerTRAPath ) ; } launchTIBCOBinary ( tibcoBuildLibraryPath , tras , arguments , directory , BUILD_PROJLIB_FAILED ) ; }
This calls the "buildlibrary" binary found in TIBCO Designer to build
a Projlib for the {@link AbstractBWMojo#project}, defined by the {@link CompileProjlibMojo#libBuilder}.

@param outputFile, the path where the Projlib output will be created
@throws MojoExecutionException
@throws IOException
This calls the buildlibrary binary found in TIBCO Designer to build a Projlib for the { @link AbstractBWMojo#project } defined by the { @link CompileProjlibMojo#libBuilder } .