minor
authorEugene Petrenko <eugene.petrenko@gmail.com>
Thu, 21 Jul 2011 12:06:34 +0000 (16:06 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Thu, 21 Jul 2011 12:06:34 +0000 (16:06 +0400)
nuget-agent/src/jetbrains/buildServer/nuget/agent/publish/PublishCommandlineBuildServiceFactory.java
nuget-agent/src/jetbrains/buildServer/nuget/agent/publish/PublishService.java

index 68093413b2599f1b174ea3c015116a40790d48ce..4e631b7408b014f292c50bd3209e09f0fc947c0a 100644 (file)
@@ -33,7 +33,7 @@ public class PublishCommandlineBuildServiceFactory implements CommandLineBuildSe
   private static final Logger LOG = Logger.getInstance(PublishCommandlineBuildServiceFactory.class.getName());\r
   @NotNull\r
   public CommandLineBuildService createService() {\r
   private static final Logger LOG = Logger.getInstance(PublishCommandlineBuildServiceFactory.class.getName());\r
   @NotNull\r
   public CommandLineBuildService createService() {\r
-    return null;\r
+    return new PublishService();\r
   }\r
 \r
   @NotNull\r
   }\r
 \r
   @NotNull\r
index 7231d0a903ae7d0af54dfb4d6dead33a72754f17..cea1d7af2584fc76d79d6e111698a0ce4a7a9738 100644 (file)
@@ -29,6 +29,6 @@ public class PublishService extends BuildServiceAdapter {
   @NotNull\r
   @Override\r
   public ProgramCommandLine makeProgramCommandLine() throws RunBuildException {\r
   @NotNull\r
   @Override\r
   public ProgramCommandLine makeProgramCommandLine() throws RunBuildException {\r
-    return null;\r
+    throw new RunBuildException("Not implemented");\r
   }\r
 }\r
   }\r
 }\r