Hi,
Could someone please look into my second question, cause I really like to
get an answer for that, since I would like to submit my proposal for that
too... I guess my previous mail was overlooked upon, in the crowd of other
mails.
As I've already mentioned, I've submitted my proposal for the "XEclipse
Navigator", please look into the proposal, and let me know how I can improve
it.
The final query was answered, by Guillaume, in another thread; Thanks for
that.
Venkatesh Nandakumar
2009/3/31 Venkatesh Nandakumar <venkatesh88(a)gmail.com>
> Hi Fabio, Guillaume and other devs,
>
> I've submitted my proposal for the "New XEclipse Navigator". Please let me
> know if the proposal needs further improvements.
>
> Secondly, I have pretty good experience with xslt and xml-fo ( as a part of
> Apache Cocoon). I've used them quite extensively for PDF generation before.
> So, for the "Improved PDF Export" Project, I went through the code to see If
> it would be possible for me to work on it, and frankly, the usage of
> inherent data structures specific to Xwiki, did not make my work easy. The
> question is, since I'm new to xwiki-core structures, flow control in xwiki,
> and xwiki-code in general, would it be of any hindrance if I submit a
> proposal for that too (though I'm good at xslt and xml-fo)?
>
> Finally, Just wanted to know, how "import-export from other wikis" would be
> implemented. Is it using wikimodel?
>
> Thanks,
> Venkatesh Nandakumar
> Department of Electronics & Computer Engineering
> Indian Institute of Technology Roorkee
>
>
Hi,
I am Mafaz Hassan. An undergraduate of Department of Computer Science and
Engineering.I am working on submitting a proposal for the Project XEclipse
navigator.I have sent mails to this mailing list before, but i was just
replying to the common thread which would not have been clear to you
all.Sorry for the inconvenience caused.I have four to five years experience
on Java and i have a good knowledge on GUI programming in Java.I have been
very much involved in Swing Programming in Java for the past one or two
years, So I chose the XEclipse Navigator project without much confusion.I
have a strong knowledge on XWiki ,XWiki Data Model and XEclipse now.I would
like to know more on the state persistence functionality mentioned?I want to
know what level of state persistence do you expect out of this project?And
can someone help me out in building the source of XEclipse?
Thank you.
Regards
Mafaz
Hi all
I am an undergraduate at University of Moratuwa specializing in the
field of Computer Science and Engineering and willing to take part in XWiki
during this summer. I participated in Gsoc last year with Sahana community
where i involved in implementing a project relating to social networking and
i completed it successfully [1] . Where i had to play with photo related
works and i extracted more on the methodologies of handling those
information.
I myself think this project is kind of interesting for me and will
be able to contribute you effectively than last years as i am more
passionate on FOSS and Gsoc. Further i am really interested in Java projects
as most of the projects i have done and experienced are lied on Java.One of
them is listed below [2].
Regarding the photo album application i want some more
clarifications on migration tool from the old version photo albums. is it
kind of extracting features based on the old implementation having their
core logics, in new appliaction or just a tool to convert old photo albums
to new one with their excisting features. Would you mind clarifying me on
this.
Further regarding the Import Export from any other Wiki , would it be
kind of content transferring mechanism among wikis. In that case i can think
in terms of providing a link aside to transfer a selected content on one
wiki to another etc. I am glad to have more information on this too.
[1] http://docs.google.com/Doc?id=dhh6gcfm_29cjk88fj8&hl=en
[2] http://sci-flex.org/
Thanks in advance
Harsha
Forwarding this to xwiki devs for input.
Joshua Marks
CTO
Curriki: The Global Education and Learning Community
jmarks(a)curriki.org
www.curriki.org
US 831-685-3511
-----Original Message-----
From: curriki-devs-bounces(a)xwiki.org [mailto:curriki-devs-bounces@xwiki.org]
On Behalf Of Henri Lesourd
Sent: Tuesday, March 31, 2009 9:18 AM
To: curriki-devs(a)xwiki.org
Subject: [curriki-devs] XWiki HQL queries too slow
Although it's not specific to Curriki per se, I start by posting my
question here, for perhaps somebody on the list met this problem before.
My question is: I need to query documents containing an object from a
specific Java class, and to access the object. In Vincent Massol's XWiki
tutorial, examples of how to do this are exclusively described in the
following way:
(1) First, query the wiki for the names of all the documents having a
specific class, e.g.:
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.TodoClass'")
for querying the names of all the documents having the class 'TodoClass'.
(2) and then, for each document, fetch the document with getDocument(),
and then
perform a getObject() for getting the related instance of the Java
class, which finally
can be accessed. Here is a typical snippet:
#foreach ($todo in $todos)
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
........ { Code using $todoObj } ..........
#end
Problem is: in my version of the step (1) above I get 1800 documents,
but next, in step (2), I dismiss most of them by means of performing a
simple test on the slots of the object obtained from getObject().
Thus, as it is described above, the technique from the XWiki tutorial is
highly inefficient, because for the sake of performing the simple test
you need on the Java object contained in each document, you are forced
to fetch this document, then read the object with getObject(), and it's
only then that you can perform your simple test.
==>
Question: is there a possibility to perform the getObject() *inside* the
HQL query, in such a way that I can fetch and test the slots of a given
related Java object (e.g., an XWiki.XWikiUsers, or an XWiki.XWikiGroups)
directly inside the 'where' part of the HQL query ?
For example, I'd like to be able to write something like:
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.XWikiUsers' and
doc.getObject('XWiki.XWikiUsers').country='Papua New Guinea')")
for fetching the names of the XWiki pages of all people from Papua New
Guinea. In such a case, if there are only few of them among several
hundreds of users from more common nationalities, I run exactly on the
problem described above.
Of course, this example with the users is not very useful, and perhaps
you can do that in another way from inside Java, but the pattern is
typical. In practice, if you cannot perform simple tests to eliminate
unwanted items directly inside the HQL, then very easily, you obtain
programs performing queries lasting several dozens of seconds, which
quickly becomes unbearable for the users.
With more users operating in the same time, the response time for a
simple Velocity program displaying a list of items can even reach
response times of several minutes, like it happened to us last week
during the presentation of Intergeo in a seminar in Spain (fortunately,
people understand that the system is under development, but...).
Thus I'm looking for an approach to eradicate this problem once for all,
for otherwise, it will not be possible to build a web-based system
usable by more than a dozen users, and this would be, hem, annoying so
to say...
Thank you in advance,
Henri
_______________________________________________
curriki-devs mailing list
curriki-devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/curriki-devs
Hi,
I wrote a java batch allowing to acces XWIKI.
This batch was okay with 1.5.2 XWiki release but it's not working with
1.7.1 XWiki release.
I don't understand where is my problem and need your help...
Here is a part of my java code :
-------------------------------------------------------------------------------------------
private ComponentManager componentManager = null;
/**
* @return a configured Component Manager (which uses the plexus.xml file in
the test resources directory) which can then be put in the XWiki Context
for testing.
*/
public ComponentManager getComponentManager() throws Exception {
if (this.componentManager == null) {
DefaultContainerConfiguration configuration = new
DefaultContainerConfiguration();
configuration.setContainerConfiguration("/plexus.xml");
DefaultPlexusContainer container = new
DefaultPlexusContainer(configuration);
this.componentManager = new PlexusComponentManager(container);
}
return this.componentManager;
}
/**
* Constructeur de BatchWikiAccess
* @throws Exception
*/
public BatchWikiAccess() throws Exception {
String rootPath =
Thread.currentThread().getContextClassLoader().getResource("").getPath();
// Recuperation du fichier de proprietes xwiki
FileInputStream fileInputStream = getInputStream(rootPath +
"xwiki.properties");
XWikiConfig conf = null;
try {
conf = new XWikiConfig(fileInputStream);
conf.setProperty("xwiki.store.hibernate.path", rootPath +
"hibernatedev.cfg.xml");
Utils.setComponentManager(getComponentManager());
wiki = new com.xpn.xwiki.XWiki(conf, new XWikiContext());
} catch (Throwable e) {
Logger.getLogger(this.getClass()).error("o !!! Pb grave lors du runtime : "
+ e.getMessage());
throw new Exception("o !!! Pb grave lors du runtime : " + e.getMessage());
}
}
-------------------------------------------------------------------------------------------
I have a runtime error while execute line :
wiki = new com.xpn.xwiki.XWiki(conf, new XWikiContext());
Thanks in advance for help.
If someone has a better way to access XWIKI in batch mode; it good to !
Julien
hi
i would like to integrate a streaming reader
in xwiki(as plugin or other) to be able to read videos in xwiki
is there any thing about that? or how can i start a plugin to this
Thanks
--
View this message in context: http://n2.nabble.com/streaming-reader-in-xwiki-tp2562986p2562986.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I am working with idea on 'XWiki Jabber, Google Talk, Skype Integration'. I
thought of using GWT to create our web chat interface, therefore can some
one please let me know some details on how XWiki integrates or supports
Ajax. It would be helpful if I could have some links related to this GWT
Ajax using with XWiki.
Regards,
-Tharindu
Hi. I'm Alexandru Cismaru (MSc student in Iasi) , last year I was a GSOC
student at XWiki, with the RESTful API project.
This year I'm interested again in another project, *XWiki Cross Platform
Web and Desktop Widget*. I have done some research and talked with Ludovic,
Sergiu and Guillaume on the IRC, so this is what I came out so far:
http://dev.xwiki.org/xwiki/bin/view/Design/XWikiWidgetandFirefoxextension .
Please give me your feedback and ideas.
Thank you,
Alexandru Cismaru
fyi, especially the part:
* [MRELEASE-375] - release plugin does not work with subversion >
1.5.0
-Vincent
Begin forwarded message:
> From: Olivier Lamy <olamy(a)apache.org>
> Date: March 28, 2009 6:36:36 PM CEST
> To: announce(a)maven.apache.org, Maven Users List <users(a)maven.apache.org
> >
> Cc: Maven Developers List <dev(a)maven.apache.org>
> Subject: [ANN] Maven Release Plugin 2.0-beta-9 Released
> Reply-To: "Maven Developers List" <dev(a)maven.apache.org>
>
> Hi,
> The Maven team is pleased to announce the release of the Maven Release
> Plugin, version 2.0-beta-9.
>
> http://maven.apache.org/plugins/maven-release-plugin/
>
> You should specify the version in your project's plugin configuration:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-release-plugin</artifactId>
> <version>2.0-beta-9</version>
> </plugin>
>
>
> Release Notes - Maven 2.x Release Plugin - Version 2.0-beta-9
>
>
> ** Bug
> * [MRELEASE-273] - Regression: NullPointerException at end of
> standalone "release:perform"
> * [MRELEASE-375] - release plugin does not work with subversion >
> 1.5.0
> * [MRELEASE-379] - return results after performing a release
> * [MRELEASE-381] - url syntax not good enough for the git scm
> provider
> * [MRELEASE-386] - Sneaky bug in DefaultReleaseManager.perform()
> * [MRELEASE-393] - NoSuchMethodError when using
> InvokerMavenExecutor with cmd line arg "--quiet"
> * [MRELEASE-405] - Wrong branch-name parameter
>
> ** Improvement
> * [MRELEASE-385] - Upgrade to last scm version (1.2)
> * [MRELEASE-392] - Align release-parent, release-manager and
> release-plugin versions
> * [MRELEASE-427] - Add a mojo parameter for using the new remote
> tagging for svn scm provider (to prevent issue with svn > 1.5.0)
> * [MRELEASE-429] - Support for a [token]-SNAPSHOT in addition to
> [number]-SNAPSHOT
>
>
> ** Task
> * [MRELEASE-390] - Add VSS dependency
>
> Have Fun!
>
> --
> The Maven Team
Hi,
I'm Arosh. In last few days I go through the Google API and find out the
component features and the data model of it.
I think this should be the correct project to me for this summer.Because I
am a Sun Certified Java Programmer and four to five years experience with
Java.
Also I have the experience of working with several APIs.In last 6 months I
working with mobile APIs like Android and Brew, WAP frameworks like
mymobileweb and netbiscuits and also JSF ect.
So before I further researching on these projects I think it is very much
important to have a strong understanding about XWiki data model.I would like
to know what are the relevant steps should I take to make my interest a
reality.
Further I would like to know what are the weakness that was there in old
calender specifically.
--
regards
Arosh Thilanka Perera
Dpt of Computer Science & Engineering
University of Moratuwa
Sri Lanka.