Hi
I want to use "xWiki workspace 1.0 " . I need the URL for downloading
"xWiki workspaces" source code, so that I can use its source code in my
application. I have SVN and Maven configured to Eclipse 3.2.0.
Please help me.
Thanks & Regards,
Md Afzal Sharif
Gurgaon,Haryana
India
Mailto: afzal.sharif(a)tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hi Devs,
Currently I have my pom file as bellow,
<....>
.....
<dependency>
<groupId>com.xpn.xwiki.platform</groupId>
<artifactId>*xwiki-core*</artifactId>
<version>*1.5-milestone-2*</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>*xwiki-core-plexus*</artifactId>
<version>*1.5-SNAPSHOT*</version>
</dependency>
.....
</...>
And everything is working fine :)
But when i upgraded the pom file to use 1.6-SNAPSHOT versions of above
dependencies as bellow,
<....>
.....
<dependency>
<groupId>com.xpn.xwiki.platform</groupId>
<artifactId>*xwiki-core*</artifactId>
<version>*1.6-SNAPSHOT*</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>*xwiki-core-plexus*</artifactId>
<version>*1.6-SNAPSHOT*</version>
</dependency>
.....
</...>
I get the follwing exception when trying to access the xwiki-webdav servlet,
<dump>
[INFO] Started Jetty Server
java.lang.NullPointerException
at
org.xwiki.context.DefaultExecution.getContext(DefaultExecution.java:50)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initialize(XWikiHibernateBaseStore.java:90)
at
org.xwiki.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:37)
at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:277)
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.PlexusContainerLocator.lookup(PlexusContainerLocator.java:51)
at
org.xwiki.plexus.manager.PlexusComponentManager.lookup(PlexusComponentManager.java:56)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:548)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:668)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:650)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:310)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:381)
at
com.xpn.xwiki.plugin.webdav.utils.XWikiDavParams.initXWikiContext(XWikiDavParams.java:99)
at
com.xpn.xwiki.plugin.webdav.utils.XWikiDavParams.<init>(XWikiDavParams.java:62)
at
com.xpn.xwiki.plugin.webdav.utils.XWikiResourceFactory.createResource(XWikiResourceFactory.java:97)
at
com.xpn.xwiki.plugin.webdav.utils.XWikiResourceFactory.createResource(XWikiResourceFactory.java:66)
at
com.xpn.xwiki.plugin.webdav.XWikiDavServlet.service(XWikiDavServlet.java:357)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:219)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:738)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:325)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:873)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:391)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
</dump>
Bellow is the way i initialize the xwiki context,
<code>
private void initXWikiContext(DavServletRequest drequest, DavServletResponse
dresponse, ServletContext servletContext) throws XWikiException
{
if (this.xwikiEngine == null) {
xwikiEngine = new XWikiServletContext(servletContext);
}
xwikiRequest = (this.xwikiRequest != null) ? this.xwikiRequest :
new XWikiServletRequest(drequest);
xwikiResponse = (this.xwikiResponse != null) ? this.xwikiResponse :
new XWikiXMLRPCResponse(dresponse);
xwikiContext = Utils.prepareContext("", xwikiRequest, xwikiResponse,
xwikiEngine);
xwikiContext.setMode(XWikiContext.MODE_GWT);
xwikiContext.setDatabase("xwiki");
* XWiki xwiki = XWiki.getXWiki(xwikiContext);
* ...............
}*
*</code>
The line "*XWiki xwiki = XWiki.getXWiki(xwikiContext);*" is where the
exception gets thrown.
Can any of you please help me fix this ? It would be a big help :)
Thanks a lot.
- Asiri
On Jul 29, 2008, at 4:43 PM, amelentev (SVN) wrote:
> Author: amelentev
> Date: 2008-07-29 16:43:19 +0200 (Tue, 29 Jul 2008)
> New Revision: 11544
>
> Modified:
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/test/
> AbstractBridgedXWikiComponentTestCase.java
> Log:
> [misc] make Abstract class abstract (to fix the tests)
> fix Id svn:keyword
Thanks Artem for the catch! :)
-Vincent
PS: I committed this class by error... I wanted to wait till I had
finished the shared test refactoring before committing it. Almost done
now.
> Modified: platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/
> test/AbstractBridgedXWikiComponentTestCase.java
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/test/
> AbstractBridgedXWikiComponentTestCase.java 2008-07-29 14:23:51 UTC
> (rev 11543)
> +++ platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/test/
> AbstractBridgedXWikiComponentTestCase.java 2008-07-29 14:43:19 UTC
> (rev 11544)
> @@ -30,10 +30,10 @@
> * the new Execution Context and the old XWikiContext. This allows
> code that uses XWikiContext to be
> * tested using this Test Case class.
> *
> - * @version $Id: $
> + * @version $Id$
> * @since 1.6M1
> */
> -public class AbstractBridgedXWikiComponentTestCase extends
> AbstractXWikiComponentTestCase
> +public abstract class AbstractBridgedXWikiComponentTestCase extends
> AbstractXWikiComponentTestCase
> {
> private XWikiContext context;
>
>
>
> Property changes on: platform/core/trunk/xwiki-core/src/test/java/
> com/xpn/xwiki/test/AbstractBridgedXWikiComponentTestCase.java
> ___________________________________________________________________
> Name: svn:keywords
> + Id
Hi Guillaume Lerouge,
"Guillaume Lerouge" <guillaume(a)xwiki.com>.....
Thnx for your reply here i am giving you the details about my specific
requirement:
1. We are trying to build a collaborative appliance which includes widgets.
2. This CA(collaborative appliance) is connected to users through
server(you take it as tomcat server).
3.The user will login at this CA n get the page which includes all
widgets(including Xwiki widget) specially xwiki workspaces.
4.So our specific requirement is to bypass the user login and admin login
which usualy are the steps at the Xwiki because users already logged IN.
5.So we want at this the user click on xwiki icon and will get the desired
space page.
Thats all dear,so my specific problem is ;
1. I am not getting the files which i need to change.
Idea:
1.need to bypass the database checking which default done at xwiki .
2.also need to change the Admin api so that i can handle the admin
authentication at my server side.
I hope this much information gives u little idea of what i trying to do.
Please giv me valuable solution about the structure.
Pre-condition;
1. I have your source code resporitry with me.
2. maven and all that steps i have already done.
Please look at my another mail inwhich i mention the error i got when i try
to build project wsing maven.
thanks and Regards,
Deepak Sharma
Assistant Software Engineer-T
Tata Consultancy Services
Cell:- 9911502444
Mailto: deepak24.s(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hi,
The svn link:https://svn.xwiki.org/svnroot/xwiki/trunks
maven version: 2.x
directory; xwiki plateform-core
maven command from eclipse; maven install
I am trying to change the way as xwiki works according to my usage
requirement.
Requirement:
1. i dont want login from users and admin at first deploy.
2. Reason: my application is running on server where i have already
authenticated my all users.
please reply me with valuable suggestion. Rest you can find more posts of
mine in this context
Regards,
Deepak Sharma
Assistant Software Engineer-T
Tata Consultancy Services
Cell:- 9911502444
Mailto: deepak24.s(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello Arpit and everyone,
I've looked over your presentation prototype implementation. I works good,
however the risk with such an implementation is that it is a new
javascript WYSIWYG, potentially hard to maintain. For the second period of
the SoC, focus should be, according to me, on the implementation of
presentation management (slides creation, ordering, transitions, etc.) and
its integration within XWiki. This implementation should be very
independent of the underlaying slide prototype, so that it's possible for
us to plug for example our new GWT editor. I propose you first implement
this part of the application using the work you have done in the first
part as slide implementation, but keeping in mind it should be easily
switchable.
My idea of the integration with XWiki is the following : slides HTML
content should be stored as wiki content, on the basis of one wiki
document per slide. To manage slide ordering in a presentation, I propose
you also have a wiki document for the presentation itself, which contains
N XWiki slides objects (of class XWiki.Slide for example), in which you
can store order and links to actual slides wiki pages. This presentation
document should also contain a presentation object (for example
XWiki.Presentation), with metadata regarding the presentation : title,
author, date, etc. This part of the program is very XWiki related, so
don't hesitate to ask many questions as you need on this list ;)
Here is the calendar I propose you :
* until August 1st : Presentation management (creating slides, saving
slides, deleting slides, moving slides) inside XWiki
* August 1st/ August 8th : Integration with Slidy (running presentations)
* August 8th/August 18th : Documentation, tests, debugging.
Further possible steps:
* Changing slide implementation (with new GWT WYSIWYG for example)
* Integration as a XWiki Workspaces application
WDYT ?
Regards,
Jerome
Hi,
When i am trying to buils the svnroot resporitry ,i am getting this error
from maven.
------------------------------------------------------------------------------[ERROR]
Maven encountered an error while trying to resolve an the direct
dependencies for a build extension used in your project.
Project:
Group-Id: com.xpn.xwiki.platform
Artifact-Id: xwiki-externals
Version: UNVERSIONED
Type: pom
Scope: null
Extension:
Group-Id: com.xpn.xwiki.platform.tools
Artifact-Id: xwiki-xar-handlers
Version: 1.9-SNAPSHOT
Type: jar
Scope: null
Failed Artifact:
Group-Id: com.xpn.xwiki.platform.tools
Artifact-Id: xwiki-xar-handlers
Version: 1.9-SNAPSHOT
Type: jar
Scope: null
Error message: Unable to read the metadata file for artifact
'com.xpn.xwiki.platform.tools:xwiki-xar-handlers:jar': POM
'com.xpn.xwiki.platform.tools:xwiki-xar-handlers' not found in repository:
Unable to download the artifact from any repository
com.xpn.xwiki.platform.tools:xwiki-xar-handlers:pom:1.9-SNAPSHOT
from the specified remote repositories:
xwiki-externals (http://maven.xwiki.org/externals),
xwiki-snapshots (http://maven.xwiki.org/snapshots),
central (http://repo1.maven.org/maven2),
xwiki-releases (http://maven.xwiki.org/releases)
for project com.xpn.xwiki.platform.tools:xwiki-xar-handlers
Root error message: Unable to download the artifact from any repository
------------------------------------------------------------------------------
Please help me out regarding.
Thanks & Regards,
Deepak Sharma
Assistant Software Engineer-T
Tata Consultancy Services
Cell:- 9911502444
Mailto: deepak24.s(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello,
I would like to propose voting Marius Florea as a core committer. Marius
has already sent a lot of patches (see http://tinyurl.com/67wa9a, in
particular the patches on XE statistics, JodaTime plugin, and the new RSS
mechanism in the feed plugin). Marius patches are clean, well documented
and comes with tests. Marius is now working for a few months already on
the rewrite of the WYSIWYG editor in GWT, and at some point soon he will
need to start integrating his work with the platform.
Thus, I propose Marius applies his own patches from now on.
Here is my +1 for this.
Note: For full disclosure, Marius is working for XWiki SAS, the company
behind the creation of XWiki. FWIW, out of the 21 committers
(http://dev.xwiki.org/xwiki/bin/view/Community/HallOfFame), 10 are working
for XWiki SAS. Note that we're running XWiki as a meritocratic project
(trying to follow the Apache rules as much as possible) and thus anyone
can become a committer (see
http://dev.xwiki.org/xwiki/bin/view/Community/Committership). The more the
merrier!
Regards,
Jerome.
Dear,
we Downloaded your xwiki from www.xwiki.org, its an very nice free source
code software. But we need to do some addition ,details required as folows:
1.I have got nothing about about the java files.which i need to update
specialy admin java files.
2.Our specific requirement is to bypass the user login and password ,as
that user already done at our application main page.
Please send back some solution and if possible id or mail contact of person
to whom i can discuss my problem in detail.
Thanks and regards,
Deepak Sharma
Assistant Software Engineer-T
Tata Consultancy Services
Cell:- 9911502444
Mailto: deepak24.s(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you