You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Alessandra Donnini <a....@etcware.it> on 2013/07/03 14:56:39 UTC

LDClient

Dear Marmotta
I would like to understand better LDClient.
I need to get data from a database to put them in triple store: I can write my LDClient?
Do you provide LDClient examples? I've seen that is possible to write client in java, php, and js.

Moreover I tried to get source and to build Marmotta 3.0 using command line but it doesn't work. I receive the following error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:05.903s
[INFO] Finished at: Wed Jul 03 11:18:54 CEST 2013
[INFO] Final Memory: 67M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kiwi-transactions: Could not resolve dependencies for project org.apache.marmotta:kiwi-transactions:jar:3.1.0-incubating-SNAPSHOT: Could not find artifact org.apache.marmotta:kiwi-triplestore:jar:tests:3.1.0-incubating-SNAPSHOT in apache.releases (https://repository.apache.org/content/repositories/releases/) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :kiwi-transactions

I wrote to users mailing list, I don't know if these question are about using or developing around marmotta.
thanks and regards
Alessandra 







Re: LDClient

Posted by Jakob Frank <ja...@apache.org>.
Hi Alessandra,

jrebel can be used to replace code in a tomcat webapp during runtime,
which makes the development cycles a lot faster. You can request a
free license for open-source development on the jrebel website.

You can also deactivate the jrebel-plugin in your eclipse installation
and the pom.xml (see the pom.xml in marmotta-parent, line 164ff) -
eclipse should suggest you this as a quickfix.

Hope that helps,

best,
Jakob



On 4 July 2013 09:17, Alessandra Donnini <a....@etcware.it> wrote:
> Dear Sebastian
> I'm following your suggestion, but when I import projects in Eclipse I
> receive this error
>
> Plugin execution not covered by lifecycle configuration:
> org.zeroturnaround:jrebel-maven-plugin:1.1.3:generate (execution:
> generate-rebel-xml, phase: process-resources) pom.xml /ldclient-api line 21
> Maven Project Build Lifecycle Mapping Problem
>
> It seems that in my Eclipse JRebel for Eclipse
> is missing. I tried to install it but I need a license to go ahead. It works
> if I compile by command line, with
>
> mvn clean install -DskipTests=true
>
> as you suggested.
>
> Do you use an IDE to develop? What you are using? Sorry if I ask you this
> technical query but we would like to set up a development environment to try
> marmotta.
> thank you
> Alessandra
>
>
> Il giorno 03/lug/2013, alle ore 16:55, Sebastian Schaffert
> <se...@gmail.com> ha scritto:
>
> Dear Alessandra,
>
> This error is apparently related to an unresolved build dependency for one
> of the tests. Without further information it is difficult to find out how
> this is caused. So maybe you can provide us with some more details to the
> following questions:
>
> 1. Do you really build version 3.0, or did you check out the current
> snapshot from GIT? If you build 3.0, the dependency to 3.1-SNAPSHOT is wrong
> and it is probably a bug in the pom.xml file of kiwi-transactions. Can you
> check then the pom.xml file you have for this module?
>
> 2. Which version of Maven are you using? "mvn -v" will tell you. Since we
> are all building with 3.x, it might be we are using features only provided
> by this version.
>
> 3. Which version of Java are you using? For the development branch we have
> already switched to Java 7, so there might be problems compiling with
> previous versions.
>
> As a quick solution, you can probably also compile with skipping the tests.
> This can be done by running Maven as follows:
>
> mvn clean install -DskipTests=true
>
> Also, since you are only interested in LDClient, it suffices to compile the
> LDClient subproject. Change the directory to libraries/ldclient and run "mvn
> clean install" there.
>
> Greetings,
>
> Sebastian
>
>
>
> 2013/7/3 Alessandra Donnini <a....@etcware.it>
>>
>> Dear Marmotta
>> I would like to understand better LDClient.
>> I need to get data from a database to put them in triple store: I can
>> write my LDClient?
>> Do you provide LDClient examples? I've seen that is possible to write
>> client in java, php, and js.
>>
>> Moreover I tried to get source and to build Marmotta 3.0 using command
>> line but it doesn't work. I receive the following error:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 6:05.903s
>> [INFO] Finished at: Wed Jul 03 11:18:54 CEST 2013
>> [INFO] Final Memory: 67M/123M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project kiwi-transactions: Could not
>> resolve dependencies for project
>> org.apache.marmotta:kiwi-transactions:jar:3.1.0-incubating-SNAPSHOT: Could
>> not find artifact
>> org.apache.marmotta:kiwi-triplestore:jar:tests:3.1.0-incubating-SNAPSHOT in
>> apache.releases
>> (https://repository.apache.org/content/repositories/releases/) -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :kiwi-transactions
>>
>> I wrote to users mailing list, I don't know if these question are about
>> using or developing around marmotta.
>> thanks and regards
>> Alessandra
>>
>>
>>
>>
>>
>>
>
>

Re: LDClient

Posted by Alessandra Donnini <a....@etcware.it>.
Dear Sebastian
I'm following your suggestion, but when I import projects in Eclipse I receive this error

Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1.3:generate (execution: generate-rebel-xml, phase: process-resources)	pom.xml	/ldclient-api	line 21	Maven Project Build Lifecycle Mapping Problem

It seems that in my Eclipse JRebel for Eclipse 
is missing. I tried to install it but I need a license to go ahead. It works if I compile by command line, with 
> mvn clean install -DskipTests=true
as you suggested.

Do you use an IDE to develop? What you are using? Sorry if I ask you this technical query but we would like to set up a development environment to try marmotta.
thank you
Alessandra


Il giorno 03/lug/2013, alle ore 16:55, Sebastian Schaffert <se...@gmail.com> ha scritto:

> Dear Alessandra,
> 
> This error is apparently related to an unresolved build dependency for one of the tests. Without further information it is difficult to find out how this is caused. So maybe you can provide us with some more details to the following questions:
> 
> 1. Do you really build version 3.0, or did you check out the current snapshot from GIT? If you build 3.0, the dependency to 3.1-SNAPSHOT is wrong and it is probably a bug in the pom.xml file of kiwi-transactions. Can you check then the pom.xml file you have for this module?
> 
> 2. Which version of Maven are you using? "mvn -v" will tell you. Since we are all building with 3.x, it might be we are using features only provided by this version.
> 
> 3. Which version of Java are you using? For the development branch we have already switched to Java 7, so there might be problems compiling with previous versions.
> 
> As a quick solution, you can probably also compile with skipping the tests. This can be done by running Maven as follows:
> 
> mvn clean install -DskipTests=true
> 
> Also, since you are only interested in LDClient, it suffices to compile the LDClient subproject. Change the directory to libraries/ldclient and run "mvn clean install" there.
> 
> Greetings,
> 
> Sebastian
> 
> 
> 
> 2013/7/3 Alessandra Donnini <a....@etcware.it>
> Dear Marmotta
> I would like to understand better LDClient.
> I need to get data from a database to put them in triple store: I can write my LDClient?
> Do you provide LDClient examples? I've seen that is possible to write client in java, php, and js.
> 
> Moreover I tried to get source and to build Marmotta 3.0 using command line but it doesn't work. I receive the following error:
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6:05.903s
> [INFO] Finished at: Wed Jul 03 11:18:54 CEST 2013
> [INFO] Final Memory: 67M/123M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project kiwi-transactions: Could not resolve dependencies for project org.apache.marmotta:kiwi-transactions:jar:3.1.0-incubating-SNAPSHOT: Could not find artifact org.apache.marmotta:kiwi-triplestore:jar:tests:3.1.0-incubating-SNAPSHOT in apache.releases (https://repository.apache.org/content/repositories/releases/) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :kiwi-transactions
> 
> I wrote to users mailing list, I don't know if these question are about using or developing around marmotta.
> thanks and regards
> Alessandra
> 
> 
> 
> 
> 
> 
> 


Re: LDClient

Posted by Sebastian Schaffert <se...@gmail.com>.
Dear Alessandra,

This error is apparently related to an unresolved build dependency for one
of the tests. Without further information it is difficult to find out how
this is caused. So maybe you can provide us with some more details to the
following questions:

1. Do you really build version 3.0, or did you check out the current
snapshot from GIT? If you build 3.0, the dependency to 3.1-SNAPSHOT is
wrong and it is probably a bug in the pom.xml file of kiwi-transactions.
Can you check then the pom.xml file you have for this module?

2. Which version of Maven are you using? "mvn -v" will tell you. Since we
are all building with 3.x, it might be we are using features only provided
by this version.

3. Which version of Java are you using? For the development branch we have
already switched to Java 7, so there might be problems compiling with
previous versions.

As a quick solution, you can probably also compile with skipping the tests.
This can be done by running Maven as follows:

mvn clean install -DskipTests=true

Also, since you are only interested in LDClient, it suffices to compile the
LDClient subproject. Change the directory to libraries/ldclient and run
"mvn clean install" there.

Greetings,

Sebastian



2013/7/3 Alessandra Donnini <a....@etcware.it>

> Dear Marmotta
> I would like to understand better LDClient.
> I need to get data from a database to put them in triple store: I can
> write my LDClient?
> Do you provide LDClient examples? I've seen that is possible to write
> client in java, php, and js.
>
> Moreover I tried to get source and to build Marmotta 3.0 using command
> line but it doesn't work. I receive the following error:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6:05.903s
> [INFO] Finished at: Wed Jul 03 11:18:54 CEST 2013
> [INFO] Final Memory: 67M/123M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project kiwi-transactions: Could not
> resolve dependencies for project
> org.apache.marmotta:kiwi-transactions:jar:3.1.0-incubating-SNAPSHOT: Could
> not find artifact
> org.apache.marmotta:kiwi-triplestore:jar:tests:3.1.0-incubating-SNAPSHOT in
> apache.releases (
> https://repository.apache.org/content/repositories/releases/) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :kiwi-transactions
>
> I wrote to users mailing list, I don't know if these question are about
> using or developing around marmotta.
> thanks and regards
> Alessandra
>
>
>
>
>
>
>