bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/AbstractBWMojo.java
private void copyDesignTimeLibs() throws IOException {
		File designTimeLibs = new File(buildSrcDirectory + "/" + DTL_FILE_NAME);
		getLog().debug(DTL_FILE_NAME + " : " + buildSrcDirectory + "/" + DTL_FILE_NAME);
		
		if (!designTimeLibs.exists()) {
			if (buildSrcDirectory.exists()) {
				designTimeLibs.createNewFile();
			} else {
				return;
			}
		}

		FileWriter file = null;
		BufferedWriter buffer = null;
		PrintWriter designTimeLibsOut = null;
		try {
			file = new FileWriter(designTimeLibs, false);
			buffer = new BufferedWriter(file);
			designTimeLibsOut = new PrintWriter(buffer);
			
			int i = getProjlibsDependencies().size();
			if (!hideLibraryResources) {
				for (Dependency dependency : getProjlibsDependencies()) {
					//String projlibName = getProjlibName(dependency);
					String projlibAlias = getProjlibAlias(dependency);
					designTimeLibsOut.println((--i) + "=" + projlibAlias + "\\=");
				}
			}
		} finally {
			designTimeLibsOut.close();
			buffer.close();
			file.close();
		}
	}
private void copyDesignTimeLibs() throws IOException {
		File designTimeLibs = new File(buildSrcDirectory + "/" + DTL_FILE_NAME);
		getLog().debug(DTL_FILE_NAME + " : " + buildSrcDirectory + "/" + DTL_FILE_NAME);
		
		if (!designTimeLibs.exists()) {
			if (buildSrcDirectory.exists()) {
				designTimeLibs.createNewFile();
			} else {
				return;
			}
		}

		FileWriter file = null;
		BufferedWriter buffer = null;
		PrintWriter designTimeLibsOut = null;
		try {
			file = new FileWriter(designTimeLibs, false);
			buffer = new BufferedWriter(file);
			designTimeLibsOut = new PrintWriter(buffer);
			
			int i = getProjlibsDependencies().size();
			if (!hideLibraryResources) {
				for (Dependency dependency : getProjlibsDependencies()) {
					//String projlibName = getProjlibName(dependency);
					String projlibAlias = getProjlibAlias(dependency);
					designTimeLibsOut.println((--i) + "=" + projlibAlias + "\\=");
				}
			}
		} finally {
			designTimeLibsOut.close();
			buffer.close();
			file.close();
		}
	}
private void copyDesignTimeLibs ( ) throws IOException { File designTimeLibs = new File ( buildSrcDirectory + "/" + DTL_FILE_NAME ) ; getLog ( ) . debug ( DTL_FILE_NAME + " : " + buildSrcDirectory + "/" + DTL_FILE_NAME ) ; if ( ! designTimeLibs . exists ( ) ) { if ( buildSrcDirectory . exists ( ) ) { designTimeLibs . createNewFile ( ) ; } else { return ; } } FileWriter file = null ; BufferedWriter buffer = null ; PrintWriter designTimeLibsOut = null ; try { file = new FileWriter ( designTimeLibs , false ) ; buffer = new BufferedWriter ( file ) ; designTimeLibsOut = new PrintWriter ( buffer ) ; int i = getProjlibsDependencies ( ) . size ( ) ; if ( ! hideLibraryResources ) { for ( Dependency dependency : getProjlibsDependencies ( ) ) { //String projlibName = getProjlibName(dependency); String projlibAlias = getProjlibAlias ( dependency ) ; designTimeLibsOut . println ( ( -- i ) + "=" + projlibAlias + "\\=" ) ; } } } finally { designTimeLibsOut . close ( ) ; buffer . close ( ) ; file . close ( ) ; } }
This will create the '.designtimelibs' file in {@link buildSrcDirectory}
which is basically the path to the temporary BusinessWorks project being
built.

The content of the '.designtimelibs' will be the Projlib dependencies of
the project, defined in the POM project and resolved with classic Maven
mechanism.

@throws IOException
This will create the . designtimelibs file in { @link buildSrcDirectory } which is basically the path to the temporary BusinessWorks project being built .