Hi all,
Now I only have pom.xml, the guide says I should run->Ant Building,
however, I haven't found build.xml in my project. What should I do to build
xwiki in Eclipse but not run mvn install?
Regards,
Switchoo
On Mar 14, 2008, at 12:02 AM, sdumitriu (SVN) wrote:
[snip]
> @@ -179,6 +178,8 @@
> LOG.error("Remember Me function will be disabled!!");
> return;
> }
> + protectedUsername = protectedUsername.replaceAll("=",
> "_");
> + protectedPassword = protectedPassword.replaceAll("=",
> "_");
I think these statements would warrant a nice comment explaining why
we're doing this.
Same where the opposite operation is performed.
Thanks
-Vincent
Writing java code not not necessary unless developing a pluign.
You may want to look at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
The is the best place to start with velocity code in wiki pages to build
applications to extend xwiki.
Thanks
Sachin
Message: 5
> Date: Thu, 13 Mar 2008 16:27:49 +0100
> From: "Jean-Vincent Drean" <jv(a)xwiki.com>
> Subject: Re: [xwiki-devs] Developing/Extending XWiki
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <c58832290803130827r62d31d22ke208fed3d00674a(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> you might be interested by this article written by Vincent :
> http://www.theserverside.com/tt/articles/article.tss?l=XWiki
> This article explains how to create simple applications inside XWiki
> using xwiki development capabilies (objects and classes).
>
> JV.
>
> On Thu, Mar 13, 2008 at 3:57 PM, Kamna Jain <kammy.scorpi(a)gmail.com>
> wrote:
> > Hello,
> >
> > Thanks Guillaume and Sergiu.
> > I have another Question:
> >
> > We are looking at using XWiki to build an appication to be used within
> the
> > company. I downloadd the XWiki Enterprise and am running it local on my
> > system. I have started customizing the pages just to get a feel of how
> the
> > application would look.
> > Say, for example as a developer, if I wanted to insert an HTML form into
> one
> > of the pages and ask users to fill that in for me. How exactly should I
> > process the user input. Should I write Java code which will be a part of
> the
> > XWiki Enterprise package or will it be a part of the XWiki Platform
> core?
> > I am a little confused on this issue. Any insight will help immensely.
> >
> > Thanks
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
There is a slight bug in xwiki skin.
in editinline.vm please add the following line:
<input type="hidden" name="parent" value="$!request.parent" />
where other hidden params are added.
I have posted a JIRA issue on the same, but looks like nothing has been done
on this front.
Thanks
Sachin
Message: 6
> Date: Thu, 13 Mar 2008 16:34:47 +0100
> From: "nitin wankhede" <nwankhede(a)gmail.com>
> Subject: Re: [xwiki-devs] Creating Pages based on available Templates
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <1f6741640803130834l2b8ec6a8r4fa7da5cb579181e(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Sergiu,
>
> Thanks for the information, I understand how NewPage panel works.
> I have created a drop down list of templates and Spaces. Now i want users
> to
> select the template and Space from the drop down while creating new pages.
> While doing this i can create new page with selected parate but new page
> always created in current space.
>
> Do you know why this is happening.
>
> Below is the modified code:
>
>
> #if($hasedit)
> #panelheader($msg.get("Create New Page"))
> <form method="post" action="$doc.getURL("view","xpage=create")" onsubmit =
> "cancelCancelEdit()">
> <div class="padded centered">
> #set($spaces = $xwiki.spaces)
> #set($first = true)
> <select name="parent" class="panelselect" >
> #foreach($space in $spaces)
> #if($first)
> #set($first = false)
> #else
> ## <span class="pitemseparator">|</span>
> #end
> #if($space == $doc.web)
> <option value=${space}.WebHome>${space}</option>
> #else
> <option value=${space}.WebHome>${space}</option>
> #end
> #end
> </select>
>
> <select name="template" class="panelselect">
> <option value="MySpace.tempClassTemplate">Screen template</option>
> <option value="MySpace.Report Template">Report Template</option>
> </select>
> <div class="padded centered">
> <select name="tocreate" class="panelselect">
> <option value="page">New Page\*</option>
> <option value="space">New Space</option>
> <option value="post">New Blog Post</option>
> </select>
> </div>
>
> <input type="text" name="title" value="Title" class="panelinput"
> style="margin:auto;" onfocus="if(this.value=='Title') this.value=''"
> onblur="if(this.value=='') this.value='Title'"/>
> </div>
>
> <div class="padded centered" style="text-align:center;">
> <input type="submit" class="button" style="margin:auto;"
> value="$msg.get("create")"/>
> </div>
> <p style="font-size:0.75em;padding-left:8px;">*New pages are created in
> current space</p>
> </form>
> #panelfooter()
> #end
>
>
>
>
> On 3/13/08, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> >
> > nitin wankhede wrote:
> > > Hi All,
> > >
> > > We are building Knowledge managment system for our internal use. We
> want
> > > to give an option to user so that he/she can create new page in
> selected
> > > space based on templates. I tried modifying the Create New panel by
> > > adding drop down list of templates and existing spaces
> > > respectively, however not able to create new pages in selected space
> > > using available templates. Please reply if you know how to solve
> this.
> > >
> >
> > The panel is just an interface, the real code that creates pages is in
> > /templates/create.vm (if you're using XE 1.3) or in
> > /skins/albatross/create.vm
> >
> > --
> > Sergiu Dumitriu
> > http://purl.org/net/sergiu/
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
Hello,
Thanks Guillaume and Sergiu.
I have another Question:
We are looking at using XWiki to build an appication to be used within the
company. I downloadd the XWiki Enterprise and am running it local on my
system. I have started customizing the pages just to get a feel of how the
application would look.
Say, for example as a developer, if I wanted to insert an HTML form into one
of the pages and ask users to fill that in for me. How exactly should I
process the user input. Should I write Java code which will be a part of the
XWiki Enterprise package or will it be a part of the XWiki Platform core?
I am a little confused on this issue. Any insight will help immensely.
Thanks
Hi All,
We are building Knowledge managment system for our internal use. We want to
give an option to user so that he/she can create new page in selected space
based on templates. I tried modifying the Create New panel by adding drop
down list of templates and existing spaces respectively, however not able to
create new pages in selected space using available templates. Please reply
if you know how to solve this.
Regards
Nitin
Sergiu Dumitriu <sergiu(a)xwiki.com> writes:
>Jean-Vincent Drean wrote:
>> On Tue, Mar 11, 2008 at 9:29 PM, <Dowson_Jim(a)emc.com> wrote:
>> Vincent Massol writes:
>>>
>>> >> - proper versioning (if 2 different users upload the same
>>> document name)
>>>
>>> > What's not working with versioning of attachments? I don't recall
>>> > seeing a problem about this.
>>>
>>> It might only be under 1.2 - but if someone downloads an attachment
>>> created by a different user, updates it & then uploads the file
under
>>> the same name, it does not appear as a version of the prior
document -
>>> it's a new document.
>>>
>>> To get around this we had to have folks doing updates to
authenticate
>>> under the same username (for one particular document).
>>>
>>
>> FWIW I'm not able to reproduce it with 1.4M1 [1].
>>
>> [1] :
http://img206.imageshack.us/my.php?image=multipleauthorattachja4.png
>>
I'm not able to see that link, but I take your word for it.
> I am not able to reproduce it with 1.2.0 or 1.2.2, and as far as I
know
> nobody ever reported a similar problem, and there never were any code
> that considered the user name when uploading files.
> Also, if the files have the same name, it is impossible to store them
> separately, as they are put in a table indexed (unique key constraint)
> by a hash function on the attachment + wiki document name.
There have been some error messages on the console for this instance
(1.2M2 upgraded to 1.2RC2).
I'll attempt to reproduce (per the user's experience) and let you know.
Thanks, Sergiu
Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> Dowson_Jim(a)emc.com wrote:
>>>> We're looking to contribute the notion of a simple reputation
engine
>>>> (user and content rating) that we have in prototype now.
>>
>>> Very cool!
>>
>> How should we best do this? Show the code here (or devs)?
> When you have something shareable, better put it somewhere on your
> servers, or on public hosting, and send a link to the devs or users
> list. After that, we'll see.
Sorry, not possible (yet).
--
Jim Dowson
CTO, Global Services, EMC Corporation
Linx: (617) 598-0505
One problem I had was the schema name I was using was "xwiki" however the
user name I was using was "p8xwiki". I guess they need to be the same so
that the default schema name can be determined from the user name. I am
using an Oracle database so I didn't expect this requirement. I had also
tried to use "p8xiki" as the schema name and the user name and add this
entry
<property name="default_schema">p8xwiki</property>
into the hibernate.cfg.xml file to tell it to use a p8xwiki as the default
schema but I didn't get this to work.
I also had to use the newest jdbc driver I could find for Oracle in the
ojdbc14.jar manifest file it lists: Specification-Version: Oracle JDBC
Driver version - "10.2.0.4.0" and this version worked but this version
didn't Specification-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
Glenn Everitt
Everitt, Glenn wrote:
>
>>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
>
>> From: Everitt, Glenn
>> Sent: Tuesday, March 11, 2008 10:27 PM
>> To: 'devs(a)xwiki.org'
>> Subject: Xwiki Enterprise / Oracle Install problem
>>
>> You have been a big help as I learn how to configure and set up this
>> great product and I hope you can help again. I couldn't find anything
>> in jira that matched this problem or the release notes.
>>
>> I have installed the xwiki-enterprise-web-1.3.war successfully
>> install on one system using "Oracle9i Enterprise Edition Release
>> 9.2.0.5.0 - Production"
>>
>> However when I install it on another Redhat 3 system with Tomcat 5.5 /
>> "Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production" I
>> have a problem during database intialization (see xwiki.log snippet
>> below).
>>
>> The "Failed to load the xwiki.cfg" message - I believe to be an
>> incorrrect message. However, the messages/exceptions further down
>> seem to be a real problem I think this is the important lines:
>>
>> 2008-03-11 14:21:16,557
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] ERROR store.XWikiHibernateBaseStore - Failed
>> updating schema while executing query "update xwikidoc set
>> xwd_translation=0 where xwd_translation is null"
>> java.sql.SQLException: ORA-00942: table or view does not exist
>>
>> This statement looks like it failed to do the update because the table
>> name isn't qualified with the schema name at least that is my guess.
>> I don't know why it doesn't have the schema name. Any help here would
>> be very very appreciated.....
>>
>> I would also like to know if there is a way to install to a schema
>> named something other than "xwiki". I would to create another schema
>> for xwiki enterprise on the same DBMS at least until I figure out how
>> to use virtual wikis.
>>
>> Thanks for any help...and Thanks for a great product.
>>
>> Xwiki.log - sorry this is big
>>
>> 2008-03-11 14:21:10,416
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG xwiki.XWiki - Failed to load
>> the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context.
>> Trying to load it as classpath resource...
>> 2008-03-11 14:21:10,418
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG xwiki.XWiki - Failed to load
>> the file [/WEB-INF/xwiki.cfg] using any method.
>> 2008-03-11 14:21:10,535
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Hibernate
>> configuration file: [/WEB-INF/hibernate.cfg.xml]
>> 2008-03-11 14:21:10,541
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Initializing
>> OSCacheService
>> 2008-03-11 14:21:10,541
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Loading cache
>> properties: oscache.properties
>> 2008-03-11 14:21:10,542
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Properties
>> loaded: oscache.properties
>> 2008-03-11 14:21:10,542
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Loading cache
>> properties: oscache-local.properties
>> 2008-03-11 14:21:10,542
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Properties
>> loaded: oscache-local.properties
>> 2008-03-11 14:21:10,543
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Initialized
>> OSCacheService
>> 2008-03-11 14:21:10,560
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Created Cache
>> # 1 of size 100 at Tue, 11 Mar 2008 14:21:10 +0000, current count is 1
>>
>> 2008-03-11 14:21:10,560
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO impl.OSCacheService - Created Cache
>> # 2 of size 10000 at Tue, 11 Mar 2008 14:21:10 +0000, current count is
>> 2
>> 2008-03-11 14:21:10,564
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Hibernate
>> configuration file: [/WEB-INF/hibernate.cfg.xml]
>> 2008-03-11 14:21:10,568
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Hibernate
>> configuration file: [/WEB-INF/hibernate.cfg.xml]
>> 2008-03-11 14:21:10,569
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Hibernate
>> configuration file: [/WEB-INF/hibernate.cfg.xml]
>> 2008-03-11 14:21:10,569
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO xwiki.XWiki - Running
>> storage migrations
>> 2008-03-11 14:21:10,762
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [OSCacheService Cache Monitor] INFO impl.OSCacheService -
>> OSCacheCache item count for Cache # 1 = 0 capacity is 100
>> 2008-03-11 14:21:10,762
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [OSCacheService Cache Monitor] INFO impl.OSCacheService -
>> OSCacheCache item count for Cache # 2 = 0 capacity is 10000
>> 2008-03-11 14:21:11,243
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.DBCPConnectionProvider - Configure
>> DBCPConnectionProvider
>> 2008-03-11 14:21:11,244
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.DBCPConnectionProvider - Creating a
>> DBCP BasicDataSource with the following DBCP factory properties:
>> 2008-03-11 14:21:11,244
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.DBCPConnectionProvider - -- listing
>> properties --
>> whenExhaustedAction=1
>> url=jdbc:oracle:thin:@portaldb.covisint.c...
>> ps.maxActive=20
>> maxIdle=5
>> maxOpenPreparedStatements=20
>> maxActive=50
>> driverClassName=oracle.jdbc.driver.OracleDriver
>> maxWait=30000
>> username=p8xwiki
>> poolPreparedStatements=true
>> connectionProperties=user=XXXXXX;password=XXXXXX;SetBigS...
>> defaultAutoCommit=false
>> ps.maxIdle=20
>> ps.maxWait=120000
>> password=p8xwiki
>> ps.whenExhaustedAction=1
>>
>> 2008-03-11 14:21:11,768
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 0
>> (max: 50) idle: 1(max: 5)
>> 2008-03-11 14:21:11,768
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.DBCPConnectionProvider - Configure
>> DBCPConnectionProvider complete
>> 2008-03-11 14:21:11,769
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 1
>> (max: 50) idle: 0(max: 5)
>> 2008-03-11 14:21:11,773
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 0
>> (max: 50) idle: 1(max: 5)
>> 2008-03-11 14:21:13,163
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.XWikiHibernateBaseStore - Updating
>> schema update for wiki xwiki ...
>> 2008-03-11 14:21:13,164
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Trying to get
>> session from pool
>> 2008-03-11 14:21:13,192
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Taken session
>> from pool
>> SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];Action
>> Queue[insertions=[] updates=[] deletions=[] collectionCreations=[]
>> collectionRemovals=[] collectionUpdates=[]])
>> 2008-03-11 14:21:13,205
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 1
>> (max: 50) idle: 0(max: 5)
>> 2008-03-11 14:21:13,205
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Trying to open
>> transaction
>> 2008-03-11 14:21:13,207
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Opened
>> transaction org.hibernate.transaction.JDBCTransaction@19d9c0d
>> 2008-03-11 14:21:13,859
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Releasing
>> hibernate session
>> SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];Action
>> Queue[insertions=[] updates=[] deletions=[] collectionCreations=[]
>> collectionRemovals=[] collectionUpdates=[]])
> .
> .
> .
> .
> . snip
> .
> .
> .
> .
> .
> .
>> Schema sql: alter table xwiki.xwikistringclasses add constraint
>> FK300D1FCD99E425B2 foreign key (XWS_ID, XWS_NAME) references
>> xwiki.xwikiclassesprop
>> 2008-03-11 14:21:16,531
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Update Schema
>> sql: alter table xwiki.xwikistrings add constraint FK2780715A3433FD87
>> foreign key (XWS_ID, XWS_NAME) references xwiki.xwikiproperties
>> 2008-03-11 14:21:16,540
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Update Schema
>> sql: create sequence xwiki.hibernate_sequence
>> 2008-03-11 14:21:16,551
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Update Schema
>> sql: update xwikidoc set xwd_translation=0 where xwd_translation is
>> null
>> 2008-03-11 14:21:16,557
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] ERROR store.XWikiHibernateBaseStore - Failed
>> updating schema while executing query "update xwikidoc set
>> xwd_translation=0 where xwd_translation is null"
>> java.sql.SQLException: ORA-00942: table or view does not exist
>>
>> at
>> oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
>> at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
>> at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
>> at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
>> at
>> oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119
>> )
>> at
>> oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.jav
>> a:2191)
>> at
>> oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java
>> :2064)
>> at
>> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatemen
>> t.java:2989)
>> at
>> oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:
>> 891)
>> at
>> org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingSt
>> atement.java:225)
>> at
>> org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingSt
>> atement.java:225)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernat
>> eBaseStore.java:453)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernat
>> eBaseStore.java:310)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernat
>> eBaseStore.java:258)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibern
>> ateBaseStore.java:519)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
>> Store.java:1027)
>> at
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernate
>> BaseStore.java:1066)
>> at
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>> .getDBVersion(XWikiHibernateMigrationManager.java:62)
>> at
>> com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(Abs
>> tractXWikiMigrationManager.java:68)
>> at
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>> .<init>(XWikiHibernateMigrationManager.java:49)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
>> rAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
>> nstructorAccessorImpl.java:27)
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:827)
>> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:770)
>> at com.xpn.xwiki.XWiki.<init>(XWiki.java:721)
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform(Request
>> Processor.java:431)
>> at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav
>> a:236)
>> at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196
>> )
>> at
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>> lterChain.java:188)
>> at
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnco
>> dingFilter.java:117)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilterChain.java:215)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>> lterChain.java:188)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lve.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lve.java:174)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va:127)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va:117)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>> e.java:108)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>> :151)
>> at
>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>> at
>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>> at
>> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>> at
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.jav
>> a:703)
>> at
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocke
>> t.java:895)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:689)
>> at java.lang.Thread.run(Thread.java:595)
>> 2008-03-11 14:21:16,565
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Releasing
>> hibernate session
>> SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];Action
>> Queue[insertions=[] updates=[] deletions=[] collectionCreations=[]
>> collectionRemovals=[] collectionUpdates=[]])
>> 2008-03-11 14:21:16,565
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Releasing
>> hibernate transaction org.hibernate.transaction.JDBCTransaction@8a6fc
>> 2008-03-11 14:21:16,567
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 0
>> (max: 50) idle: 1(max: 5)
>> 2008-03-11 14:21:16,567
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.XWikiHibernateBaseStore - Schema update
>> for wiki xwiki done
>> 2008-03-11 14:21:16,567
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Trying to get
>> session from pool
>> 2008-03-11 14:21:16,567
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Taken session
>> from pool
>> SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];Action
>> Queue[insertions=[] updates=[] deletions=[] collectionCreations=[]
>> collectionRemovals=[] collectionUpdates=[]])
>> 2008-03-11 14:21:16,568
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 1
>> (max: 50) idle: 0(max: 5)
>> 2008-03-11 14:21:16,568
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Trying to open
>> transaction
>> 2008-03-11 14:21:16,568
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Opened
>> transaction org.hibernate.transaction.JDBCTransaction@e4d0cd
>> 2008-03-11 14:21:16,593
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] WARN util.JDBCExceptionReporter - SQL Error:
>> 942, SQLState: 42000
>> 2008-03-11 14:21:16,593
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] ERROR util.JDBCExceptionReporter - ORA-00942:
>> table or view does not exist
>>
>> 2008-03-11 14:21:16,594
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Releasing
>> hibernate session
>> SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];Action
>> Queue[insertions=[] updates=[] deletions=[] collectionCreations=[]
>> collectionRemovals=[] collectionUpdates=[]])
>> 2008-03-11 14:21:16,594
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] DEBUG store.XWikiHibernateBaseStore - Releasing
>> hibernate transaction org.hibernate.transaction.JDBCTransaction@e4d0cd
>>
>> 2008-03-11 14:21:16,595
>> [http://coe.portal8.stg.covisint.com/xwiki/bin/view/Main/WebHome]
>> [TP-Processor3] INFO store.DBCPConnectionProvider - active: 0
>> (max: 50) idle: 1(max: 5)
>> 2008-03-11 14:21:16,604 [] [TP-Processor3] WARN
>> action.RequestProcessor - Unhandled Exception thrown: class
>> com.xpn.xwiki.XWikiException
>> 2008-03-11 14:21:16,604 [] [TP-Processor3] ERROR [/xwiki].[action]
>> - Servlet.service() for servlet action threw exception
>> com.xpn.xwiki.XWikiException: 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 execute query
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:302)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform(Request
>> Processor.java:431)
>>
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
--
View this message in context: http://www.nabble.com/FW%3A-Xwiki-Enterprise---Oracle-Install-problem-tp159…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I've finally been able to start working on the new Rendering
architecture again.
I've re-read all our past discussion and I've summarized everything on
this page:
http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
I'm now going to start implementing it and thus I'd like to have
everyone's feedback and I'd especially like to know if there are any
use cases that I haven't covered or things that you don't like.
Thanks a lot
-Vincent
Currently the albatross skin loads around 10 js and 10 css, which is
quite a lot.
We can improve loading time by:
- compression and cache (raffaello will provide Apache configs specific
to XWiki to help for that)
- merging and optimizations of css/js (I've published
http://www.xwiki.org/xwiki/bin/view/Code/MergeCSS to help on that)
- removing unused css/js (now we need to find which one are unused)
- conditional loading of css and js.
This last improvement can help us a lot since some of the css/js are not
even used in view mode, or are only used by a specific panel.
For this my proposal is to add a feature to the core to allow
conditional loading of CSS and JS files.
The current macros in the header would instead of putting CSS and JS add
a placeholder for additional CSS and JS.
Then everywhere where we need these CSS/JS (in a panel, in a wiki page,
in a template) we would call a macro #includecss or #includejs
This macro would add in the context the CSS and JS to add.
At the end of the template rendering the placeholder would be replaced
by the added CSS and JS.
The page would be served.
This would allow to manage the way CSS and JS are added.
WDYT ?
Ludovic
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
Hi Sergiu,
On Mar 11, 2008, at 3:01 AM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2008-03-11 03:01:30 +0100 (Tue, 11 Mar 2008)
> New Revision: 8341
>
> Modified:
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> XWiki.java
> Log:
> XWIKI-2173
> Fixed.
>
>
> Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/
> xwiki/XWiki.java
> ===================================================================
> --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> XWiki.java 2008-03-11 00:13:35 UTC (rev 8340)
> +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> XWiki.java 2008-03-11 02:01:30 UTC (rev 8341)
> @@ -1492,9 +1492,16 @@
> // Try parsing a file located in the directory with the same
> name.
> try {
> String path = "/skins/" + skin + "/" + template;
> - String content = getResourceContent(path);
> - return XWikiVelocityRenderer.evaluate(content, path,
> (VelocityContext) context
> - .get("vcontext"), context);
> + File f = new File(path);
> + path = f.getCanonicalPath();
Why do we need these 2 lines?
We really need a comment here to explain why we're checking for "/
skins/".
> + if (path.startsWith("/skins/")) {
> + String content = getResourceContent(path);
> + return XWikiVelocityRenderer.evaluate(content,
> path, (VelocityContext) context
> + .get("vcontext"), context);
> + } else {
> + LOG.warn("Illegal access, tried to use file [" +
> path + "] as a template." +
> + " Possible break-in attempt!");
I would be more neutral in the log message. Also I don't understand
how you deduce some user is trying to use a file as a template. Cannot
it be simply someone trying to use a skin file?
I'd use something like: "Invalid access. For security reasons only
resources located in the skins directory are allowed."
Thanks
-Vincent
>
> + }
> } catch (Exception e) {
> }
Hi,
If I build the plugins, web and and wiki of the product and then
1. make the plugin available on the lib folder
2. skin under the skins directory
3. import the xar
Then will I be able to view the workspace product?
>From the list of features it seems cooler than the current enterprise wiki's
Blog, Main and Photo spaces.
Also since name is same for Main and XWiki space of the space of the two
products would it cause any problem while importing the workspace xar?
Thanks
Sachin
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context: http://www.nabble.com/integrating-workspaces-product-with-enterprise-web-tp…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
On Mar 11, 2008, at 7:35 PM, jvelociter (SVN) wrote:
> Author: jvelociter
> Date: 2008-03-11 19:35:40 +0100 (Tue, 11 Mar 2008)
> New Revision: 8409
>
> Modified:
> xwiki-products/xwiki-watch/trunk/distribution-test/selenium-tests/
> src/test/it/com/xpn/xwiki/watch/it/selenium/WatchGWTLoadingTest.java
> Log:
> XWATCH-118 Add an integration test that ensure Watch loads in the
> distribution
>
> - I modified the test so that it waits for GWT to load after the
> page loading. I don't really like the solution I came up with
> (Thread.sleep), but I could not find a way to wait without any
> condition. The Selenium waitForCondition() method with JS argument
> could be investigated, but I'm not sure it's easy to hook with GWT
> loading.
>
>
>
> Modified: xwiki-products/xwiki-watch/trunk/distribution-test/
> selenium-tests/src/test/it/com/xpn/xwiki/watch/it/selenium/
> WatchGWTLoadingTest.java
> ===================================================================
> --- xwiki-products/xwiki-watch/trunk/distribution-test/selenium-
> tests/src/test/it/com/xpn/xwiki/watch/it/selenium/
> WatchGWTLoadingTest.java 2008-03-11 17:21:49 UTC (rev 8408)
> +++ xwiki-products/xwiki-watch/trunk/distribution-test/selenium-
> tests/src/test/it/com/xpn/xwiki/watch/it/selenium/
> WatchGWTLoadingTest.java 2008-03-11 18:35:40 UTC (rev 8409)
> @@ -19,6 +19,8 @@
> */
> package com.xpn.xwiki.watch.it.selenium;
>
> +import java.lang.InterruptedException;
> +
> import com.xpn.xwiki.it.selenium.framework.AbstractXWikiTestCase;
> import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor;
> import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite;
> @@ -49,7 +51,20 @@
> public void testGWTLoading()
> {
> open("/xwiki/bin/view/Watch/Reader");
> - getSelenium().waitForPageToLoad("50000");
> + // Wait for the reader page to load
> + getSelenium().waitForPageToLoad("2000");
> + // Now wait for the GWT reader to load.
> + try
> + {
> + // this is a bit dirty, but I could not find an easy way
> + // to ask Selenium to just wait, without conditions.
> + // We could investigate the use of waitForCondition()
> with a JS function argument
> + // althought it seems it will be a bit heavy to setup
> for this use case.
> + Thread.sleep(500);
> + }
> + catch (InterruptedException e){
> + fail();
> + }
You could start by removing the try/catch and add a throw Exception to
the method.
How do we know the GWT reader page is loaded? Isn't there some DOM
element or something that will tell us and that we could wait on?
Thanks
-Vincent
On Mar 12, 2008, at 5:21 AM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2008-03-12 05:21:37 +0100 (Wed, 12 Mar 2008)
> New Revision: 8424
>
> Modified:
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> plugin/packaging/Package.java
> Log:
> XWIKI-2200: Import of "homemade" xar doesn't function
> Fixed.
>
>
> Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/
> xwiki/plugin/packaging/Package.java
> ===================================================================
> --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> plugin/packaging/Package.java 2008-03-12 03:55:35 UTC (rev 8423)
> +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> plugin/packaging/Package.java 2008-03-12 04:21:37 UTC (rev 8424)
> @@ -385,8 +385,14 @@
> || (entry.getName().indexOf("META-INF") != -1)) {
> continue;
> } else {
> - XWikiDocument doc =
> -
> readFromXML(readByteArrayFromInputStream(zis, entry.getSize()));
> + XWikiDocument doc = null;
> + try {
> + doc =
> readFromXML(readByteArrayFromInputStream(zis, entry.getSize()));
> + } catch (Exception ex) {
> + log.warn("Failed to parse document [" +
> entry.getName() + "] from XML");
We need to also add ex.getMesage() to the log output in order to
better diagnose errors when they appear.
Also the message need to be more explicit. We need to say that we're
ignoring the doc and that it won't be imported.
Thanks
-Vincent
Thanks Guillaume for your response.
Also, is it possible to customize the quick links panel and other panels in
the Xwiki!
Thanks
On Tue, Mar 11, 2008 at 1:05 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. [ANN] XWiki Enterprise Manager 1.1 released (Thomas Mortagne)
> 2. Threaded discussion list? (Kamna Jain)
> 3. Re: Threaded discussion list? (Guillaume Lerouge)
> 4. Re: Roadmap for XE 1.4 (Jean-Vincent Drean)
> 5. Roadmap for XWiki Workspaces 1.0 (Jerome Velociter)
> 6. Re: Roadmap for XWiki Workspaces 1.0 (Jerome Velociter)
> 7. Re: Roadmap for XE 1.4 (Vincent Massol)
> 8. [VOTE] Release SpaceManager plugin v1.0 (Jerome Velociter)
> 9. Re: Roadmap for XE 1.4 (Sergiu Dumitriu)
> 10. Re: Roadmap for XE 1.4 (Sergiu Dumitriu)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 11 Mar 2008 15:31:36 +0100
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: [xwiki-devs] [ANN] XWiki Enterprise Manager 1.1 released
> To: "XWiki Developers" <devs(a)xwiki.org>, "XWiki Users"
> <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c0803110731n48b5c3eaq723fe4bc6b787873(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> The XWiki development team is pleased to announce the release of XWiki
> Enterprise Manager 1.1.
>
> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> This is mainly a wiki management improvement (step by step wiki
> creation with documentation, wiki aliases management improvement).
> Also it now depends on XE 1.3.
>
> For more information see the Release notes at:
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM11
>
> Thanks
> -The XWiki dev team
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 11 Mar 2008 10:26:18 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: [xwiki-devs] Threaded discussion list?
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280803110826p3381406frfb748f2c7ac28701(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> Is it possible to have threaded discussions in XWiki?
> I am aware of the Comments that appear at the end of every page, but I am
> looking for something more organized in terms of tracking replies to a
> particular topic, etc.
>
> Thanks
>
Hello devs,
Here is a roadmap proposal towards XWiki Workspaces 1.0 release :
* First milestone (XWS 1.0 M1) on March 14th 2008, implementing the
initial feature set as described on
http://workspaces.xwiki.org/xwiki/bin/view/Features/.
* Second milestone two weeks later, on March 28th, including a search
feature inside workspaces, plus bug fixes.
* Release candidate 1 one week after, on April 4th.
* If needed, RC2 one week after (April 11th) then 1.0 final the week after
(April 18th), otherwise XWS 1.0 final on April 11th.
There is now a JIRA project for XWS, that you can find here :
http://jira.xwiki.org/jira/browse/XWS. You can find the fore-mentioned
agenda under the Roadmap tab, with more details on the specific issues to
be fixed for each version as they will be discovered.
Regards,
Jerome.
Hello,
Is it possible to have threaded discussions in XWiki?
I am aware of the Comments that appear at the end of every page, but I am
looking for something more organized in terms of tracking replies to a
particular topic, etc.
Thanks
The XWiki development team is pleased to announce the release of XWiki
Enterprise Manager 1.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is mainly a wiki management improvement (step by step wiki
creation with documentation, wiki aliases management improvement).
Also it now depends on XE 1.3.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM11
Thanks
-The XWiki dev team
Hello devs,
I would like to commit a first implementation of our new product "XWiki
Workspaces" inside our svn trunk.
The code mainly implement workspaces initial feature set as described at
http://workspaces.xwiki.org/xwiki/bin/view/Features/.
Here is my +1 for it,
Jerome.
Hi,
I would like to release XEM 1.1 release today.
This is mainly a wiki management improvement. Also it now depends on XE 1.3.
See http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM11 for more.
Here's my +1
Thanks
--
Thomas Mortagne
Hi everybody,
since I've mentioned it in a previous email almost as a joke, maybe it
could be interesting to propose it in a more serious way as a GSOC
project.
So the idea is to implement the infrastructure for exposing XWiki as a
fully RESTful WebService for example by using RestLet. This can have
some repercussions even on semantic features that Stèphane was
proposing on the chat.
It might be interesting to implement a separate module that leverages
the XWiki API and exposes it in a RESTful way and build on top of it
some semantic infrastructure. Since in this scenario everything will
have an URI, it should be easier to leverage RDF and other semantic
frameworks.
This is just an idea to be worked on, if we are interested of course :)
WDYT?
Cheers,
Fabio
Hello,
Last week, I checked out XWiki-platform trunk and tried to compile it with
maven-2.1-SNAPSHOT and all the needed memory.
If I remove xwiki-core/../plugin/lucene, it works but with it, it fails.
Before going deeper, I would like to know if anyone has already seen such
issues?
I get the following logs (lucene2.3 is in my MVN repository):
.......
[INFO] [aspectj:compile]
[INFO] [remote-resources:process]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to
workspace/xwiki-platform-core/xwiki-core/target/classes
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] XWiki Platform - Core - Parent POM .................... SUCCESS [
1.239s]
[INFO] XWiki Platform - Core - Component ..................... SUCCESS [
0.842s]
[INFO] XWiki Platform - Core - Observation ................... SUCCESS [
0.315s]
[INFO] XWiki Platform - Core - Core .......................... FAILED [
8.168s]
[INFO] XWiki Platform - Core - URL ........................... NOT BUILT
[INFO] XWiki Platform - Core - Containers - Parent POM ....... NOT BUILT
[INFO] XWiki Platform - Core - Containers - API .............. NOT BUILT
[INFO] XWiki Platform - Core - Containers - Servlet .......... NOT BUILT
[INFO] XWiki Platform - Core - Actions ....................... NOT BUILT
[INFO] XWiki Platform - Core - Plexus ........................ NOT BUILT
[INFO] XWiki Platform - Core - Velocity ...................... NOT BUILT
[INFO]
------------------------------------------------------------------------
[ERROR]
Mojo:
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
FAILED for project:
com.xpn.xwiki.platform:xwiki-core:jar:1.4-SNAPSHOT
Reason:
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,61]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,78]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,12]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[101,83]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[102,17]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[101,22]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,64]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,81]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,16]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[109,21]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[109,38]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[108,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[113,54]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[113,71]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[112,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[117,50]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[117,67]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[116,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[122,84]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[123,21]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[122,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[125,78]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[126,17]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[125,22]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[127,76]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[128,17]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[127,22]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[131,68]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[132,25]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[131,16]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[136,21]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[136,38]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[135,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,65]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,81]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,24]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,64]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,81]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,30]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,60]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,77]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,20]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,63]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,80]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,20]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[194,81]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[195,29]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[194,34]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,63]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,80]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[302,49]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[307,25]
cannot find symbol
symbol : class Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[307,59]
cannot find symbol
symbol : class Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[309,40]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[312,49]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[316,49]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[321,29]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[325,29]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[343,33]
cannot find symbol
symbol : variable Occur
location: class org.apache.lucene.search.BooleanClause
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[209,26]
cannot find symbol
symbol : method flush()
location: class org.apache.lucene.index.IndexWriter
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[275,16]
cannot find symbol
symbol : method deleteDocument(int)
location: class org.apache.lucene.index.IndexReader
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[311,39]
cannot find symbol
symbol : method getDirectory(java.lang.String)
location: class org.apache.lucene.store.FSDirectory
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[362,36]
getFields(java.lang.String) in org.apache.lucene.document.Document cannot be
applied to ()
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[86,21]
cannot find symbol
symbol : variable Store
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[87,21]
cannot find symbol
symbol : variable Index
location: class org.apache.lucene.document.Field
workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[84,26]
internal error; cannot instantiate org.apache.lucene.document.Field.<init>
at org.apache.lucene.document.Field to ()
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Mon Mar 10 16:02:58 CET 2008
[INFO] Final Memory: 5M/23M
[INFO]
------------------------------------------------------------------------