Navigation Menu

Skip to content

Commit

Permalink
Removed parameter createPackageDirectories for clarity, and because w…
Browse files Browse the repository at this point in the history
…e currently have no known use case for setting it to "false".
  • Loading branch information
hugojosefson committed Jul 5, 2009
1 parent 08547b2 commit d05ffbf
Showing 1 changed file with 1 addition and 9 deletions.
Expand Up @@ -45,12 +45,6 @@
*/
public class GenerateSourcesMojo extends AbstractAndroidMojo {

/**
* Make package directories in the directory where files are copied to.
* @parameter default-value=true
*/
private boolean createPackageDirectories;

/**
* <p>Whether to delete any <code>R.java</code> file, and <code>.java</code> files with the same name as
* <code>.aidl</code> files, found in the source directory.</p>
Expand Down Expand Up @@ -134,9 +128,7 @@ private void generateR() throws MojoExecutionException {

List<String> commands = new ArrayList<String>();
commands.add("package");
if (createPackageDirectories) {
commands.add("-m");
}
commands.add("-m");
commands.add("-J" );
commands.add(generatedSourcesRDirectoryName );
commands.add("-M" );
Expand Down

0 comments on commit d05ffbf

Please sign in to comment.