Hi!
Why XWikiHibernateStore.loadXWikiObject,Class,etc not in
XWikiStoreInterface?
Why XWikiHibernateStore.loadXWikiObject,etc not return loaded object
like loadXWikiDoc?
It does not allow load many objects in one hibernate session.
(NonUniqueObjectException)
Attached junit test show that i meen
I need this for my QueryPlugin.
(http://usunet.ru/xwiki/bin/view/Dev/IndependentQueryAPI)
I am now compelled cache BaseClass in plugin.
--
Artem Melentev, UralSU, CS301. http://usunet.ru/xwiki/
jabber: amelentev(a)jabber.ru | icq: 175349029
Hi Ludovic,
I've been looking at the instructions at
http://www.xwiki.org/xwiki/bin/view/Main/InstallLinuxTomcat and there
are about 8 steps too many for this software to gain widespread adoption
in my opinion. One of the biggest issues I see is that it uses Hibernate
which is great since technically db tables can be auto generated using
the Hibernate schemaexport tool with the xwiki mapping file to create
tables in any database of your choosing. However, it looks like I
specifically need MySQL and I don't know why. I look at the JBoss +
Postgres install page and sure enough it points out the flaws of this
approach:
"Download the sample database and convert for Postgres. See
PostgresDatabase
<http://www.xwiki.org/xwiki/bin/view/Dev/PostgresDatabase> -> This tool
has been made by Nicholas Vesser.. It was done with an old mysql
database for XWiki.. You should try it with the latest database.." hmm,
not fun.
Personally, what I would like to see is this:
1) Download xwiki.zip
2) Run "ant install" which performs:
Creating/deploying xwiki webapp to your Tomcat that you set in your
build.properties
Uses schemaexport to generate tables in your database that is
defined in the hibernate properties file
3) Start your server and voila!
Further, it could use hsqldb as a default so if you didn't reconfigure
the hibernate properties file it would simply use hsqldb which can be
bundled with the wiki webapp and used for test purposes.
How does this sound?
Cheers, Jason
Hi Shawn,
I think this is more appropriate in the developers list, even if I'm
sure admins of xwiki's are interested in LDAP features.
I'm also copying Alex who wrote the LDAP authentication plugin.
Unfortunately he is on holidays so he won't be able to answer right away.
I know he was thinking at a 'scripting' solution for groups management.
Basically the idea would have been that you could directly call a group
something like
LDAPmygroup
LDAPdept_htv
The groovy script would then automatically translate the group name to
the right query to make.. With LDAPmygroup maybe there would not even be
a script needed as it would use normal ldap group.. But for LDAPdept_htv
it would look for users having the htv property in the dept field.
The script could also decide that if there is not LDAP in the name then
it's a local xwiki group which would be allowed if a specific option is
available in the preferences..
Now it might not be necessary to have scripting but would give more
flexibility. I think Alex had some use cases where scripting would be
really usefull. But it would be great to have him answer that..
If you can help writing this part this would be really great.
Ludovic
lauzon(a)us.ibm.com wrote:
> Hi all. I have a need to determine group membership based on criteria defined outside xwiki, and wondering if anyone has done this, or can at least suggest a direction.
>
> We have criteria for groups defined in LDAP, such things as your department or things like that. I would like to be able to say that for a specific space, only people in so-and-so department are allowed in. However department should be only one criteria; in general I want to use an LDAP search the queries on an arbitrary set of attributes. In addition we have something called "Bluegroups", in which you can define a group name and then specify the members through either picking members individually, or again through an LDAP search.
>
> To do this, my idea was that the user would manually create an XWiki group, and then as a member give something like "ldap:(dept=HTV)", or maybe "bluegroups:Support team". Even better would be the ability to put a value such as this in the Access Rights, under group, but I don't think things are setup that way. Anyway, looking at the API, it seems like I need to implement listGroupsForUser(), which is difficult because the group members are not stored in the db. I'm left with querying all the members which begin with "ldap:" or "bluegroups:", determing which the user is a member of via an LDAP call, and then returning them. I could cache these, but since I'm not going to get notifications of group membership changes, I would need to invalidate the cache once a day or something like that.
>
> Does this seem like the most reasonable way of doing things? Or is there something that would make my life really easy and wonderful? Thanks in advance ...
>
> shawn.
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi,
I've posted our import/export scripts on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Backup
This should allow to load the default xwiki database in any xwiki
compatible database.
Let me know how it works.
Ludovic
CeDeROM wrote:
> hi!
>
> im trying to install xwiki on few enviromnents and then choose one
> that suits best xwiki needs. im using mysql and postgresql databases
> and i have _great_ problem with sensible performance testing because
> example mysql database provided on xwiki website cannot be
> converted into postgresql. also dump provided for PostgreSQL doesnt
> work with current xwiki release... :(
>
> as there is no backup facility built into xwiki (while it should be
> standard) i cannot use simpliest method of data conversion. i think
> that backup would be very very helpful feature, not only for making
> backups (in xml) but also for transferring xwiki into different
> environments!
> maybe developers could look at http://dbunit.sourceforge.net/
>
> can anyone share xwiki database dump both in MySQL and PostgreSQL
> format?
>
> greetings!
> tomek
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi all,
I'm interested in supporting xwiki portlets for our GridSphere
portal framework (http://www.gridsphere.org) It seems that xwiki is
available for the Exo portal so I'm naively thinking it shouldn't be
too hard to convert them to work in another portlet container. Can
anyone help get me started if this is possible?
Thanks, Jason
Hi,
I'm having an error when I connect to SVN:
=================
[sebastocha@localhost ~]$ svn checkout
svn+ssh://slauriere@svn.forge.objectweb.org/svnroot/xwiki xwiki
Enter passphrase for key '/home/sebastocha/.ssh/id_dsa':
svn: Berkeley DB error while opening environment for filesystem
/svnroot/xwiki/db:
DB_RUNRECOVERY: Fatal error, run database recovery
=================
I don't often connect to the SVN server and I have made system updates
locally recently so I cannot figure out if I'm doing something wrong on
my side or if there's a problem on the server. Is everything working
fine for you? Any hint is welcome. Actually I'd like to commit a fix to
the TOC problem! http://jira.xwiki.org/jira/browse/XWIKI-140
Stéphane
--
Stéphane Laurière
slauriere(a)mandriva.com
Mandriva Club - http://club.mandriva.com
Mandrakesoft becomes Mandriva!
I'm attempting to integrate xwiki into IntelliJ to run, compile, and debug. I have Tomcat and a local copy of Xwiki running on my machine. I've obtained the xwiki source code from the SVN and I would like to be able to compile it to test. I haven't made any changes to the code as of yet, first I just want to get IntelliJ and xwiki working correctly together first.
I'm not exactly sure how to setup xwiki in Intellij, that is my main question. I tried starting a New Project, choosing the xwiki/trunk/src as my directory for the source files. I wasn't sure where to put output directory so it just made a new folder inside the xwiki direcotory. When I attempt to Build (make project) I'm getting errors stating that duplicate classes are being found.
I'm assuming I set it up wrong and I put the output directory in the wrong place or something. Does anyone know what I could be doing wrong and a good set of instructions to follow to get this working?
Thanks