summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-scaclient/pom.xml1
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java4
-rw-r--r--sca-java-2.x/trunk/samples/helloworld/src/main/java/sample/HelloworldImpl.java1
3 files changed, 4 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld-scaclient/pom.xml b/sca-java-2.x/trunk/samples/helloworld-scaclient/pom.xml
index 9281fca91d..18d2fc1de9 100644
--- a/sca-java-2.x/trunk/samples/helloworld-scaclient/pom.xml
+++ b/sca-java-2.x/trunk/samples/helloworld-scaclient/pom.xml
@@ -67,6 +67,7 @@
<version>1.1.1</version>
<executions>
<execution>
+ <phase>compile</phase>
<goals>
<goal>java</goal>
</goals>
diff --git a/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java b/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java
index d73db91632..8160e09797 100644
--- a/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java
+++ b/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java
@@ -28,12 +28,12 @@ public class HelloworldSCAClient {
public static void main(String[] args) throws NoSuchDomainException, NoSuchServiceException {
- if (args.length != 3) {
+ if (args.length != 2) {
System.out.println("Missing args");
System.out.println("HelloworldSCAClient <domain URI> <name>");
System.exit(1);
}
- String domainURI = args[0];
+ String domainURI= args[0];
String name = args[1];
SCAClientFactory factory = SCAClientFactory.newInstance(URI.create(domainURI));
diff --git a/sca-java-2.x/trunk/samples/helloworld/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/trunk/samples/helloworld/src/main/java/sample/HelloworldImpl.java
index 089b1a4290..5bf6a94505 100644
--- a/sca-java-2.x/trunk/samples/helloworld/src/main/java/sample/HelloworldImpl.java
+++ b/sca-java-2.x/trunk/samples/helloworld/src/main/java/sample/HelloworldImpl.java
@@ -21,6 +21,7 @@ package sample;
public class HelloworldImpl implements Helloworld {
public String sayHello(String name) {
+ System.out.println("HelloworldImpl.sayHello " + name);
return "Hello " + name;
}