3rdparty/nuxeo/nuxeo-platform-listener/.project
+services/article/service/.project
+services/article/service/.settings/
+3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/.classpath
+3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/.project
+3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/.settings/
+3rdparty/nuxeo/nuxeo-platform-listener/updaterelationsondelete/.classpath
+3rdparty/nuxeo/nuxeo-platform-listener/updaterelationsondelete/.project
+3rdparty/nuxeo/nuxeo-platform-listener/updaterelationsondelete/.settings/
+services/article/.project
+services/article/.settings/
+services/article/3rdparty/.project
+services/article/3rdparty/.settings/
+services/article/3rdparty/nuxeo-platform-cs-article/.classpath
+services/article/3rdparty/nuxeo-platform-cs-article/.project
+services/article/3rdparty/nuxeo-platform-cs-article/.settings/
+services/article/client/.classpath
+services/article/client/.project
+services/article/client/.settings/
+services/article/client/src/test/resources/
+services/article/jaxb/.classpath
+services/article/jaxb/.project
+services/article/jaxb/.settings/
+services/article/service/.classpath
+services/article/service/.project3rdparty/nuxeo/nuxeo-platform-listener/.project
3rdparty/nuxeo/nuxeo-platform-listener/.settings/
services/JaxRsServiceProvider/.settings/.jsdtscope
*org.eclipse.wst*
+ "\n" + "UTF-8 data received="
+ updatedArticleCommon.getArticleJobId());
}
- Assert.assertTrue(
- updatedArticleCommon.getArticleJobId().contains(
+ Assert.assertTrue(updatedArticleCommon.getArticleSource().contains(
getUTF8DataFragment()), "UTF-8 data retrieved '"
- + updatedArticleCommon.getArticleJobId()
+ + updatedArticleCommon.getArticleSource()
+ "' does not contain expected data '"
+ getUTF8DataFragment());
Assert.assertEquals(updatedArticleCommon.getArticleJobId(),
ArticlesCommon articlesCommon = new ArticlesCommon();
articlesCommon.setArticleNumber(articleNumber);
articlesCommon.setArticleJobId(articleJobId);
+ articlesCommon.setArticleSource(getUTF8DataFragment());
+
PoxPayloadOut multipart = new PoxPayloadOut(
this.getServicePathComponent());
import java.io.File;\r
import java.io.FileInputStream;\r
import java.io.FileNotFoundException;\r
+import java.io.FileOutputStream;\r
+import java.io.IOException;\r
import java.io.InputStream;\r
import java.sql.Connection;\r
import java.sql.PreparedStatement;\r
serverRootDir +\r
"\" instead.");\r
}\r
+ \r
+ if (logger.isErrorEnabled() == true) {\r
+ System.out.println("+++ server root directory is: " + serverRootDir);\r
+ try {\r
+ FileOutputStream appLayerRootHello = new FileOutputStream(serverRootDir + "webapps\\collectionspace\\hello");\r
+ try {\r
+ appLayerRootHello.write("Hello?".getBytes());\r
+ } catch (IOException e) {\r
+ // TODO Auto-generated catch block\r
+ e.printStackTrace();\r
+ }\r
+ } catch (FileNotFoundException e) {\r
+ // TODO Auto-generated catch block\r
+ e.printStackTrace();\r
+ }\r
+ }\r
}\r
\r
\r