protected void mergeBuildBase_Directory( BuildBase target, BuildBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getDirectory(); if ( src != null ) { if ( sourceDominant || target.getDirectory() == null ) { target.setDirectory( src ); target.setLocation( "directory", source.getLocation( "directory" ) ); } } }
buildBase.setDirectory( interpolatedTrimmed( parser.nextText(), "directory" ) );
public static void cloneBuildBaseFields( BuildBase src, BuildBase result ) { result.setDefaultGoal( src.getDefaultGoal() ); result.setDirectory( src.getDirectory() ); result.setFilters( cloneListOfStrings( src.getFilters() ) ); result.setFinalName( src.getFinalName() ); result.setPluginManagement( clonePluginManagement( src.getPluginManagement() ) ); result.setPlugins( cloneList( src.getPlugins(), PLUGIN_CLONER ) ); result.setResources( cloneList( src.getResources(), RESOURCE_CLONER ) ); result.setTestResources( cloneList( src.getTestResources(), RESOURCE_CLONER ) ); }
buildBase.setDirectory( interpolatedTrimmed( parser.nextText(), "directory" ) );
public BuildBaseBuilder directory(String directory) { if (directory != null) { getBuild().setDirectory(directory); } return this; }
buildBase.setDirectory( getTrimmedValue( value ) );
private void redirectOutputDirectories() { // Explicitely set the output directory to be the Clover one so that all other plugins executing // thereafter output files in the Clover output directory and not in the main output directory. getProject().getBuild().setDirectory( this.cloverOutputDirectory ); // TODO: Ugly hack below. Changing the directory should be enough for changing the values of all other // properties depending on it! getProject().getBuild().setOutputDirectory( new File( this.cloverOutputDirectory, "classes" ).getPath() ); // TODO: This is a hack. Remove this when http://jira.codehaus.org/browse/MINSTALL-18 is fixed. new File( getProject().getBuild().getOutputDirectory() ).mkdirs(); getProject().getBuild().setTestOutputDirectory( new File( this.cloverOutputDirectory, "test-classes" ).getPath() ); }
protected void mergeBuildBase_Directory( BuildBase target, BuildBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getDirectory(); if ( src != null ) { if ( sourceDominant || target.getDirectory() == null ) { target.setDirectory( src ); target.setLocation( "directory", source.getLocation( "directory" ) ); } } }
buildBase.setDirectory( getTrimmedValue( parser.nextText() ) );
buildBase.setDirectory( getTrimmedValue( parser.nextText() ) );