Alrite. I thought that might be the case. Thanks.
I need to add functionality for SVN integration of the attachments in XWiki.
Hence, the building and re-building.
Also, I wanted to know:
Does the Lucene search plugin update indices everytime attachments are
uploaded or at certain regular intervals?
Thanks
See in maven when we build a module it also looks for dependent module
first.
So they have to be built before.
When you are building say product-enterprise-web you should always build the
following first:
1. platform-core
2. platform-plugins
3. platform-skins
4. platform-web
In that said order.
Now if you notice that product-enterprise-web = platform-web +
platform-plugin
So if you just always build the platform-web and add plugins to it you get
the product-enterprise (of course you have to modify xwiki.cfg to add built
plugins).
I suspect in your case it might be getting the platform-web war from the
maven repository, may be -nsu flag prevents it.
Here is a process you may want to follow:
I build xwiki from source daily and the whole process is automated via ant
scripts. Ant executes mvn targets and using ant-maven dependency tasks it
automatically copies the additional plugin jars to lib folder of my build.
Whole process takes not more that 2 - 3 minutes.
Thanks
Sachin
------------------------------
>
> Message: 6
> Date: Tue, 1 Apr 2008 17:34:59 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: [xwiki-devs] Question about the Build process.
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280804011534vb5ab05er53106c04f3464b0c(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> I am trying to make soem changes to the XWikiHibernateAttachmentStore
> class.
>
> So the procees I follow while building is:
>
> 1) Build the xwiki core using mvn install
> 2) build the Xwiki Enterprise application using - mvn -nsu install -Pxe
> 3) after this I replace the existing xwiki folder with the newly updated
> one
> (from the target folder)
>
> Is this the right way to do. I am wondering because it takes almost 8 -
> 10
> mins to build the Enterprise every time I make any small change in the
> Core
> code.
>
> Thanks.
>
>
>
Hello,
I am trying to make soem changes to the XWikiHibernateAttachmentStore class.
So the procees I follow while building is:
1) Build the xwiki core using mvn install
2) build the Xwiki Enterprise application using - mvn -nsu install -Pxe
3) after this I replace the existing xwiki folder with the newly updated one
(from the target folder)
Is this the right way to do. I am wondering because it takes almost 8 - 10
mins to build the Enterprise every time I make any small change in the Core
code.
Thanks.
Hello All,
I have been looking at XWiki Technology for some time now and am really
excited that we are considering it as a candidate for our enterprise
collaboration tool.
(Now that I could get it to build and see if the changes I make work or not
:-)
There is one thing that I have noticed a lot.
The Xwiki.org website is a little slow. I can get other web pages loaded
faster.
Is there any specific reason for this?
Cheers.
Dear devs,
With a little delay regarding the planned roadmap, I would like to release
XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
before entering the release candidate cycle, and it will introduce the
following :
Bugs solved :
* XWS-20 Gallery "folders" display problem
* XWS-5 Permanently deleting a space doesn't work
* XWS-21 Exception when editing an existing blog post
* XWS-31 On IE7 the division between the content and the what's new gets
munged
* XWS-11 Workspace creation form data is not cleared after workspace creation
Improvements :
* XWS-9 Use activitystream plugin for space streams
* XWS-34 Add a distribution-test module
* XWS-35 Make XWS usable with albatross and toucan skins
* XWS-6 Merge the Admin XWiki Toolbar with menus from XE
* XWS-27 Order images by upload timestamp
New features :
* XWS-8 Background color selection per workspace
* XWS-4 Space User Directory
* XWS-2 Implement a search inside workspaces
For releasing XWS, I will also need to release the version 1.0 of the
activitystream plugin (see
http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as well
as the version 1.11 of the xwiki-configuration-resources tool (see
http://tinyurl.com/366ft4).
Here is my +1 for all this.
Regards,
Jerome.
Yes. That was it..got it to work.
But, I am puzzled..I did not have to add the hsqldb jar in there the first
time I installed xwiki.
anyways.
Thanks a lot
On Tue, Apr 1, 2008 at 12:25 PM, <devs-request(a)xwiki.org> wrote:
> Send devs mailing list submissions to
> devs(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/devs
> or, via email, send a message with subject or body 'help' to
> devs-request(a)xwiki.org
>
> You can reach the person managing the list at
> devs-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of devs digest..."
>
>
> Today's Topics:
>
> 1. Re: [Proposal/Vote] New XMLRPC support (Jean-Vincent Drean)
> 2. Re: [Vote] Deactivate Wysiwyg editor for Safari in 1.3.1
> (Jean-Vincent Drean)
> 3. Re: [VOTE] Release XE 1.3.1 ? (Jean-Vincent Drean)
> 4. [VOTE] Release XWS 1.0 Milestone 2 (Jerome Velociter)
> 5. Re: [VOTE] Release XWS 1.0 Milestone 2 (Thomas Mortagne)
> 6. Re: [VOTE] Release XWS 1.0 Milestone 2 (Ludovic Dubost)
> 7. Re: Editing Xwiki core (Kamna Jain)
> 8. Re: Editing Xwiki core (Ludovic Dubost)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 1 Apr 2008 12:21:59 +0200
> From: "Jean-Vincent Drean" <jv(a)xwiki.com>
> Subject: Re: [xwiki-devs] [Proposal/Vote] New XMLRPC support
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <c58832290804010321o57411970v28dcd2df37592c70(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> +1 for integration during 1.4M2.
>
> On Mon, Mar 31, 2008 at 3:30 PM, Vincent Massol <vincent(a)massol.net>
> wrote:
> > +1 for it, but for 1.4M2 I think since 1.4M1 is planned to be released
> > ASAP and we need it as stable as possible.
> >
> > Thanks
> > -Vincent
> >
> > PS: Haven't looked at the code.
> >
> >
> >
> > On Mar 30, 2008, at 10:46 PM, Fabio Mancinelli wrote:
> >
> > > Dear all,
> > >
> > > I've lost a bit the schedule of the 1.4M1 release, but I would like
> > > to propose the integration of the new version of the XMLRPC support
> > > that I've finished to write.
> > >
> > > If it is too late for the 1.4M1 release I would like to propose its
> > > integration in the trunk for the next release.
> > >
> > > This new version of XMLRPC is needed for enabling XEclipse to access
> > > advanced XWiki functionalities, notably Objects and Classes
> > > retrieval and edition.
> > >
> > > The contribution consists of two parts:
> > >
> > > 1) A server side part that should replace the old
> > > com.xpn.xwiki.xmlrpc package. Differently from the previous version,
> > > the new one is completely coded against the XWiki API
> > > (com.xpn.xwiki.api) and doesn't use any other mechanism for
> > > performing operations (e.g., no calls to BaseObjects, etc.).
> > >
> > > 2) A client part that contains the data model and the tests. This
> > > client part is a mavenized-project of its own that should be used by
> > > all the clients wanting to access XWiki through XMLRPC. It is also
> > > used by the server-side part for what concerns the data-model (so
> > > the jar should also be available in the WEB-INF/lib)
> > >
> > > Of course the API is a superset of the Confluence one, so we are
> > > still compatible.
> > >
> > > In the attachments you will find all the commented code.
> > >
> > > WDYT?
> > >
> > > Cheers,
> > > Fabio
> > >
> > > P.S.: The server-side package is called com.xpn.xwiki.xmlrpc3 which
> > > reflects the different iterations I did on this piece of code and
> > > the fact that I didn't touch the current implementation for
> > > "security reasons" :) Of course it should replace
> > > com.xpn.xwiki.xmlrpc once integrated.
> >
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> --
> Jean-Vincent Drean
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 1 Apr 2008 13:22:09 +0200
> From: "Jean-Vincent Drean" <jv(a)xwiki.com>
> Subject: Re: [xwiki-devs] [Vote] Deactivate Wysiwyg editor for Safari
> in 1.3.1
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <c58832290804010422j3faf8473ge8fb103879f4a075(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Mar 31, 2008 at 5:34 PM, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
> >
> > hi,
> >
> > I've tried a bit all I could to make the wysiwyg editor work in Safari
> > (latest version on Leopard) and this was not a success.
> > I suggest to deactivate the editor from loading for Safari with a
> message
> > or not shown (depending on wysiwyg editor config).
> >
> > Here is my +1
> >
>
> +1 FTM.
>
> In the future I think we'll need to be able to configure some UI
> components according to the user agent (coincidence, I'm working on a
> POC of UserAgent Specific Interface on my spare time).
>
> --
> Jean-Vincent Drean
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 1 Apr 2008 13:36:15 +0200
> From: "Jean-Vincent Drean" <jv(a)xwiki.com>
> Subject: Re: [xwiki-devs] [VOTE] Release XE 1.3.1 ?
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <c58832290804010436i30bd8f21p109b2e1fb8d90995(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> four +1, no 0, no -1. Starting the release in 30min.
>
> Release notes :
>
> Bug
> ===
>
> * [XWIKI-921] - When using XWikiDocuments as resource bundles, no
> default value is used
> * [XWIKI-1605] - The WYSIWYG editor does not save for unprivileged
> users in Safari 3.0.3
> * [XWIKI-2130] - Document.getPreviousDocument() and
> Document.getPreviousVersion() seems not to work
> * [XWIKI-2193] - LDAP error message with stack trace in xwiki.log
> when processing invalid LDAP credentials. User gets "Internal Error"
> feedback on UI.
> * [XWIKI-2201] - LDAP group mapping defined in XWikiPreferences is not
> working
> * [XWIKI-2202] - LDAP user update corrupt XWiki user page
> * [XWIKI-2206] - Cookie domains not compliant with RFC 2109
> * [XWIKI-2208] - LDAP parameter "user_group" is not taken into account.
> * [XWIKI-2209] - XWiki GWT Api breaks UTF translations
> * [XWIKI-2210] - Can't use differents uid name configuration for the
> same ldap server for two differents wikis
> * [XWIKI-2211] - Cannot log in using Internet Explorer
> * [XWIKI-2215] - LDAP Authenticator should add proper error message
> in the context when authentication fail
> * [XWIKI-2235] - Cannot deploy XWiki as ROOT application
> * [XWIKI-2236] - doc#getLastChanges() does not work with the new
> versioning scheme
> * [XWIKI-2247] - The rendering component does not handle \\ and empty
> line correctly together
> * [XWIKI-2248] - DBTreeListClass needs to support translations
> * [XWIKI-2255] - Exception while saving some documents
> * [XWIKI-2258] - Empty page returned when login cookie with wrong IP
> address
> * [XWIKI-2260] - Wysiwyg editor needs to handle multiple carriage
> returns properly
>
> Improvement
> ===========
>
> * [XWIKI-2246] - Add Galician translation
>
> New Feature
> ===========
>
> * [XWIKI-2204] - Ability to set url redirections at the wiki level
> * [XWIKI-2205] - add better Active Directory support - case
> insensitive username
> * [XWIKI-2259] - Configurable prefix for authentication cookies
>
> On Thu, Mar 27, 2008 at 6:02 PM, Jean-Vincent Drean <jv(a)xwiki.com> wrote:
> > We'd like to release XE 1.3.1 as soon as possible (on march 28th or
> > april 1st). Here are the current changes done since 1.3 final :
> >
> > * XWIKI-2206 : Cookie domains not compliant with RFC 2019
> > * XWIKI-2130 : Document.getPreviousDocument() and
> > Document.getPreviousVersion() seems not to work
> > * XWIKI-2210 : Can't use differents uid name configuration for the
> > same ldap server for two differents wikis
> > * XWIKI-2211 : Cannot log in using Internet Explorer
> > * XWIKI-2248 : DBTreeListClass needs to support translations
> > * XWIKI-2215 : LDAP Authenticator should add proper error message in
> > the context when authentication fail
> > * XWIKI-2201 : LDAP group mapping defined in XWikiPreferences is not
> working
> > * XWIKI-2208 : LDAP parameter "user_group" is not taken into account
> > * XWIKI-2202 : LDAP user update corrupt XWiki user page
> > * XWIKI-2247 : The rendering component does not handle \\ and empty
> > line correctly together
> > * XWIKI-2209 : XWiki GWT Api breaks UTF translations
> > * XWIKI-2205 : add better Active Directory support - case insensitive
> username
> > * XWIKI-2235 : Cannot deploy XWiki as ROOT application
> > * XWIKI-2193 : LDAP error message with stack trace in xwiki.log when
> > processing invalid LDAP credentials. User gets "Internal Error"
> > feedback on UI.
> > * XWIKI-921 : When using XWikiDocuments as resource bundles, no
> > default value is used
> > * XWIKI-2236 : doc#getLastChanges() does not work with the new
> versioning scheme
> > * XWIKI-2255 : Exception while saving some documents
> > * XSTOUCAN-27 : Fields of Add Property Panel are shrinked in Class
> > Editor using IE7
> > * XSALBATROSS-22 : On IE7 the combo box for selecting Objects is not
> > large enough
> >
> > Here's my +1
> >
> > Anything else that's absolutely required for 1.3.1?
> >
> > Thanks,
> > --
> > Jean-Vincent Drean
> >
>
>
>
> --
> --
> Jean-Vincent Drean
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 1 Apr 2008 15:16:47 +0200 (CEST)
> From: "Jerome Velociter" <jerome(a)xwiki.com>
> Subject: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
> To: devs(a)xwiki.org
> Message-ID: <63278.86.203.70.140.1207055807.squirrel(a)mail.xwiki.com>
> Content-Type: text/plain;charset=iso-8859-1
>
> Dear devs,
>
> With a little delay regarding the planned roadmap, I would like to release
> XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
> before entering the release candidate cycle, and it will introduce the
> following :
>
> Bugs solved :
>
> * XWS-20 Gallery "folders" display problem
> * XWS-5 Permanently deleting a space doesn't work
> * XWS-21 Exception when editing an existing blog post
> * XWS-31 On IE7 the division between the content and the what's new gets
> munged
> * XWS-11 Workspace creation form data is not cleared after workspace
> creation
>
> Improvements :
>
> * XWS-9 Use activitystream plugin for space streams
> * XWS-34 Add a distribution-test module
> * XWS-35 Make XWS usable with albatross and toucan skins
> * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
> * XWS-27 Order images by upload timestamp
>
> New features :
>
> * XWS-8 Background color selection per workspace
> * XWS-4 Space User Directory
> * XWS-2 Implement a search inside workspaces
>
> For releasing XWS, I will also need to release the version 1.0 of the
> activitystream plugin (see
> http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as well
> as the version 1.11 of the xwiki-configuration-resources tool (see
> http://tinyurl.com/366ft4).
>
> Here is my +1 for all this.
>
> Regards,
> Jerome.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 1 Apr 2008 16:41:17 +0200
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <a8e97d9c0804010741w4ae805b5i31820f3506d6a5b6(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> +1
>
> On Tue, Apr 1, 2008 at 3:16 PM, Jerome Velociter <jerome(a)xwiki.com> wrote:
> > Dear devs,
> >
> > With a little delay regarding the planned roadmap, I would like to
> release
> > XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
> > before entering the release candidate cycle, and it will introduce the
> > following :
> >
> > Bugs solved :
> >
> > * XWS-20 Gallery "folders" display problem
> > * XWS-5 Permanently deleting a space doesn't work
> > * XWS-21 Exception when editing an existing blog post
> > * XWS-31 On IE7 the division between the content and the what's new
> gets
> > munged
> > * XWS-11 Workspace creation form data is not cleared after workspace
> creation
> >
> > Improvements :
> >
> > * XWS-9 Use activitystream plugin for space streams
> > * XWS-34 Add a distribution-test module
> > * XWS-35 Make XWS usable with albatross and toucan skins
> > * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
> > * XWS-27 Order images by upload timestamp
> >
> > New features :
> >
> > * XWS-8 Background color selection per workspace
> > * XWS-4 Space User Directory
> > * XWS-2 Implement a search inside workspaces
> >
> > For releasing XWS, I will also need to release the version 1.0 of the
> > activitystream plugin (see
> > http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as
> well
> > as the version 1.11 of the xwiki-configuration-resources tool (see
> > http://tinyurl.com/366ft4).
> >
> > Here is my +1 for all this.
> >
> > Regards,
> > Jerome.
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 01 Apr 2008 17:53:42 +0200
> From: Ludovic Dubost <ludovic(a)xwiki.org>
> Subject: Re: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
> To: XWiki Developers <devs(a)xwiki.org>
> Message-ID: <47F25A86.7000401(a)xwiki.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> +1
>
> Jerome Velociter wrote:
> > Dear devs,
> >
> > With a little delay regarding the planned roadmap, I would like to
> release
> > XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
> > before entering the release candidate cycle, and it will introduce the
> > following :
> >
> > Bugs solved :
> >
> > * XWS-20 Gallery "folders" display problem
> > * XWS-5 Permanently deleting a space doesn't work
> > * XWS-21 Exception when editing an existing blog post
> > * XWS-31 On IE7 the division between the content and the what's new gets
> > munged
> > * XWS-11 Workspace creation form data is not cleared after workspace
> creation
> >
> > Improvements :
> >
> > * XWS-9 Use activitystream plugin for space streams
> > * XWS-34 Add a distribution-test module
> > * XWS-35 Make XWS usable with albatross and toucan skins
> > * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
> > * XWS-27 Order images by upload timestamp
> >
> > New features :
> >
> > * XWS-8 Background color selection per workspace
> > * XWS-4 Space User Directory
> > * XWS-2 Implement a search inside workspaces
> >
> > For releasing XWS, I will also need to release the version 1.0 of the
> > activitystream plugin (see
> > http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as
> well
> > as the version 1.11 of the xwiki-configuration-resources tool (see
> > http://tinyurl.com/366ft4).
> >
> > Here is my +1 for all this.
> >
> > Regards,
> > Jerome.
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
> --
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 1 Apr 2008 12:03:58 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: Re: [xwiki-devs] Editing Xwiki core
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280804011003o78ee2959q412339c1187bacaa(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> OK. So I tried this - replaced my xwiki folder with the one I built
> (keeping
> the old hibernate.cfg.xml and xwiki.cfg)
> but, I get the folowwing error when I try to access my xwiki instance from
> IE.
>
> HTTP ERROR: 500
>
> Error number 3 in 0: Could not initialize main XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
> from param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: Could not create a DBCP pool
>
> RequestURI=/xwiki/bin/edit/Main/Browse
>
> I also tried keeoing the new hibernate.cfg.xml and xwiki.cfg, but that did
> not work either.
>
> The files that I used were from:
>
> \xwiki-product-enterprise\web\target folder. But this folder had 2 such
> folders that I could use to replace my current xwiki installation:
>
> 1) xwiki-enterprise-web-1.4-SNAPSHOT
>
>
> 2)xwiki-product-enterprise\web\target\war\work\com.xpn.xwiki.platform\xwiki-web-standard
>
> I tried both, but no luck..always the above error.
> *Contents of hibernate.cfg.xml
>
> *<?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
> "
> http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> <!-- Template for hibernate configuration. processing by maven using
> profiles.
> Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml -->
> <hibernate-configuration>
> <session-factory>
>
> <property name="show_sql">false</property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
>
> <!-- Please refer to the installation guide on
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> configuring your
> database. You'll need to do 2 things:
> 1) Copy your database driver JAR in WEB-INF/lib or in some shared
> lib directory
> 2) Uncomment the properties below for your specific DB
> -->
>
> <property name="connection.url
> ">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
> <property name="connection.username">sa</property>
> <property name="connection.password"></property>
> <property name="connection.driver_class">org.hsqldb.jdbcDriver
> </property>
> <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
>
> <property name="connection.provider_class">
> com.xpn.xwiki.store.DBCPConnectionProvider</property>
> <property name="connection.pool_size">2</property>
> <property name="statement_cache.size">2</property>
>
> <!-- Mapping files -->
> <mapping resource="xwiki.hbm.xml"/>
> <mapping resource="feeds.hbm.xml"/>
>
> *Contents of xwiki.cfg for storage:*
>
> xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
> xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
> xwiki.store.hibernate.updateschema=1
> xwiki.store.hibernate.custommapping=1
> xwiki.store.cache=1
> xwiki.store.cache.capacity=100
> xwiki.store.migration=1
>
>
> Please help!
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 01 Apr 2008 19:25:14 +0200
> From: Ludovic Dubost <ludovic(a)xwiki.org>
> Subject: Re: [xwiki-devs] Editing Xwiki core
> To: XWiki Developers <devs(a)xwiki.org>
> Message-ID: <47F26FFA.6090402(a)xwiki.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> The detailed exception will tell you the exact error.
> I suspect it could be the lacking presence of the hsqldb driver
>
> Ludovic
>
> Kamna Jain wrote:
> > OK. So I tried this - replaced my xwiki folder with the one I built
> (keeping
> > the old hibernate.cfg.xml and xwiki.cfg)
> > but, I get the folowwing error when I try to access my xwiki instance
> from
> > IE.
> >
> > HTTP ERROR: 500
> >
> > Error number 3 in 0: Could not initialize main XWiki context
> > Wrapped Exception: Error number 3001 in 3: Cannot load class
> > com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
> > from param xwiki.store.migration.manager.class
> > Wrapped Exception: Error number 0 in 3: Exception while hibernate
> execute
> > Wrapped Exception: Could not create a DBCP pool
> >
> > RequestURI=/xwiki/bin/edit/Main/Browse
> >
> > I also tried keeoing the new hibernate.cfg.xml and xwiki.cfg, but that
> did
> > not work either.
> >
> > The files that I used were from:
> >
> > \xwiki-product-enterprise\web\target folder. But this folder had 2 such
> > folders that I could use to replace my current xwiki installation:
> >
> > 1) xwiki-enterprise-web-1.4-SNAPSHOT
> >
> >
> 2)xwiki-product-enterprise\web\target\war\work\com.xpn.xwiki.platform\xwiki-web-standard
> >
> > I tried both, but no luck..always the above error.
> > *Contents of hibernate.cfg.xml
> >
> > *<?xml version='1.0' encoding='utf-8'?>
> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> > Configuration DTD//EN"
> > "
> > http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> > <!-- Template for hibernate configuration. processing by maven using
> > profiles.
> > Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml -->
> > <hibernate-configuration>
> > <session-factory>
> >
> > <property name="show_sql">false</property>
> > <property name="use_outer_join">true</property>
> >
> > <property name="dbcp.defaultAutoCommit">false</property>
> > <property name="dbcp.maxActive">50</property>
> > <property name="dbcp.maxIdle">5</property>
> > <property name="dbcp.maxWait">30000</property>
> > <property name="dbcp.whenExhaustedAction">1</property>
> > <property name="dbcp.ps.whenExhaustedAction">1</property>
> > <property name="dbcp.ps.maxActive">20</property>
> > <property name="dbcp.ps.maxWait">120000</property>
> > <property name="dbcp.ps.maxIdle">20</property>
> >
> > <!-- Please refer to the installation guide on
> > http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> > configuring your
> > database. You'll need to do 2 things:
> > 1) Copy your database driver JAR in WEB-INF/lib or in some
> shared
> > lib directory
> > 2) Uncomment the properties below for your specific DB
> > -->
> >
> > <property name="connection.url
> > ">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
> > <property name="connection.username">sa</property>
> > <property name="connection.password"></property>
> > <property name="connection.driver_class">org.hsqldb.jdbcDriver
> > </property>
> > <property name="dialect">org.hibernate.dialect.HSQLDialect
> </property>
> >
> > <property name="connection.provider_class">
> > com.xpn.xwiki.store.DBCPConnectionProvider</property>
> > <property name="connection.pool_size">2</property>
> > <property name="statement_cache.size">2</property>
> >
> > <!-- Mapping files -->
> > <mapping resource="xwiki.hbm.xml"/>
> > <mapping resource="feeds.hbm.xml"/>
> >
> > *Contents of xwiki.cfg for storage:*
> >
> > xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
> > xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
> > xwiki.store.hibernate.updateschema=1
> > xwiki.store.hibernate.custommapping=1
> > xwiki.store.cache=1
> > xwiki.store.cache.capacity=100
> > xwiki.store.migration=1
> >
> >
> > Please help!
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
> --
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>
>
> ------------------------------
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> End of devs Digest, Vol 10, Issue 3
> ***********************************
>
OK. So I tried this - replaced my xwiki folder with the one I built (keeping
the old hibernate.cfg.xml and xwiki.cfg)
but, I get the folowwing error when I try to access my xwiki instance from
IE.
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool
RequestURI=/xwiki/bin/edit/Main/Browse
I also tried keeoing the new hibernate.cfg.xml and xwiki.cfg, but that did
not work either.
The files that I used were from:
\xwiki-product-enterprise\web\target folder. But this folder had 2 such
folders that I could use to replace my current xwiki installation:
1) xwiki-enterprise-web-1.4-SNAPSHOT
2)xwiki-product-enterprise\web\target\war\work\com.xpn.xwiki.platform\xwiki-web-standard
I tried both, but no luck..always the above error.
*Contents of hibernate.cfg.xml
*<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Template for hibernate configuration. processing by maven using
profiles.
Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml -->
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Please refer to the installation guide on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared
lib directory
2) Uncomment the properties below for your specific DB
-->
<property name="connection.url
">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver
</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="connection.provider_class">
com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<!-- Mapping files -->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
*Contents of xwiki.cfg for storage:*
xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
xwiki.store.hibernate.updateschema=1
xwiki.store.hibernate.custommapping=1
xwiki.store.cache=1
xwiki.store.cache.capacity=100
xwiki.store.migration=1
Please help!
hi,
I've tried a bit all I could to make the wysiwyg editor work in Safari
(latest version on Leopard) and this was not a success.
I suggest to deactivate the editor from loading for Safari with a
message or not shown (depending on wysiwyg editor config).
Here is my +1
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Dear all,
I've lost a bit the schedule of the 1.4M1 release, but I would like to
propose the integration of the new version of the XMLRPC support that
I've finished to write.
If it is too late for the 1.4M1 release I would like to propose its
integration in the trunk for the next release.
This new version of XMLRPC is needed for enabling XEclipse to access
advanced XWiki functionalities, notably Objects and Classes retrieval
and edition.
The contribution consists of two parts:
1) A server side part that should replace the old com.xpn.xwiki.xmlrpc
package. Differently from the previous version, the new one is
completely coded against the XWiki API (com.xpn.xwiki.api) and doesn't
use any other mechanism for performing operations (e.g., no calls to
BaseObjects, etc.).
2) A client part that contains the data model and the tests. This
client part is a mavenized-project of its own that should be used by
all the clients wanting to access XWiki through XMLRPC. It is also
used by the server-side part for what concerns the data-model (so the
jar should also be available in the WEB-INF/lib)
Of course the API is a superset of the Confluence one, so we are still
compatible.
In the attachments you will find all the commented code.
WDYT?
Cheers,
Fabio
P.S.: The server-side package is called com.xpn.xwiki.xmlrpc3 which
reflects the different iterations I did on this piece of code and the
fact that I didn't touch the current implementation for "security
reasons" :) Of course it should replace com.xpn.xwiki.xmlrpc once
integrated.
Hi all,
Currently LDAP authentication does not support "." in login names.
The problem is not really at LDAP authenticator level but more
generally in XWiki which does not support "." in documents name.
As it will be too difficult to correct soon on XWiki and it's really
needed feature, I propose to add a workaround in LDAP : replace "."
with something else like "_" or nothing when creating/updating the
XWiki user from LDAP. The only problem here is that login and user
name will be different but it's not big issue in my point of view.
See http://jira.xwiki.org/jira/browse/XWIKI-2264
WDYT ?
If ok, another question is : only 1.4/trunk or also 1.3 branch ?
--
Thomas Mortagne
Hi Anca,
This should go as a XWiki Core issue and not as a Watch issue since
it's implemented in the core.
-Vincent
On Mar 31, 2008, at 10:16 PM, lucaa (SVN) wrote:
> Author: lucaa
> Date: 2008-03-31 22:16:48 +0200 (Mon, 31 Mar 2008)
> New Revision: 8798
>
> Added:
> xwiki-platform/web/trunk/gwt/src/main/java/com/xpn/xwiki/gwt/api/
> client/widgets/
> xwiki-platform/web/trunk/gwt/src/main/java/com/xpn/xwiki/gwt/api/
> client/widgets/WordListSuggestOracle.java
> Log:
> XWATCH-114: Added support for a multi-word SuggestBox, based on the
> native gwt suggest support.
>
hi devs,
In case of adding reviews i just thought to give a seperate interface with
Ajax based forms..I may connect to the Xwiki database in case of storing
those reviews.All the reviews would be anchoured so as to view in the future
with a identification tag just to identify the wiki user.
Is it ok to use Ajax based mechanism to adding reviews or what is the
expected way.I would be glad if u give me further information regarding to
the review application.What additional features should be there.
Thanking you
regards
hala
Hello fellow XWikiers,
Big big news are out for XWiki tonight : it looks like the French state has
started looking at us with specific goals in mind...
Check out http://www.xwiki.com/xwiki/bin/view/Blog/BigBigNews to see what I
mean...
I'll keep you all informed of what's happening as soon as I can get further
updates... Stay tuned !!
Guillaume
Hello XWiki users and developers.
My name is Eduard Moraru and I'm going to apply this year for Google Summer of Code at XWiki on the project XWiki Offline.
I am planning on embedding this project in the already existing XEclipse on which I've understood there is already some work done.
My problem is that I tried out XEclipse (xwiki-eclipse-rcp-linux-gtk-x86-1.1.zip and xwiki-eclipse-1.1.zip) on a local installation of XWiki (xwiki-enterprise-installer-generic-1.3.jar) using both user Admin and a new test user and did not manage to connect to the wiki.
I then tried to connect to xwiki.org using a newly registered account and it worked perfectly.
On the local installation, XEclipse pops an exception which I can't get past:
org.xwiki.eclipse.model.XWikiConnectionException:org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.xwiki.eclipse.model.impl.XWikiPlainConnection.connect(Unknown Source)
at org.xwiki.eclipse.wizards.NewConnectionWizard$1.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.xwiki.eclipse.model.impl.XWikiRemoteDAO.<init>(Unknown Source)
... 3 more
Caused by: org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:56)
at org.codehaus.swizzle.confluence.MapConvertor.revert(MapConvertor.java:39)
at org.codehaus.swizzle.confluence.Confluence.revert(Confluence.java:791)
at org.codehaus.swizzle.confluence.Confluence.getPage(Confluence.java:127)
... 4 more
Caused by: java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54 EEST 2007"
at java.text.DateFormat.parse(DateFormat.java:355)
at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:53)
... 7 more
I also posted a bug on JIRA at http://jira.xwiki.org/jira/browse/XECLIPSE-100 regarding this issue but I figured on the mailing list I'd get faster feedback.
My question is: Am I doing something wrong with my local installation? Are there some other privileges to give that I left out?
At a first look, I`d say It`s a hardcoded date "mer. juil. 11 18:57:54 EEST 2007"(it's always the same), left there during development, but I`m not sure if it`s on the XEclipse side or the XWiki side.
Thank you very much for your time and I await your suggestions.
____________________________________________________________________________________
No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends.
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
This would be the one you need to remove
xwiki-core-1.2-rc-1.jar
Now you will have runtime problems since you run 1.2 and build 1.4.
You should build the whole war and connect it to your wiki database
*>> But, mine is the standalone installation.
>>Should I uninstall this one and install the ".war" file?
>>or reinstall the stand alone verison again and then try to modify the
core?
>>Please advise.*
Or you should build the 1.2 branch but even this will be a problem since
you have a 1.2rc1 install apparently
Ludovic
On Mon, Mar 31, 2008 at 3:32 PM, <devs-request(a)xwiki.org> wrote:
> Send devs mailing list submissions to
> devs(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/devs
> or, via email, send a message with subject or body 'help' to
> devs-request(a)xwiki.org
>
> You can reach the person managing the list at
> devs-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of devs digest..."
>
>
> Today's Topics:
>
> 1. Re: How can I dynamically add group rights to a space?
> (Thomas Mortagne)
> 2. Re: How can I dynamically add group rights to a space?
> (Thomas Mortagne)
> 3. Editing the Xwiki core (Kamna Jain)
> 4. Re: Editing the Xwiki core (Thomas Mortagne)
> 5. Editing the Xwiki core (Kamna Jain)
> 6. Re: Editing the Xwiki core (Ludovic Dubost)
> 7. Re: [Vote] for Michael Holst as Curriki Commiter (Paul Libbrecht)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Mar 2008 20:56:58 +0200
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-devs] How can I dynamically add group rights to a
> space?
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <a8e97d9c0803311156j2044b5f2we0ed4b7f8a3cbafa(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Mar 31, 2008 at 8:06 PM, Glenn Everitt
> <Glenn.Everitt(a)compuware.com> wrote:
> >
> > Now I feel silly...I have been changing between my
> AppServerAuthServiceImpl
> > and XWiki Form based authentication by commenting and uncommenting
> >
> > xwiki.authentication=form
> > xwiki.authentication.validationKey=totototototototototototototototo
> > xwiki.authentication.encryptionKey=titititititititititititititititi
> > xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
> >
> > I lost my mind and left the Form authentication commented out and
> surprise
> > surprise it wouldn't authenticate!
> >
> > The suggestions from Thomas were very helpful. Here is the code that
> seems
> > to be working
> >
> > //add the view rights for the group to the page
> >
> > XWikiDocument spaceDoc = context.getWiki
> ().getDocument(spaceName+
> > "." + "WebPreferences", context);
> >
> > BaseObject rightsObject =
> > spaceDoc.getObject("XWiki.XWikiGlobalRights", true, context);
>
> I don't kno if it's what it want to do but here you get and momdify
> the first object XWiki.XWikiGlobalRights in the document. If there is
> already global rights configured for your space you will break it. You
> should use newObject(String classname, XWikiContext context) instead.
>
> > rightsObject.setLargeStringValue("groups", wikiGroupName);
> > rightsObject.setStringValue("levels", "view");
> > rightsObject.setLargeStringValue("users", "");
> > rightsObject.setIntValue("allow", 1);
> > context.getWiki().saveDocument(spaceDoc,
> > context.getMessageTool().get("core.comment.createdUser"), context);
> >
> >
> >
> >
> >
> >
> > Glenn Everitt wrote:
> > >
> > > Whoops..
> > > Well here is what I coded but it did something really bad - I can't
> even
> > > log in with superadmin. I guess I trashed the main
> XWiki.XWikiGlobalRight
> > > somehow. So is there a way to recover or do just need to reinstall?
> or
> > > could I just import an old export. Any hints on where I went wrong
> would
> > > be a big help.
> > >
> > > WARNING DO NOT USE THIS CODE!
> > >
> > > XWikiDocument spaceDoc = context.getWiki
> ().getDocument(spaceName+
> > > "." + "WebPreferences", context);
> > > spaceDoc.setParent("");
> > > spaceDoc.setAuthor("UGM");
> > > context.getWiki().saveDocument(spaceDoc, "UGM Created Space",
> > > context);
> > >
> > > BaseObject rightsObject =
> > > spaceDoc.getObject("XWiki.XWikiGlobalRights", true, context);
> > > rightsObject.setLargeStringValue("groups", wikiGroupName);
> > > rightsObject.setStringValue("levels", "view");
> > > rightsObject.setLargeStringValue("users", "");
> > > rightsObject.setIntValue("allow", 1);
> > > context.getWiki().saveDocument(spaceDoc,
> > > context.getMessageTool().get("core.comment.createdUser"), context);
> > >
> > > Thanks again
> > > Glenn Everitt
> > >
> > >
> > > Thomas Mortagne wrote:
> > >>
> > >> Hi,
> > >>
> > >> On Mon, Mar 31, 2008 at 4:45 AM, Glenn Everitt
> > >> <Glenn.Everitt(a)compuware.com> wrote:
> > >>>
> > >>> I've got existing groups of users in a proprietary system and I
> want to
> > >>> automatically create a new XWiki user and if this is the first
> user in
> > >>> the
> > >>> group I want to create a XWiki Space and an XWiki group. Finally,
> I
> > >>> want to
> > >>> authorize the XWiki Group within the XWiki Space.
> > >>>
> > >>> I can create the user similar to the CreateUserFromLDAP and I can
> > >>> create a
> > >>> group by creating a new XWikiDocument and adding a GroupClass
> object
> > >>> to it.
> > >>> Then I can add the user into the group by using
> > >>> XWikiGroupService.addUserToGroup. Next, I can create the space
> using
> > >>> SpaceManagerPluginApi.createSpace but I don't know how to give the
> > >>> group
> > >>> justed added rights in the space just added.
> > >>>
> > >>> I think I should use Xwiki.XWikiRights and Xwiki.XWikiGlobalRightsbut
> > >>> I
> > >>> can't figure out how to do this.
> > >>> I want to give Access Level rights to the added Group for the
> added
> > >>> Space.
> > >>
> > >> Look at
> > >> http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
> > >> for an example of how to configure a XWiki.XWikiRights (same as
> > >> XWiki.XWikiGlobalRights but on different scope) object.
> > >>
> > >> For you particular case you should edit <Space>.WebPreferences
> (where
> > >> are listed space rights) and edit/add XWiki.XWikiGlobalRights(because
> > >> you want to "globally" configure <Space> and not configure just
> > >> <Space>.WebPreferences document).
> > >>
> > >>>
> > >>> It would be great if someone could point me to an example or
> > >>> explanation of
> > >>> how to use XWikiRights.
> > >>>
> > >>> Help is always appreciated.
> > >>> Thanks
> > >>> Glenn Everitt
> > >>>
> > >>> --
> > >>> View this message in context:
> > >>>
> http://www.nabble.com/How-can-I-dynamically-add-group-rights-to-a-space--tp…
> > >>> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> > >>>
> > >>> _______________________________________________
> > >>> devs mailing list
> > >>> devs(a)xwiki.org
> > >>> http://lists.xwiki.org/mailman/listinfo/devs
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Thomas Mortagne
> > >> _______________________________________________
> > >> devs mailing list
> > >> devs(a)xwiki.org
> > >> http://lists.xwiki.org/mailman/listinfo/devs
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/How-can-I-dynamically-add-group-rights-to-a-space--tp…
> >
> >
> > Sent from the XWiki- Dev mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Mar 2008 21:00:43 +0200
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-devs] How can I dynamically add group rights to a
> space?
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <a8e97d9c0803311200v72f8f8c5q29ed2b7a60c7a1ec(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Mar 31, 2008 at 8:56 PM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com> wrote:
> > On Mon, Mar 31, 2008 at 8:06 PM, Glenn Everitt
> >
> > <Glenn.Everitt(a)compuware.com> wrote:
> > >
> >
> > > Now I feel silly...I have been changing between my
> AppServerAuthServiceImpl
> > > and XWiki Form based authentication by commenting and uncommenting
> > >
> > > xwiki.authentication=form
> > > xwiki.authentication.validationKey=totototototototototototototototo
> > > xwiki.authentication.encryptionKey=titititititititititititititititi
> > > xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
> > >
> > > I lost my mind and left the Form authentication commented out and
> surprise
> > > surprise it wouldn't authenticate!
> > >
> > > The suggestions from Thomas were very helpful. Here is the code
> that seems
> > > to be working
> > >
> > > //add the view rights for the group to the page
> > >
> > > XWikiDocument spaceDoc = context.getWiki
> ().getDocument(spaceName+
> > > "." + "WebPreferences", context);
> > >
> > > BaseObject rightsObject =
> > > spaceDoc.getObject("XWiki.XWikiGlobalRights", true, context);
> >
> Sorry the unreadable previous message ;)
> Maybe it's exactly what you want to do but here you get and modify the
> first object XWiki.XWikiGlobalRights in the document and create it if
> it does not exists. If there is already global right configured for
> your space you will break it. You should use newObject(String
> classname, XWikiContext context) instead.
> >
> >
> >
> > > rightsObject.setLargeStringValue("groups", wikiGroupName);
> > > rightsObject.setStringValue("levels", "view");
> > > rightsObject.setLargeStringValue("users", "");
> > > rightsObject.setIntValue("allow", 1);
> > > context.getWiki().saveDocument(spaceDoc,
> > > context.getMessageTool().get("core.comment.createdUser"), context);
> > >
> > >
> > >
> > >
> > >
> > >
> > > Glenn Everitt wrote:
> > > >
> > > > Whoops..
> > > > Well here is what I coded but it did something really bad - I
> can't even
> > > > log in with superadmin. I guess I trashed the main
> XWiki.XWikiGlobalRight
> > > > somehow. So is there a way to recover or do just need to
> reinstall? or
> > > > could I just import an old export. Any hints on where I went
> wrong would
> > > > be a big help.
> > > >
> > > > WARNING DO NOT USE THIS CODE!
> > > >
> > > > XWikiDocument spaceDoc = context.getWiki
> ().getDocument(spaceName+
> > > > "." + "WebPreferences", context);
> > > > spaceDoc.setParent("");
> > > > spaceDoc.setAuthor("UGM");
> > > > context.getWiki().saveDocument(spaceDoc, "UGM Created
> Space",
> > > > context);
> > > >
> > > > BaseObject rightsObject =
> > > > spaceDoc.getObject("XWiki.XWikiGlobalRights", true, context);
> > > > rightsObject.setLargeStringValue("groups", wikiGroupName);
> > > > rightsObject.setStringValue("levels", "view");
> > > > rightsObject.setLargeStringValue("users", "");
> > > > rightsObject.setIntValue("allow", 1);
> > > > context.getWiki().saveDocument(spaceDoc,
> > > > context.getMessageTool().get("core.comment.createdUser"),
> context);
> > > >
> > > > Thanks again
> > > > Glenn Everitt
> > > >
> > > >
> > > > Thomas Mortagne wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >> On Mon, Mar 31, 2008 at 4:45 AM, Glenn Everitt
> > > >> <Glenn.Everitt(a)compuware.com> wrote:
> > > >>>
> > > >>> I've got existing groups of users in a proprietary system and I
> want to
> > > >>> automatically create a new XWiki user and if this is the first
> user in
> > > >>> the
> > > >>> group I want to create a XWiki Space and an XWiki group.
> Finally, I
> > > >>> want to
> > > >>> authorize the XWiki Group within the XWiki Space.
> > > >>>
> > > >>> I can create the user similar to the CreateUserFromLDAP and I
> can
> > > >>> create a
> > > >>> group by creating a new XWikiDocument and adding a GroupClass
> object
> > > >>> to it.
> > > >>> Then I can add the user into the group by using
> > > >>> XWikiGroupService.addUserToGroup. Next, I can create the space
> using
> > > >>> SpaceManagerPluginApi.createSpace but I don't know how to give
> the
> > > >>> group
> > > >>> justed added rights in the space just added.
> > > >>>
> > > >>> I think I should use Xwiki.XWikiRights and
> Xwiki.XWikiGlobalRights but
> > > >>> I
> > > >>> can't figure out how to do this.
> > > >>> I want to give Access Level rights to the added Group for the
> added
> > > >>> Space.
> > > >>
> > > >> Look at
> > > >>
> http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
> > > >> for an example of how to configure a XWiki.XWikiRights (same as
> > > >> XWiki.XWikiGlobalRights but on different scope) object.
> > > >>
> > > >> For you particular case you should edit <Space>.WebPreferences
> (where
> > > >> are listed space rights) and edit/add XWiki.XWikiGlobalRights(because
> > > >> you want to "globally" configure <Space> and not configure just
> > > >> <Space>.WebPreferences document).
> > > >>
> > > >>>
> > > >>> It would be great if someone could point me to an example or
> > > >>> explanation of
> > > >>> how to use XWikiRights.
> > > >>>
> > > >>> Help is always appreciated.
> > > >>> Thanks
> > > >>> Glenn Everitt
> > > >>>
> > > >>> --
> > > >>> View this message in context:
> > > >>>
> http://www.nabble.com/How-can-I-dynamically-add-group-rights-to-a-space--tp…
> > > >>> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> > > >>>
> > > >>> _______________________________________________
> > > >>> devs mailing list
> > > >>> devs(a)xwiki.org
> > > >>> http://lists.xwiki.org/mailman/listinfo/devs
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Thomas Mortagne
> > > >> _______________________________________________
> > > >> devs mailing list
> > > >> devs(a)xwiki.org
> > > >> http://lists.xwiki.org/mailman/listinfo/devs
> > > >>
> > > >>
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> http://www.nabble.com/How-can-I-dynamically-add-group-rights-to-a-space--tp…
> > >
> > >
> > > Sent from the XWiki- Dev mailing list archive at Nabble.com.
> > >
> > > _______________________________________________
> > > devs mailing list
> > > devs(a)xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/devs
> > >
> >
> >
> >
> > --
> > Thomas Mortagne
> >
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 31 Mar 2008 14:49:36 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: [xwiki-devs] Editing the Xwiki core
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280803311249i38eee872n749cf7dc68afab32(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> Can anybody verify if the process I am following for modifying the Xwiki
> core correct or not (I don't see the expected changes..and hence the
> concern!)
>
> I have the standalone version (for Windows) of Xwiki enterprise installed
> on
> my system.
>
> I am trying to see which module is invoked whenever I upload/delete
> attachments from any of the wiki pages and for this
> 1) I included some println statements in "
> com.xpn.xwiki.store.XWikiHibernateAttachmentStore.java" and in "
> com.xpn.xwiki.web.DeleteAttachmentAction.java"
> 2) built the xwiki-core (sometimes I also tried to built the Xwiki
> enterprise app itslef)
> 3) added the jar created - "xwiki-core-1.4-SNAPSHOT.jar" to the WEB-INf /
> lib folder of my XWiki installation (Is this what I shd be doing for
> changes
> to take effect?)
> 4) run the xwiki server
> 5) try to do some delete or attach actions, but I do not see the messages
> (from the println statements) in the start xwiki server command prompt.
> (Am
> I looking at the right place for the print msgs.?)
> Can anybody point out which step am I going wrong at?
> Basically, I want to figure out the process of modifying the core and
> seeing
> the changes in the XWiki Enterprise App I am running. (This will help me
> when I start adding the SVN integration capability to the core. I need to
> know what I am doing works or not?)
>
> Thanks for any help in this issue.
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 31 Mar 2008 22:01:50 +0200
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-devs] Editing the Xwiki core
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <a8e97d9c0803311301w6b89b00du9cc42178a2feb887(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> On Mon, Mar 31, 2008 at 9:49 PM, Kamna Jain <kammy.scorpi(a)gmail.com>
> wrote:
> > Hello all,
> >
> > Can anybody verify if the process I am following for modifying the
> Xwiki
> > core correct or not (I don't see the expected changes..and hence the
> > concern!)
> >
> > I have the standalone version (for Windows) of Xwiki enterprise
> installed on
> > my system.
> >
> > I am trying to see which module is invoked whenever I upload/delete
> > attachments from any of the wiki pages and for this
> > 1) I included some println statements in "
> > com.xpn.xwiki.store.XWikiHibernateAttachmentStore.java" and in "
> > com.xpn.xwiki.web.DeleteAttachmentAction.java"
> > 2) built the xwiki-core (sometimes I also tried to built the Xwiki
> > enterprise app itslef)
> > 3) added the jar created - "xwiki-core-1.4-SNAPSHOT.jar" to the WEB-INf
> /
> > lib folder of my XWiki installation (Is this what I shd be doing for
> changes
> > to take effect?)
> > 4) run the xwiki server
> > 5) try to do some delete or attach actions, but I do not see the
> messages
> > (from the println statements) in the start xwiki server command prompt.
> (Am
> > I looking at the right place for the print msgs.?)
> > Can anybody point out which step am I going wrong at?
> > Basically, I want to figure out the process of modifying the core and
> seeing
> > the changes in the XWiki Enterprise App I am running. (This will help
> me
> > when I start adding the SVN integration capability to the core. I need
> to
> > know what I am doing works or not?)
>
> Check if you have another xwiki-core-*.jar in WEB-INf/lib folder, it's
> a common error. Escpecially has there if you have a released version
> of XE as there is no 1.4.* version released yet.
>
> >
> > Thanks for any help in this issue.
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 31 Mar 2008 15:17:47 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: [xwiki-devs] Editing the Xwiki core
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280803311317w8188702y4ba45d2a28c372e6(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> These are all the xwiki-core-* jars that I have in the WEB_INF \ lib
> folder
> -
>
> xwiki-core-1.2-rc-1.jar
> *xwiki-core-1.4-SNAPSHOT.jar - This is the one I keep replacing with the
> new
> one everytime I build the core*
> xwiki-core-action-1.2-rc-1.jar
> xwiki-core-component-1.2-rc-1.jar
> xwiki-core-component-1.3-SNAPSHOT.jar
> xwiki-core-container-api-1.2-rc-1.jar
> xwiki-core-container-servlet-1.2-rc-1.jar
> xwiki-core-plexus-1.2-rc-1.jar
> xwiki-core-url-1.2-rc-1.jar
>
> Am I supposed to replace all of these?
>
> Thanks
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 31 Mar 2008 22:23:21 +0200
> From: Ludovic Dubost <ludovic(a)xwiki.org>
> Subject: Re: [xwiki-devs] Editing the Xwiki core
> To: XWiki Developers <devs(a)xwiki.org>
> Message-ID: <47F14839.4070901(a)xwiki.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> This would be the one you need to remove
>
> xwiki-core-1.2-rc-1.jar
>
>
> Now you will have runtime problems since you run 1.2 and build 1.4.
> You should build the whole war and connect it to your wiki database
> Or you should build the 1.2 branch but even this will be a problem since
> you have a 1.2rc1 install apparently
>
> Ludovic
>
> Kamna Jain wrote:
> > These are all the xwiki-core-* jars that I have in the WEB_INF \ lib
> folder
> > -
> >
> > xwiki-core-1.2-rc-1.jar
> > *xwiki-core-1.4-SNAPSHOT.jar - This is the one I keep replacing with the
> new
> > one everytime I build the core*
> > xwiki-core-action-1.2-rc-1.jar
> > xwiki-core-component-1.2-rc-1.jar
> > xwiki-core-component-1.3-SNAPSHOT.jar
> > xwiki-core-container-api-1.2-rc-1.jar
> > xwiki-core-container-servlet-1.2-rc-1.jar
> > xwiki-core-plexus-1.2-rc-1.jar
> > xwiki-core-url-1.2-rc-1.jar
> >
> > Am I supposed to replace all of these?
> >
> > Thanks
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
> --
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 31 Mar 2008 22:32:54 +0200
> From: Paul Libbrecht <paul(a)activemath.org>
> Subject: Re: [xwiki-devs] [Vote] for Michael Holst as Curriki Commiter
> To: XWiki Developers <devs(a)xwiki.org>
> Message-ID: <CD47A163-B098-4125-8CC4-3AFA0632901E(a)activemath.org>
> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
>
> Erm,
>
> I'm not (yet) a curriki committer but I believe Michael has already
> helped me so would be welcome.
>
> paul
>
>
> Le 28 mars 08 ? 09:48, Vincent Massol a ?crit :
>
> > Note: Since this is for the curriki project I believe only curriki
> > committers should vote.
> >
> > Thanks
> > -Vincent
> >
> > On Mar 27, 2008, at 11:06 PM, David Ward wrote:
> >
> >> Michael is working for Curriki and we would like to add him as a
> >> Curriki committer.
> >>
> >>
> >> David Ward
> >> dward(a)curriki.org
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
>
>
>
> ------------------------------
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> End of devs Digest, Vol 9, Issue 107
> ************************************
>
Hi
Hi devs, I would like to apply for the SSO project. I'm a fellow from Sweden
and I'm studying at Chalmers university of Gothenburg. This would be my
first
step into the open source developing community and I feel really excited
about
contributing to it. I really must apologize for not having introduced myself
directly
after subscribeing to the list since it's more important with doing that
than
playing with the xwiki code :P.
I think the SSO project is very interesting and I would really enjoy
implementing it.
The webauth standards are being changed with things as OpenId and other
centralized authentication services and the market has made a huge leap the
last
year when several big actors agreed on using it on their services and this
is why I
became so interested in it. Oh I forgot my name: Erik Fonselius ~ Fonsan
Greetings
These are all the xwiki-core-* jars that I have in the WEB_INF \ lib folder
-
xwiki-core-1.2-rc-1.jar
*xwiki-core-1.4-SNAPSHOT.jar - This is the one I keep replacing with the new
one everytime I build the core*
xwiki-core-action-1.2-rc-1.jar
xwiki-core-component-1.2-rc-1.jar
xwiki-core-component-1.3-SNAPSHOT.jar
xwiki-core-container-api-1.2-rc-1.jar
xwiki-core-container-servlet-1.2-rc-1.jar
xwiki-core-plexus-1.2-rc-1.jar
xwiki-core-url-1.2-rc-1.jar
Am I supposed to replace all of these?
Thanks
Hello all,
Can anybody verify if the process I am following for modifying the Xwiki
core correct or not (I don't see the expected changes..and hence the
concern!)
I have the standalone version (for Windows) of Xwiki enterprise installed on
my system.
I am trying to see which module is invoked whenever I upload/delete
attachments from any of the wiki pages and for this
1) I included some println statements in "
com.xpn.xwiki.store.XWikiHibernateAttachmentStore.java" and in "
com.xpn.xwiki.web.DeleteAttachmentAction.java"
2) built the xwiki-core (sometimes I also tried to built the Xwiki
enterprise app itslef)
3) added the jar created - "xwiki-core-1.4-SNAPSHOT.jar" to the WEB-INf /
lib folder of my XWiki installation (Is this what I shd be doing for changes
to take effect?)
4) run the xwiki server
5) try to do some delete or attach actions, but I do not see the messages
(from the println statements) in the start xwiki server command prompt. (Am
I looking at the right place for the print msgs.?)
Can anybody point out which step am I going wrong at?
Basically, I want to figure out the process of modifying the core and seeing
the changes in the XWiki Enterprise App I am running. (This will help me
when I start adding the SVN integration capability to the core. I need to
know what I am doing works or not?)
Thanks for any help in this issue.
I've got existing groups of users in a proprietary system and I want to
automatically create a new XWiki user and if this is the first user in the
group I want to create a XWiki Space and an XWiki group. Finally, I want to
authorize the XWiki Group within the XWiki Space.
I can create the user similar to the CreateUserFromLDAP and I can create a
group by creating a new XWikiDocument and adding a GroupClass object to it.
Then I can add the user into the group by using
XWikiGroupService.addUserToGroup. Next, I can create the space using
SpaceManagerPluginApi.createSpace but I don't know how to give the group
justed added rights in the space just added.
I think I should use Xwiki.XWikiRights and Xwiki.XWikiGlobalRights but I
can't figure out how to do this.
I want to give Access Level rights to the added Group for the added Space.
It would be great if someone could point me to an example or explanation of
how to use XWikiRights.
Help is always appreciated.
Thanks
Glenn Everitt
--
View this message in context: http://www.nabble.com/How-can-I-dynamically-add-group-rights-to-a-space--tp…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi all,
I'm rewriting the statistics database storage to speed up the process
as much as I can (see http://jira.xwiki.org/jira/browse/XWIKI-2249)
and i also cleaning the statistics module.
I found com.xpn.xwiki.stats.api.DocStats in the statistics service api
but I can't find any place where it is used even in the service api
itself.
If no one can ask to this I would propose to remove it.
--
Thomas Mortagne
HI Devs,
I get the following error repeatedly, but the build is proceeding without
problems.
<dump>
[WARNING] Attempting to build MavenProject instance for Artifact (groovy:
groovy-all-1.0-jsr:06) of type: jar; constructing POM artifact instead.
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://maven2.mirrors.skynet.be/pub/maven2/groovy/groovy-all-1.0-jsr/06/gro…
org.apache.maven.project.ProjectBuildingException: POM 'groovy:
groovy-all-1.0-jsr' not found in repository: Unable to download the artifact
from any repository
groovy:groovy-all-1.0-jsr:pom:06
from the specified remote repositories:
xwiki-releases (http://maven.xwiki.org/releases),
central (http://repo1.maven.org/maven2),
xwiki-snapshots (http://maven.xwiki.org/snapshots),
xwiki-externals (http://maven.xwiki.org/externals)
for project groovy:groovy-all-1.0-jsr
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:526)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody2
(DefaultMavenProjectBuilder.java:208)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody3$advice
(DefaultMavenProjectBuilder.java:206)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:1)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody0
(DefaultMavenProjectBuilder.java:199)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody1$advice
(DefaultMavenProjectBuilder.java:206)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:1)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects
(ProcessRemoteResourcesMojo.java:387)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.configureVelocityContext
(ProcessRemoteResourcesMojo.java:547)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(
ProcessRemoteResourcesMojo.java:316)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:549)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:544)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:149)
at org.apache.maven.DefaultMaven.execute_aroundBody0(
DefaultMaven.java:223)
at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(
DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody4(
MavenEmbedder.java:880)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody5$advice(
MavenEmbedder.java:304)
at org.apache.maven.embedder.MavenEmbedder.execute(
MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(
Launcher.java:351)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository
groovy:groovy-all-1.0-jsr:pom:06
from the specified remote repositories:
xwiki-releases (http://maven.xwiki.org/releases),
central (http://repo1.maven.org/maven2),
xwiki-snapshots (http://maven.xwiki.org/snapshots),
xwiki-externals (http://maven.xwiki.org/externals)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:254)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:83)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:488)
... 29 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:352)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:239)
... 31 more
</dump>
How should i fix this ?
Thanks.
- Asiri
Good day.
During building of xwiki enterprise from latest svn sources, I receive error:
Package: document XWiki.WatchListMessage does not exist in package definition
(detailed stack trace is below)
It's svn in unstable state or I'm doing something wrong ?
[INFO] Building XWiki Products - Enterprise - Database - HSQLDB
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
[INFO] [remote-resources:process]
[INFO] [remote-resources:process]
[INFO] [xwiki-xar:unxar]
[INFO] [xwiki-packager-plugin:import]
2008-03-31 16:04:53,219 [] [main] WARN impl.OSCacheService -
Could not load cache properties oscache.properties: null
2008-03-31 16:04:53,227 [] [main] WARN impl.OSCacheService -
Could not load cache properties oscache-local.properties: null
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to import XWiki documents
Embedded error: Error number 0 in 5: Package: document XWiki.WatchListMessage
does not exist in package definition
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Failed to import XWiki documents
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:308)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:377)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
import XWiki documents
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:384)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:260)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:304)
... 11 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to import
XWiki documents
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:66)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:618)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:359)
... 14 more
Caused by: com.xpn.xwiki.plugin.packaging.PackageException: Error number 0 in
5: Package: document XWiki.WatchListMessage does not exist in package definition
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:1022)
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:999)
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:1060)
at com.xpn.xwiki.tool.backup.Importer.importDocuments(Importer.java:71)
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:64)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Mar 31 16:04:59 EEST 2008
[INFO] Final Memory: 29M/52M
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] XWiki Products - Enterprise - Parent POM .............. SUCCESS [4.199s]
[INFO] XWiki Products - Enterprise - Wiki .................... SUCCESS [1.783s]
[INFO] XWiki Products - Enterprise - Database - Parent POM ... SUCCESS [0.847s]
[INFO] XWiki Products - Enterprise - Database - HSQLDB ....... FAILED [11.276s]
[INFO] XWiki Products - Enterprise - Web ..................... NOT BUILT
[INFO] XWiki Products - Enterprise - Distribution - Parent POM NOT BUILT
[INFO] XWiki Products - Enterprise - Distribution - HSQLDB ... NOT BUILT
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: XWiki Products - Enterprise - Database - HSQLDB
(during com.xpn.xwiki.platform.tools:xwiki-packager-plugin:1.10-SNAPSHOT:import)
[INFO] ------------------------------------------------------------------------
[INFO] Failed to import XWiki documents
Embedded error: Error number 0 in 5: Package: document XWiki.WatchListMessage
does not exist in package definition
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to import XWiki
documents
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:384)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:260)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:377)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to import
XWiki documents
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:66)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:618)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:359)
... 14 more
Caused by: com.xpn.xwiki.plugin.packaging.PackageException: Error number 0 in
5: Package: document XWiki.WatchListMessage does not exist in package definition
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:1022)
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:999)
at com.xpn.xwiki.plugin.packaging.Package.readFromDir(Package.java:1060)
at com.xpn.xwiki.tool.backup.Importer.importDocuments(Importer.java:71)
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:64)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD ERRORS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Mar 31 16:04:59 EEST 2008
[INFO] Final Memory: 29M/52M
[INFO] ------------------------------------------------------------------------
FATAL ERROR: Unable to configure the Maven application
Error stacktrace:
org.apache.maven.reactor.MavenExecutionException: Some builds failed
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:377)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
[rssh@a22 xwiki-product-enterprise]$
--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua
There is a new GWT api using restlets which seems to allow to access a
REST api as GWT Objects..
This sounds exactly what we would need. If we merge the current gwt api
with the web api to make a fully REST api, then we would get rid of the
GWT-RPC api while still having the benefits of gwt like api
(maybe)
http://www.ongwt.com/post/2008/03/29/GWT-Rest
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Result : 6 +1
* Vincent +1
* Sergiu +1
* Thomas +1
* JV +1
* Ludovic +1
* Jerome +1
You are now a XWiki committer Anca, welcome aboard !
Regards,
Jerome.
> Hi XWiki Committers,
>
> I'd like to vote Anca Paula Luca as XWiki core committer. She's been a
> committer on XWiki Watch for a long time, she understand the xwiki dev
> process and she wants to work on our core GWT support to move it to
> use GWT 1.4.
>
> You can see her work here:
> http://svn.xwiki.org/svnroot/xwiki/xwiki-platform/web/branches/xwiki-web-gw…
>
> I feel she would be a great committer and she's interested in
> maintaing and improving this GWT code on the long run.
>
> Note that I have little idea how good the code on that branch is since
> I have not touched GWT yet but I trust Anca to do a good job and
> improve it if the quality is not to the par.
>
> Here's my +1
>
> Thanks
> -Vincent
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Hi All,
I was so fed-up of the central maven repository because it is too damn slow
here (srilanka). So I searched a bit and found this
article<http://maven.apache.org/guides/mini/guide-mirror-settings.html>,
which explains how to add mirrors to your settings.xml file.
For me, the following mirror setting seems to work a lot faster (though i
don't know how)
<mirrors>
<mirror>
<id>skynet.be</id>
<url>http://maven2.mirrors.skynet.be/pub/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Belgium -->
</mirror>
</mirrors>
I want to know whether this is a good idea (i mean the use of other
mirrors). Will there be any unforeseen issues ?
Thanks a lot.
- Asiri