On Tue, Dec 13, 2011 at 1:07 PM, mohit gupta <[email protected]> wrote: > Thanks thomas for bringing clarity. > > i am trying to build the xwiki source in eclipse as per the instructions > given at > > http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject. > > i have given the repository location as below in setting.xml in eclispe > > * <repositories> > <repository> > <id>fip</id> > <name>xwiki Archiva Repository</name> > <url>https://github.com/xwiki/xwiki-platform</url>
That's not a maven repository, you should look at http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven for how to properly setup maven with the exact thing to put in settings.xml. Using http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject is not recommended IMO, this doc is pretty old and http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse makes it way easier to debug on Eclipse. > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > </repository> > </repositories>* > > But after updating the setting.xml(lying under .m2 folder) to above > location i get below message on eclipse console > > * 12/13/11 5:28:54 PM IST: Unable to update index for fip| > https://github.com/xwiki/xwiki-platform* > > And when i try to build the project in eclipse, eclipse console shows > the below error message > > * Project build error: Non-resolvable parent POM for > org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT: > Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in * > *https://github.com/xwiki/xwiki-platform*<https://github.com/xwiki/xwiki-platform> > * was cached in the local repository, resolution will not be > reattempted until the update interval of fip has elapsed > or updates are forced and 'parent.relativePath' points at wrong local > POM pom.xml /xwiki-platform-action line 1 Maven Problem* > > * i am not getting what is the problem here. Please provide your > valuable inputs. > * > On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne > <[email protected]>wrote: > >> On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta <[email protected]> wrote: >> > Thanks Thomas Mortagne and Vincent a lot for pointing out to >> repository. >> > One question on Repository structure. i downloaded the >> > xwiki-enterprise-web-3.2.war file and found out that >> > XWikiAuthServiceImpl.class lies under jar >> > xwiki-platform-legacy-oldcore-3.2.jar >> > and path is >> > xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But >> in >> > the repository you guys pointed out same file >> > lies under >> > >> xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki. >> > But in my dowloaded war file >> > there is no jar by the name of xwiki-platform-core or >> > xwiki-platform-oldcore. There is jar file with the name >> > xwiki-platform-legacy-oldcore-3.2.jar. >> > could you brief about this discrepency? >> >> xwiki-platform-legacy-oldcore is actually a bit special: it's >> repackaging xwiki-platform-oldcore and inject some deprecated APIs to >> it. >> >> > >> > On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol <[email protected]> >> wrote: >> > >> >> >> >> On Dec 10, 2011, at 7:30 PM, mohit gupta wrote: >> >> >> >> > Thanks all for sharing the information. I started working on the xwiki >> >> > project. >> >> > >> >> > I downloaded the war file xwiki-enterprise-web-3.2 and started >> working >> >> on >> >> > that. I have got some questions/issues while working >> >> > on this. These are:- >> >> > >> >> > 1) Is it possible to get the source code of xwiki java files so that >> if >> >> > want have some understanding/or modification as per my >> >> > requirements i can go ahead? >> >> >> >> See >> >> >> http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources >> >> (I've updated the page with more information) >> >> >> >> Thanks >> >> -Vincent >> >> >> >> > 2) As i said earlier too, i want my customer authentication. So i >> >> explored >> >> > the downloaded war file and found there is a property >> >> > xwiki.authentication.authclass inside xwiki.cfg file against which >> file >> >> > name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl) >> >> > is written. So i can provide my own customer class say >> >> > MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So >> >> > my question is in which library it should be packed with and what >> are >> >> > interfaces/parent class it should extend how i can find >> >> > it out? >> >> > >> >> > it would be a great help if you some one can brief about each point? >> >> > >> >> > >> >> > On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta <[email protected]> >> wrote: >> >> > >> >> > >> >> >> Thanks Andreas a lot for sharing the information. Let me explain what >> >> got >> >> >> from the links you have mentioned above. >> >> >> >> >> >> i typed the URL http://www.teamsched.com/docs or >> >> http://www.teamsched.com in >> >> >> address bar. Both link took me to >> http://www.teamsched.com/docs/info/ >> >> >> which seems to be a xwiki site based on java classes which must be >> >> hosted >> >> >> on some webserver(can you name the webserver which you used for >> this). >> >> Now >> >> >> i click the hyperlink getting started given on this site which takes >> me >> >> to >> >> >> another web application i.e http://shept.org/docs/Shept/(which is >> >> again >> >> >> some java application hosted on another instance of webserver ). Is >> that >> >> >> correct? If yes i also need to do same kind of stuff. Thanks. >> >> >> >> >> >> >> >> >> On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn <[email protected]> wrote: >> >> >> >> >> >> >> >> >>> Hi mohit, >> >> >>> >> >> >>> I think I have done something similar a while ago. >> >> >>> Look at http://www.teamsched.com. >> >> >>> >> >> >>> The explanatory stuff is hosted on an xwiki that is identified by >> the >> >> >>> http://www.teamsched.com/docs >> >> >>> part of the url. >> >> >>> The real application based on shept.org (spring, hibernate, e.t.c.) >> >> >>> (when you press 'Gettings started') >> >> >>> http://www.teamsched.com/app >> >> >>> >> >> >>> It works more or less seamless yet the level of integration of both >> >> apps >> >> >>> is a little shaky. >> >> >>> There are no user accounts handed over from one to the other app. >> >> >>> That should be possible but I hesitated to invest the necessary >> effort >> >> to >> >> >>> figure it out. >> >> >>> If that's what you are looking for I'll try to provide details. >> >> >>> >> >> >>> good luck >> >> >>> >> >> >>> Andreas >> >> >>> >> >> >>> >> >> >>> >> >> >>> Am 02.12.2011 11:31, schrieb mohit gupta: >> >> >>> >> >> >>> >> >> >>>> i have my banking webapplication on tomcat. i want to host my >> >> application >> >> >>>> help on xwiki which will sit on another server(probably >> >> >>>> xwiki will be having its on app server). Basically what i have to >> do >> >> is i >> >> >>>> want to provide a link on my banking application on click of which >> >> >>>> i want to take it to wiki help(help shoud not ask any credentialsat >> >> >>>> http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome< >> >> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome> >> >> >>>> ) >> >> >>>> though it should ask for credential if i hit my xwiki URL >> directly.i >> >> am >> >> >>>> not getting how to start it?i have gone thru xwiki devguide but >> could >> >> >>>> not get much out of it. It would be great if somebody can give me >> >> heads >> >> >>>> up >> >> >>>> how can i can i start it at high level, it would be a great help. >> >> >>>> As xwiki site states many tools to download like >> >> >>>> manager,enterprise,platform. which tool one i shoud start with and >> >> what >> >> >>>> should be the starting point >> >> >>>> in that? >> >> >>>> i want to give the users to modify the wiki page on the basis of >> >> roles in >> >> >>>> my banking application. So my application and xwiki has to >> interact a >> >> >>>> lot. >> >> >>>> looking for how we can proceed for this. My application is using >> >> struts >> >> >>>> 2. >> >> >>>> >> >> >>>> Another question i have is once i dowload xwiki enterprsise, >> should i >> >> >>>> host >> >> >>>> in seperate tomcat or downloaded xwiki application will have its >> own >> >> >>>> webserver. >> >> >>>> >> >> >>>> Its really urgent for me. Looking for quick reply >> >> >>>> >> >> >>>> Thanks in advance >> >> >>>> Mohit GUpta >> >> >>>> >> >> >>>> ______________________________**_________________ >> >> >>>> users mailing list >> >> >>>> [email protected] >> >> >>>> http://lists.xwiki.org/**mailman/listinfo/users< >> >> http://lists.xwiki.org/mailman/listinfo/users> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>> ______________________________**_________________ >> >> >>> users mailing list >> >> >>> [email protected] >> >> >>> http://lists.xwiki.org/**mailman/listinfo/users< >> >> http://lists.xwiki.org/mailman/listinfo/users> >> >> >>> >> >> >>> >> >> >> >> >> >> >> >> > _______________________________________________ >> >> > users mailing list >> >> > [email protected] >> >> > http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> _______________________________________________ >> >> users mailing list >> >> [email protected] >> >> http://lists.xwiki.org/mailman/listinfo/users >> >> >> > _______________________________________________ >> > users mailing list >> > [email protected] >> > http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
