mirror of
https://github.com/rife2/bld
synced 2025-12-20 16:48:38 +01:00
31 lines
805 B
Java
31 lines
805 B
Java
/*
|
|
* Copyright 2001-2023 Geert Bevin (gbevin[remove] at uwyn dot com)
|
|
* Licensed under the Apache License, Version 2.0 (the "License")
|
|
*/
|
|
package rife.bld.operations;
|
|
|
|
import rife.bld.Project;
|
|
import rife.bld.blueprints.LibProjectBlueprint;
|
|
|
|
import java.io.File;
|
|
|
|
/**
|
|
* Creates a new lib project structure.
|
|
*
|
|
* @author Geert Bevin (gbevin[remove] at uwyn dot com)
|
|
* @since 1.6
|
|
*/
|
|
public class CreateLibOperation extends AbstractCreateOperation<CreateLibOperation, Project> {
|
|
public CreateLibOperation() {
|
|
super("bld.lib.");
|
|
}
|
|
|
|
protected Project createProjectBlueprint() {
|
|
return new LibProjectBlueprint(new File(workDirectory(), projectName()), packageName(), projectName(), baseName());
|
|
}
|
|
|
|
protected boolean createIdeaRunMain() {
|
|
return false;
|
|
}
|
|
}
|