The Java client has not been updated for SMART 0.6 (works only with
SMART 0.5). Updating it to SMART 0.6 would involve for the most part
updating the OAuth authentication sequence to the full three-legged
handshake required by SMART 0.6.
D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin>ant -lib ../lib-codegen -lib ../lib -f build-with-ivy.xml -Djust_for_challenge="all" -Dsmart_owl_path=smart.owl -Dontology_location="http://sandbox-api.smartplatforms.org/ontology"
Buildfile: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\build-with-ivy.xml
make_build_dir:
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\lib-codegen
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\lib-codegen
[mkdir] Created dir: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\build\classes
-retrieve-for-codegen:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\smart-ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: org.smartplatforms#client_java;working@dev-chandan
[ivy:retrieve] confs: [codegen]
[ivy:retrieve] found org.apache.velocity#velocity;1.5 in ibiblio
[ivy:retrieve] found oro#oro;2.0.8 in ibiblio
[ivy:retrieve] found javax.servlet#servlet-api;2.5 in ibiblio
[ivy:retrieve] found javax#javaee-web-api;6.0 in java
[ivy:retrieve] found oauth.signpost#signpost-commonshttp4;1.2.1.1 in ibiblio
[ivy:retrieve] found oauth.signpost#signpost-core;1.2.1.1 in ibiblio
[ivy:retrieve] found commons-codec#commons-codec;1.3 in ibiblio
[ivy:retrieve] found org.apache.httpcomponents#httpcore;4.0.1 in ibiblio
[ivy:retrieve] found org.apache.httpcomponents#httpclient;4.0.1 in ibiblio
[ivy:retrieve] found commons-logging#commons-logging;1.1.1 in ibiblio
[ivy:retrieve] found org.slf4j#slf4j-jcl;1.6.1 in ibiblio
[ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in ibiblio
[ivy:retrieve] found commons-lang#commons-lang;2.5 in ibiblio
[ivy:retrieve] found commons-beanutils#commons-beanutils;1.8.3 in ibiblio
[ivy:retrieve] found commons-collections#commons-collections;3.2.1 in ibiblio
[ivy:retrieve] found net.sf.ezmorph#ezmorph;1.0.6 in ibiblio
[ivy:retrieve] :: resolution report :: resolve 950ms :: artifacts dl 31ms
[ivy:retrieve] :: evicted modules:
[ivy:retrieve] commons-collections#commons-collections;3.1 by [commons-collections#commons-collections;3.2.1] in [codegen]
[ivy:retrieve] commons-lang#commons-lang;2.1 by [commons-lang#commons-lang;2.5] in [codegen]
[ivy:retrieve] commons-lang#commons-lang;2.3 by [commons-lang#commons-lang;2.5] in [codegen]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| codegen | 19 | 0 | 0 | 3 || 16 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.smartplatforms#client_java
[ivy:retrieve] confs: [codegen]
[ivy:retrieve] 16 artifacts copied, 0 already retrieved (3243kB/107ms)
copy_ontology:
fetch_ontology:
[echo] Loading ontology from: http://sandbox-api.smartplatforms.org/ontology
build-codegen:
[javac] D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\build-with-ivy.xml:51: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\build\classes
-check-smart-owl-presence:
-check-delete-SmartClient-0:
-check-delete-SmartClient-1:
run-codegen:
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin
[java] Starting client generation
[java] 20/05/2014 6:15:43 PM org.apache.velocity.runtime.log.JdkLogChute log
[java] INFO: FileResourceLoader : adding path '.'
[java] challenge version: false
[java] 20/05/2014 6:15:44 PM org.apache.velocity.runtime.log.JdkLogChute log
[java] INFO: Null reference [template 'generatedSource.vsl', line 13, column 30] : $javadocTable.get($tokenUnbracked) cannot be resolved.
[java] 20/05/2014 6:15:44 PM org.apache.velocity.runtime.log.JdkLogChute log
[java] INFO: Null reference [template 'generatedSource.vsl', line 13, column 30] : $javadocTable.get($tokenUnbracked) cannot be resolved.
[java] 20/05/2014 6:15:44 PM org.apache.velocity.runtime.log.JdkLogChute log
[java] INFO: Null reference [template 'generatedSource.vsl', line 13, column 30] : $javadocTable.get($tokenUnbracked) cannot be resolved.
[java] 20/05/2014 6:15:44 PM org.apache.velocity.runtime.log.JdkLogChute log
[java] INFO: Null reference [template 'generatedSource.vsl', line 13, column 30] : $javadocTable.get($tokenUnbracked) cannot be resolved.
[java] Finished client generation
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client
compile:
[ivy:retrieve] :: resolving dependencies :: org.smartplatforms#client_java;working@dev-chandan
[ivy:retrieve] confs: [run]
[ivy:retrieve] found oauth.signpost#signpost-commonshttp4;1.2.1.1 in ibiblio
[ivy:retrieve] found oauth.signpost#signpost-core;1.2.1.1 in ibiblio
[ivy:retrieve] found commons-codec#commons-codec;1.3 in ibiblio
[ivy:retrieve] found org.apache.httpcomponents#httpcore;4.0.1 in ibiblio
[ivy:retrieve] found org.apache.httpcomponents#httpclient;4.0.1 in ibiblio
[ivy:retrieve] found commons-logging#commons-logging;1.1.1 in ibiblio
[ivy:retrieve] found org.slf4j#slf4j-jcl;1.6.1 in ibiblio
[ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in ibiblio
[ivy:retrieve] found commons-lang#commons-lang;2.5 in ibiblio
[ivy:retrieve] found commons-beanutils#commons-beanutils;1.8.3 in ibiblio
[ivy:retrieve] found commons-collections#commons-collections;3.2.1 in ibiblio
[ivy:retrieve] found net.sf.ezmorph#ezmorph;1.0.6 in ibiblio
[ivy:retrieve] :: resolution report :: resolve 290ms :: artifacts dl 16ms
[ivy:retrieve] :: evicted modules:
[ivy:retrieve] commons-lang#commons-lang;2.3 by [commons-lang#commons-lang;2.5] in [run]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| run | 13 | 0 | 0 | 1 || 12 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.smartplatforms#client_java
[ivy:retrieve] confs: [run]
[ivy:retrieve] 12 artifacts copied, 0 already retrieved (1785kB/56ms)
[javac] D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\build-with-ivy.xml:106: warning: 'includeantruntime' was not set, defaulting t
o build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 10 source files to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\build\classes
-javadoc-test:
javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Creating destination directory: "D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\javadoc\"
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\DefaultResponseTypeConversion.ja
va...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\ResponseTypeConversion.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\SmartClient.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\SmartClientException.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\SmartClientExceptionHttp404.java
...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\SmartOAuthParser.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\SmartResponse.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\TokenSecret.java...
[javadoc] Loading source file D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\src\org\smartplatforms\client\Utils.java...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.6.0_33
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Patched 1 link injection vulnerable javadocs
build:
[jar] Building jar: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\build\SmartClient.jar
build-test:
[mkdir] Created dir: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF\lib
[mkdir] Created dir: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF\classes
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF\classes
[copy] Copying 15 files to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF\lib
[copy] Copying 1 file to D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\bin\WEB-INF\classes
[jar] Building jar: D:\work\src\keplerworkspace\hlksmartbridge\smart_client_java\build\smartapp.war
BUILD SUCCESSFUL
Total time: 13 seconds