mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 08:17:11 -07:00
Minor cleanup
This commit is contained in:
parent
ec683311b8
commit
5fa1f42f31
3 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
public void execute()
|
public void execute()
|
||||||
throws FileUtilsErrorException, IOException {
|
throws IOException {
|
||||||
if (packageName() == null || projectName() == null) {
|
if (packageName() == null || projectName() == null) {
|
||||||
System.err.println("ERROR: Missing package or project name.");
|
System.err.println("ERROR: Missing package or project name.");
|
||||||
return;
|
return;
|
||||||
|
@ -179,7 +179,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
protected void executePopulateProjectStructure()
|
protected void executePopulateProjectStructure()
|
||||||
throws FileUtilsErrorException, IOException {
|
throws IOException {
|
||||||
// project gitignore
|
// project gitignore
|
||||||
FileUtils.writeString(
|
FileUtils.writeString(
|
||||||
TemplateFactory.TXT.get(templateBase_ + "project_gitignore").getContent(),
|
TemplateFactory.TXT.get(templateBase_ + "project_gitignore").getContent(),
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class CreateRife2Operation extends AbstractCreateOperation<CreateRife2Ope
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void executePopulateProjectStructure()
|
protected void executePopulateProjectStructure()
|
||||||
throws FileUtilsErrorException, IOException {
|
throws IOException {
|
||||||
super.executePopulateProjectStructure();
|
super.executePopulateProjectStructure();
|
||||||
|
|
||||||
// project site uber
|
// project site uber
|
||||||
|
|
|
@ -367,7 +367,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected void executeTransferArtifact(Repository repository, File file, String path)
|
protected void executeTransferArtifact(Repository repository, File file, String path)
|
||||||
throws FileUtilsErrorException, IOException {
|
throws IOException {
|
||||||
if (repository.isLocal()) {
|
if (repository.isLocal()) {
|
||||||
executeStoreArtifact(repository, file, path);
|
executeStoreArtifact(repository, file, path);
|
||||||
} else {
|
} else {
|
||||||
|
@ -384,7 +384,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected void executeTransferArtifact(Repository repository, String content, String path)
|
protected void executeTransferArtifact(Repository repository, String content, String path)
|
||||||
throws FileUtilsErrorException, IOException {
|
throws IOException {
|
||||||
if (repository.isLocal()) {
|
if (repository.isLocal()) {
|
||||||
executeStoreArtifact(repository, content, path);
|
executeStoreArtifact(repository, content, path);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue