Hi, I tried building with instructions given in http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven what i was missing is settings.xml in .m2 folder.i also created that and then run command 'mvn clean install' but still getting following error
[INFO] Scanning for projects... Downloading: http://maven.xwiki.org/externals/com/xpn/xwiki/platform/xwiki/22/xw iki-22.pom [WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22 from reposi tory xwiki-externals (http://maven.xwiki.org/externals): Error transferring file : Connection reset Downloading: http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki/22/xwi ki-22.pom [WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22 from reposi tory xwiki-releases (http://maven.xwiki.org/releases): Error transferring file: Connection reset Downloading: http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki -22.pom [WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22 from reposi tory central (http://repo1.maven.org/maven2): Error transferring file: Connectio n reset [ERROR] The build could not read 1 project -> [Help 1] [ERROR] The project com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E: \SVN MAIN\Xwatch\pom.xml) has 1 error [ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22 for com.xp n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM for com. xpn.xwiki.platform:xwiki:22 due to Error transferring file: Connection reset com.xpn.xwiki.platform:xwiki:pom:22 from the specified remote repositories: xwiki-externals (http://maven.xwiki.org/externals, releases=true, snapshots=tr ue), xwiki-releases (http://maven.xwiki.org/releases, releases=true, snapshots=fals e), xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false, snapshots=t rue), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin gException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo delException Thanks, Simer [email protected] wrote: > Send users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xwiki.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. Re: How do I run a query from a rdf database in xwiki page > (Eduard Moraru) > 2. Re: Calendar Application on XE 2.4 not working properly > (Raluca Stavro) > 3. RES: Calendar Application on XE 2.4 not workingproperly > (Ramon Gomes Brand?o - SERINT) > 4. Re: Problem building code for xwatch with maven (Anca Luca) > 5. Re: RES: Calendar Application on XE 2.4 not workingproperly > (Lockie) > 6. Re: RES: Calendar Application on XE 2.4 not workingproperly > (Raluca Stavro) > 7. Re: Wysiwyg Application Translation (Thomas Mortagne) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 17 Aug 2010 13:15:07 +0300 > From: Eduard Moraru <[email protected]> > Subject: Re: [xwiki-users] How do I run a query from a rdf database in > xwiki page > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi abrante, > > If I understood correctly your question, you want to know how to query > (using a SPARQL query) your RDF knowledge base server (hosted on some > remote machine) trough the SPARQL protocol from an XWiki page by the > push of a button or link and display the results on the same page. > > There are 2 options: > 1. Manually use the SPARQL protocol to send a HTTP request to your > server trough AJAX from the XWiki page. > 2. Have(make) an XWiki plugin that uses some java library like Jena or > Sesame to make remote SPARQL queries and use it with Velocity from an > XWiki page. > > For both cases, see the specification of the SPARQL protocol and how to > use it over HTTP (or SOAP): > http://www.w3.org/TR/rdf-sparql-protocol/#query-bindings-http > > If you like Option 1, then you must: > 1. Create a button or link and assign it an ID. > 2. Create a div or some sort of container for the result and assign it > an ID as well. > 3. Add a JavaScriptExtension (JSX) object to your xwiki page and observe > the click event ( http://www.prototypejs.org/api/element/methods/observe > ) of the element with the ID you just assigned at step 1 (your link/button). > 4. Implement the JS event handler to issue an Ajax request ( > http://www.prototypejs.org/learn/introduction-to-ajax ) with your > hand-crafted query to your SPARQL (RDF) server. > 4'. Implement the JS callback method that takes the result of the Ajax > request, processes it and then dump it into your HTML container that you > created at step 2 in order to show the result to the user. > > Here is a sample HTTP query (that works from your browser): > http://www4.wiwiss.fu-berlin.de/is-group/sparql?query=SELECT * WHERE {?s > ?o ?p} LIMIT 10 > Encoded version looks like this: > http://www4.wiwiss.fu-berlin.de/is-group/sparql?query=SELECT%20*%20WHERE%20{%3Fs%20%3Fo%20%3Fp}%20LIMIT%2010 > > I hope I did not assume too much :) > > Good luck, > Eduard > > On 08/17/2010 10:38 AM, abrante wrote: > >> I am trying to run a query from one xwiki page but I could not, someone >> please can sent me some code example? I want that the user only do click in >> the link and the report must appear. >> >> My query is the follow and I am working with velocity for the scripts >> >> Thanks in advance :) >> >> "SELECT DISTINCT ?property ?hasValue ?isValueOf >> WHERE { >> { >> <http://testforge.int-evry.fr/d2r-server/resource/bugsubmitters/6688a14521cd97db162af8f9757f2e2232300e50> >> ?property ?hasValue >> } >> UNION >> { ?isValueOf ?property >> <http://testforge.int-evry.fr/d2r-server/resource/bugsubmitters/6688a14521cd97db162af8f9757f2e2232300e50> >> } >> } >> ORDER BY (!BOUND(?hasValue)) ?property ?hasValue ?isValueOf " >> >> >> > > > > ------------------------------ > > Message: 2 > Date: Tue, 17 Aug 2010 16:32:16 +0300 > From: Raluca Stavro <[email protected]> > Subject: Re: [xwiki-users] Calendar Application on XE 2.4 not working > properly > To: XWiki Users <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hello Ramon, > > The current calendar application has no custom styles applied on it. > See http://jira.xwiki.org/jira/browse/XACALENDAR-14 . > I added a patch to it and I hope that it will be applied very soon. > > Raluca. > > 2010/8/13 Ramon Gomes Brand?o - SERINT <[email protected]>: > >> Hi, >> >> >> >> I've Just installed Calendar Plugin and Calendar Application on my XE 2.4 >> instance. It works when I point to xwiki/bin/view/Main/EventCalendar/, but >> its look and feel is far away of that smooth one shown in the Calendar >> Application home page >> (http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication). >> >> >> >> The calendar appears as a very simple and rough table, its cells don't have >> a prefixed size (nothing more than just the length of the two digits number >> of the day) and it does not show the PDF creation link. It also doesn't mark >> the "today" day on the calendar. I've checked the source code and it seems >> that the $cview.getHTMLCalendar($cparams, "") method isn't building a smooth >> calendar. How can I fix this? >> >> >> >> Doesn't XE 2.4 contain an event calendar by default? If so, how can I access >> it? >> >> >> >> I'm using the colibri skin. >> >> >> >> Regards, >> >> >> >> Ramon Gomes Brand?o >> >> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> >> > > > ------------------------------ > > Message: 3 > Date: Tue, 17 Aug 2010 14:29:40 -0300 > From: Ramon Gomes Brand?o - SERINT <[email protected]> > Subject: [xwiki-users] RES: Calendar Application on XE 2.4 not > workingproperly > To: "XWiki Users" <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Raluca, > > Is there a way to apply the modifications of this patch on my running > calendar application instance? I would like to test it without the need to > build the application. > > Maybe editing the source code of xwiki/bin/view/XWiki/CalendarSheet ? > > Ramon Gomes Brand?o > > > -----Mensagem original----- > De: [email protected] [mailto:[email protected]] Em nome de > Raluca Stavro > Enviada em: ter?a-feira, 17 de agosto de 2010 10:32 > Para: XWiki Users > Assunto: Re: [xwiki-users] Calendar Application on XE 2.4 not workingproperly > > Hello Ramon, > > The current calendar application has no custom styles applied on it. > See http://jira.xwiki.org/jira/browse/XACALENDAR-14 . > I added a patch to it and I hope that it will be applied very soon. > > Raluca. > > 2010/8/13 Ramon Gomes Brand?o - SERINT <[email protected]>: > >> Hi, >> >> >> >> I've Just installed Calendar Plugin and Calendar Application on my XE 2.4 >> instance. It works when I point to xwiki/bin/view/Main/EventCalendar/, but >> its look and feel is far away of that smooth one shown in the Calendar >> Application home page >> (http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication). >> >> >> >> The calendar appears as a very simple and rough table, its cells don't have >> a prefixed size (nothing more than just the length of the two digits number >> of the day) and it does not show the PDF creation link. It also doesn't mark >> the "today" day on the calendar. I've checked the source code and it seems >> that the $cview.getHTMLCalendar($cparams, "") method isn't building a smooth >> calendar. How can I fix this? >> >> >> >> Doesn't XE 2.4 contain an event calendar by default? If so, how can I access >> it? >> >> >> >> I'm using the colibri skin. >> >> >> >> Regards, >> >> >> >> Ramon Gomes Brand?o >> >> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> >> > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > > ------------------------------ > > Message: 4 > Date: Tue, 17 Aug 2010 20:30:29 +0300 > From: Anca Luca <[email protected]> > Subject: Re: [xwiki-users] Problem building code for xwatch with maven > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Simer, > > On 08/16/2010 01:28 PM, Simerpreet Singh wrote: > >> Hi, >> >> Iam using xwiki 2.3.1 and trying to install xwatch on in.According to >> instructions given in >> http://watch.xwiki.org/xwiki/bin/view/Main/Installation#HBuildingandinstallinganXWikiWatchSnapshotoveranexistingXWikiEnterprise >> > > Setup your settings.xml file as indicated in the general xwiki build > instructions in here: > http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven . > > The issue you're encountering is caused by the fact that your maven it's > trying to download the xwiki artefacts needed to build watch only from > the maven central repository, where they are not. > > Have fun, > Anca > > >> i downloaded code from svn http://svn.xwiki.org/svnroot/xwiki/watch/trunk/# >> but when i try to build it using following commands >> mvn clean install >> or >> mvn clean >> >> its giving below mentioned error >> >> >> >> [INFO] Scanning for projects... >> Downloading: >> http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki >> -22.pom >> [ERROR] The build could not read 1 project -> [Help 1] >> [ERROR] The project >> com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E: >> \SVN MAIN\Xwatch\pom.xml) has 1 error >> [ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22 >> for com.xp >> n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM >> for com. >> xpn.xwiki.platform:xwiki:22 due to Missing: >> ---------- >> 1) com.xpn.xwiki.platform:xwiki:pom:22 >> ---------- >> 1 required artifact is missing. >> >> for artifact: >> com.xpn.xwiki.platform:xwiki:pom:22 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2, releases=true, snapshots=false) >> -> [Help 2] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e swit >> ch. >> [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 rea >> d the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin >> gException >> [ERROR] [Help 2] >> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo >> delException >> >> >> >> can you please correct me if i am doing anything wrong? >> >> >> Thanks, >> Simer >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > ------------------------------ > > Message: 5 > Date: Tue, 17 Aug 2010 18:30:47 -0700 (PDT) > From: Lockie <[email protected]> > Subject: Re: [xwiki-users] RES: Calendar Application on XE 2.4 not > workingproperly > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > > I am also eagerly awaiting a more functional and better looking calendar, I > hope your patch gets through soon. I tried the > http://dev.xwiki.org/xwiki/bin/view/Drafts/XWiki-Calendar GWT-Calendar > aswell but I get a lot of errors, so either I'm doing something wrong or its > not functional yet... > > Lockie. > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
