[jira] [Commented] (MARMOTTA-484) Javadoc for SesameMatchers missing

2014-06-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MARMOTTA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14026268#comment-14026268
 ] 

ASF subversion and git services commented on MARMOTTA-484:
--

Commit 1a4c3038b7dd28d663fbad0e50d9c47d00e5dc6d in marmotta's branch 
refs/heads/develop from [~jakob]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=1a4c303 ]

MARMOTTA-484: added some javadoc


 Javadoc for SesameMatchers missing
 --

 Key: MARMOTTA-484
 URL: https://issues.apache.org/jira/browse/MARMOTTA-484
 Project: Marmotta
  Issue Type: Test
  Components: Sesame Tools
Affects Versions: 3.2.0
Reporter: Sebastian Schaffert
Assignee: Jakob Frank
  Labels: docuentation
 Fix For: 3.3.0


 The Sesame Matchers are completely undocumented. To be useful, it is 
 necessary to at least have Javadoc to see how they can be used.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (MARMOTTA-484) Javadoc for SesameMatchers missing

2014-06-10 Thread Jakob Frank (JIRA)

 [ 
https://issues.apache.org/jira/browse/MARMOTTA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Frank resolved MARMOTTA-484.
--

Resolution: Done

javadoc'ed

 Javadoc for SesameMatchers missing
 --

 Key: MARMOTTA-484
 URL: https://issues.apache.org/jira/browse/MARMOTTA-484
 Project: Marmotta
  Issue Type: Test
  Components: Sesame Tools
Affects Versions: 3.2.0
Reporter: Sebastian Schaffert
Assignee: Jakob Frank
  Labels: docuentation
 Fix For: 3.3.0


 The Sesame Matchers are completely undocumented. To be useful, it is 
 necessary to at least have Javadoc to see how they can be used.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (MARMOTTA-486) Update Apache Parent-Pom

2014-06-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MARMOTTA-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14026273#comment-14026273
 ] 

ASF subversion and git services commented on MARMOTTA-486:
--

Commit 1601584 from [~jakob] in branch 'site/trunk'
[ https://svn.apache.org/r1601584 ]

MARMOTTA-486: updated maven-site plugin doxia-module-markdown to new version 
(1.5)

 Update Apache Parent-Pom
 

 Key: MARMOTTA-486
 URL: https://issues.apache.org/jira/browse/MARMOTTA-486
 Project: Marmotta
  Issue Type: Task
  Components: Build Environment
Affects Versions: 3.2.0
Reporter: Jakob Frank
Assignee: Jakob Frank
Priority: Minor
 Fix For: 3.3.0


 A new version of the Apache Parent POM is available: 14, we should update.
 While doing this, we should also check for updates of the common plugins 
 we're using... 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


buildbot success in ASF Buildbot on marmotta-site-staging

2014-06-10 Thread buildbot
The Buildbot has detected a restored build on builder marmotta-site-staging 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/marmotta-site-staging/builds/13

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: scheduler
Build Source Stamp: [branch marmotta/site] 1601591
Blamelist: jakob

Build succeeded!

sincerely,
 -The Buildbot





Re: [GSoC] dev period

2014-06-10 Thread Qihong Lin
Dear Sergio,

I just figured out the reason of the problem 1). The bean.xml was not
copied into the building output folder, although was in the source
folder. I fixed it in eclipse. Everything works well now.

Could you please just help me with the problem 2)? Thanks a lot!

Yours,
Qihong Lin

On Tue, Jun 3, 2014 at 8:46 PM, Qihong Lin confidence@gmail.com wrote:
 Dear Sergio,

 I try to fix the problems you commented. The code have been just committed 
 [1].

 But there're some further issues to discuss:

 1) EmbeddedMarmotta
 I change the test case [2] to use EmbeddedMarmotta. The bean.xml file
 is added at src\test\resources\META-INF. But it throws
 DeploymentException: WELD-001408 (see Apendix (1): stack trace for
 running LdpServiceSPARQLImplTest). In addition , EmbeddedMarmottaTest
 in marmotta-core also throws UnsatisfiedResolutionException:
 WELD-001308 at my side (Eclipse+egit+m2e, see Appendix (2) ). Does
 EmbeddedMarmotta itself have some problems? Or am I wrong for any
 configuration mistakes of weld CDI? Finally, I have to restore the
 code to the ugly new LdpServiceSPARQLImpl() approach for testing.

 2) RDF resource VS. LDP-RS
 I read the W3C LDP documentation[3]. There're some rules for LDP-RS.
 But it seems that most of the rules are out of the scopes of my SPARQL
 implementation work. For example, the rules like HTTP Link header
 and HTTP Request-URI for LDP-RS are not concerned in the level of my
 work. Is that correct?
 I try to make the equivalent method for LdpServiceImpl.exists(), which
 has only one sentence:
 return connection.hasStatement(resource, null, null, true, ldpContext);
 It uses ldpContext pointing to http://www.w3.org/ns/ldp#;, which is
 a graph name in the triplestore. Does it mean all of the LDP-RSs must
 be in the graph of http://www.w3.org/ns/ldp#;? I don't see this
 request in the W3C LDP documentation[3]. What's your opinion?
 It uses true for the 4th parameter of connection.hasStatement()
 method, which includes inferred ones during querying. But I see this
 in the W3C LDP documenation [3]:
 4.3.1.10 LDP servers must not require LDP clients to implement
 inferencing in order to recognize the subset of content defined by LDP
 ... The practical implication is that all content defined by LDP must
 be explicitly represented, unless noted otherwise within this
 document.
 Therefore, shall we change it to false to avoid inferred triples?
 Further more, should I care about SPARQL Entailment Regimes [4]? No?

 Best regards,
 Qihong Lin


 [1] 
 https://github.com/confidencesun/marmotta/commit/d8e8048931de8a5f92c90ebf6a728822a2d3ed74
 [2] 
 https://github.com/confidencesun/marmotta/blob/d8e8048931de8a5f92c90ebf6a728822a2d3ed74/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpServiceSPARQLImplTest.java
 [3] http://www.w3.org/TR/ldp/#ldprs
 [4] http://www.w3.org/TR/sparql11-entailment/

 Appendix (1): stack trace for running LdpServiceSPARQLImplTest
 org.jboss.weld.exceptions.DeploymentException: Exception List with 4 
 exceptions:
 Exception 0 :
 org.jboss.weld.exceptions.DeploymentException: WELD-001408:
 Unsatisfied dependencies for type ConfigurationService with qualifiers
 @Default
   at injection point [BackedAnnotatedField] @Inject protected
 org.apache.marmotta.platform.core.logging.BaseLoggingModule.configurationService
   at 
 org.apache.marmotta.platform.core.logging.BaseLoggingModule.configurationService(BaseLoggingModule.java:0)

 at 
 org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)
 at 
 org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)
 at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)
 at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)
 at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)
 at 
 org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
 at 
 org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)
 at 
 org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
 at 
 org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:722)
 Exception 0 :
 org.jboss.weld.exceptions.DeploymentException: WELD-001408:
 Unsatisfied dependencies for type ConfigurationService with qualifiers
 @Default
   at injection point [BackedAnnotatedField] @Inject private
 org.apache.marmotta.platform.ldp.services.LdpServiceImpl.configurationService
   at 
 

Re: [GSoC] dev period

2014-06-10 Thread Sergio Fernández

Dear Qihong Lin,

apologize for the late reply.

On 10/06/14 13:38, Qihong Lin wrote:

Dear Sergio,

I just figured out the reason of the problem 1). The bean.xml was not
copied into the building output folder, although was in the source
folder. I fixed it in eclipse. Everything works well now.


Great, so the issue was actually in your IDE. Please, verify it does not 
appear on a regular build environment (raw maven).



Could you please just help me with the problem 2)? Thanks a lot!


Remember that the scope of your project is restricted to the internals 
of Marmotta. All related with HTTP (headers and so on) are handled by 
the web service, where any of the two service implementations can be 
plug-in.


For the second part of your question, that's an internal decision of 
Marmotta. The storage layer is out of the scope of the LDP spec. More 
precisely, LDP Marmotta storage is implemented by:


* Using http://www.w3.org/ns/ldp# as management context, where store 
some management data

* Internally every LDP-R will be stored in its own context

Further details about our implementation restrictions are available from 
the wiki:


http://wiki.apache.org/marmotta/LDPImplementationReport#Implementation_Restrictions

Thanks for binging here that questions. Finding out those details means 
that you are in the right path for developing your project.


Cheers,


--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co