Re: [xwiki-users] improve SpaceIndex

2014-06-04 Thread Pascal BASTIEN
Hello,

If I found a patch to resolve a bug. I must create a JIRA issue AND a pull 
request on GitHub, or can I only pull request?
By the way, if I pull request I must indicate the link to JIRA issue number ? 
If yes how? In comment?

Thxs.




 De : vinc...@massol.net vinc...@massol.net
À : XWiki Users users@xwiki.org 
Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Envoyé le : Mardi 3 juin 2014 15h41
Objet : Re: [xwiki-users] improve SpaceIndex
 


Thanks Pascal

Would be great if you could create 1) a JIRA issue and 2) a Pull Request on 
https://github.com/xwiki/xwiki-platform for this!

That would increase the likelihood of getting this in the platform :)

Thanks
-Vincent




On 3 Jun 2014 at 14:07:41, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
 
 Here, I add sort parameter to SpaceIndex function to display the list of 
 document with another ... sort:
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro#Comments
 
 Have fun :-)
 
 It will be nice to add that at xwiki engine...
 
 
 Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] groovy and PermGen space exception

2014-06-04 Thread Thomas Mortagne
There is also some old APIs like $xwiki.parseGroovyFromPage and also
the way to insert groovy in xwiki/1.0 syntax but I doubt it's going to
help you much here anyway.

AFAIK yes the way groovy work is by creating a new class each time its
asked to execute a script. Now in the case of groovy macro (or any
other script macro) a dedicated classloader is created to hold the
classes generated by the scripts but this classloader is only kept for
a single request so it should be automatically wiped by the garbage
collector I guess.

When executing very often a script, something that should avoid the
issue you have and improve performance (not building the script
everytime) is to inject your groovy as a script service (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+using+Groovy)
once and then call it with one line of Velocity for example. If it's
very simple another way to workaround it is to use Velocity instead of
Groovy since Velocity is not compiled.

In the meantime it would be great if you could create an issue on
http://jira.xwiki.org with details on how to reproduce it so that I
look at it in detail with a profiler or something when I have some
time and find some way to improve that.


On Wed, Jun 4, 2014 at 7:24 AM, lequan.moon lequan.m...@gmail.com wrote:
 Yes, i use the tag {{groovy}} for groovy script.
 Is there anyway else??



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/groovy-and-PermGen-space-exception-tp7590836p7590849.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need help to get Open Server importing feature running

2014-06-04 Thread Manuel Smeria
Hello Christian,

From what I know neither OpenOffice nor LibreOffice work on Windows if you
set openoffice.serverType=0.

I have LibreOffice 4.2.4.2 on my Windows machine and I used these settings
to get the Importer to work:
* set openoffice.serverType=1 in your xwiki.properties file
* create a shortcut to C:\Program Files (x86)\LibreOffice
4\program\soffice.exe -nofirststartwizard -headless
-accept=socket,host=127.0.0.1,port=8100;urp; - adjust this to your
actual path
* start XWiki and connect to the Office server from Administration

Hope this helps,
Manuel


On Wed, Jun 4, 2014 at 11:48 AM, chris_w christian.wistb...@ulricehamn.se
wrote:

 Hi all,

 I've got xWiki Enterprise 6.0.1 installed on a Windows 7 machine.
 Installed latest OpenOffice 4.1

 Here's my xwiki.properties file, OpenOffice Server section:


 #-
 # Settings for the OpenOffice server instance consumed by the
 OfficeImporter
 component

 #-

 #-# [Since 1.9M2]
 #-# Type of the openoffice server instance used by officeimporter
 component.
 #-# 0 - Internally managed server instance. (Default)
 #-# 1 - Externally managed (local) server instance.
 openoffice.serverType=0

 #-# [Since 1.9M2]
 #-# Port number used for connecting to the openoffice server instance.
 #-# Default port is 8100
 # openoffice.serverPort=8100

 #-# [Since 1.9M2]
 #-# If the openoffice server should be started / connected upon XE start.
 #-# Default value is false
 openoffice.autoStart=true

 #-# [Since 1.8RC3]
 #-# Path to openoffice installation (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based on the
 operating environment.
 #-# Example: openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
 openoffice.homePath=openoffice.homePath=C:/Program Files (x86)/OpenOffice 4

 #-# [Since 1.8RC3]
 #-# Path to openoffice execution profile (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based on the
 operating environment.
 #-# Example:
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4

 #-# [Since 1.8RC3]
 #-# Maximum number of simultaneous conversion tasks to be handled by a
 single openoffice process (serverType:0 only).
 #-# Default value is 50
 # openoffice.maxTasksPerProcess=50

 #-# [Since 1.8RC3]
 #-# Timeout for conversion tasks (in milliseconds) (serverType:0 only).
 #-# Default value is 30 seconds
 # openoffice.taskExecutionTimeout=3

 And here's how it looks in the GUI:

 http://xwiki.475771.n2.nabble.com/file/n7590861/Capture1.png

 And I get this error message when clicking update:

 http://xwiki.475771.n2.nabble.com/file/n7590861/Capture2.png


 Please, if anyone know how to get this going / what I'm doing wrong, help
 is
 much appreciated!
 /Chris



 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Need-help-to-get-Open-Server-importing-feature-running-tp7590861.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need help to get Open Server importing feature running

2014-06-04 Thread vinc...@massol.net
Hi Chris,

Please check your xwiki log file content, you should have the detailed error in 
there.

Thanks
-Vincent


On 4 Jun 2014 at 10:49:22, chris_w 
(christian.wistb...@ulricehamn.se(mailto:christian.wistb...@ulricehamn.se)) 
wrote:

 Hi all,
 
 I've got xWiki Enterprise 6.0.1 installed on a Windows 7 machine.
 Installed latest OpenOffice 4.1
 
 Here's my xwiki.properties file, OpenOffice Server section:
 
 #-
 # Settings for the OpenOffice server instance consumed by the OfficeImporter
 component
 #-
 
 #-# [Since 1.9M2]
 #-# Type of the openoffice server instance used by officeimporter component.
 #-# 0 - Internally managed server instance. (Default)
 #-# 1 - Externally managed (local) server instance.
 openoffice.serverType=0
 
 #-# [Since 1.9M2]
 #-# Port number used for connecting to the openoffice server instance.
 #-# Default port is 8100
 # openoffice.serverPort=8100
 
 #-# [Since 1.9M2]
 #-# If the openoffice server should be started / connected upon XE start.
 #-# Default value is false
 openoffice.autoStart=true
 
 #-# [Since 1.8RC3]
 #-# Path to openoffice installation (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based on the
 operating environment.
 #-# Example: openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
 openoffice.homePath=openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
 
 #-# [Since 1.8RC3]
 #-# Path to openoffice execution profile (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based on the
 operating environment.
 #-# Example:
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
 
 #-# [Since 1.8RC3]
 #-# Maximum number of simultaneous conversion tasks to be handled by a
 single openoffice process (serverType:0 only).
 #-# Default value is 50
 # openoffice.maxTasksPerProcess=50
 
 #-# [Since 1.8RC3]
 #-# Timeout for conversion tasks (in milliseconds) (serverType:0 only).
 #-# Default value is 30 seconds
 # openoffice.taskExecutionTimeout=3
 
 And here's how it looks in the GUI:
 
 
 
 And I get this error message when clicking update:
 
 
 
 
 Please, if anyone know how to get this going / what I'm doing wrong, help is
 much appreciated!
 /Chris
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Maven errors

2014-06-04 Thread wafid
Hello;

when i execute mvn {path of xwiki} install clean , i have this error :

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
project xwiki-platform-oldcore: There are test failures.
[ERROR] 
[ERROR] Please refer to
/home/usr/xwikiProject/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports
for the individual test results.
[ERROR] - [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :xwiki-platform-oldcore

help please;
thanks




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Maven errors

2014-06-04 Thread Jeremie BOUSQUET
Hi,

To investigate, you need to check exactly what maven told you:

Please refer to
/home/usr/xwikiProject/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports
for the individual test results.

In the test reports you should find why it failed more precisely.

BR,
Jeremie


2014-06-04 11:15 GMT+02:00 wafid mahfoudh.atm...@telecom-bretagne.eu:

 Hello;

 when i execute mvn {path of xwiki} install clean , i have this error :

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
 project xwiki-platform-oldcore: There are test failures.
 [ERROR]
 [ERROR] Please refer to

 /home/usr/xwikiProject/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please
 read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :xwiki-platform-oldcore

 help please;
 thanks




 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Maven errors

2014-06-04 Thread wafid
---
Test set: com.xpn.xwiki.doc.XWikiDocumentTest
---
thanks for first response;
here is the error found

Tests run: 69, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.293 sec
 FAILURE! - in com.xpn.xwiki.doc.XWikiDocumentTest
testObjectNumbersAfterXMLRoundrip(com.xpn.xwiki.doc.XWikiDocumentTest)  Time
elapsed: 0.239 sec   ERROR!
com.xpn.xwiki.XWikiException: Error number 7005 in 7: Error instanciating
property class
at com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:597)
at com.xpn.xwiki.objects.BaseObject.fromXML(BaseObject.java:283)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4411)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4288)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4267)
at
com.xpn.xwiki.doc.XWikiDocumentTest.testObjectNumbersAfterXMLRoundrip(XWikiDocumentTest.java:515)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at junit.framework.TestCase.runTest(TestCase.java:176)
at org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:39)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: com.xpn.xwiki.XWikiException: Error number 7006 in 7: Cannot find
property class com.xpn.xwiki.objects.classes.StaticListClass in MetaClass
object
at
com.xpn.xwiki.objects.classes.PropertyClass.fromXML(PropertyClass.java:500)
at com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:593)
... 24 more




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590869.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [MS] Re: Need help to get Open Server importing feature running

2014-06-04 Thread Wistberg Christian
Thank you Manuel!

That worked like a charm!

Cheers,
Chris

-Ursprungligt meddelande-
Från: users [mailto:users-boun...@xwiki.org] För Manuel Smeria
Skickat: den 4 juni 2014 11:13
Till: XWiki Users
Ämne: [MS] Re: [xwiki-users] Need help to get Open Server importing feature 
running

Hello Christian,

From what I know neither OpenOffice nor LibreOffice work on Windows if you set 
openoffice.serverType=0.

I have LibreOffice 4.2.4.2 on my Windows machine and I used these settings to 
get the Importer to work:
* set openoffice.serverType=1 in your xwiki.properties file
* create a shortcut to C:\Program Files (x86)\LibreOffice 
4\program\soffice.exe -nofirststartwizard -headless 
-accept=socket,host=127.0.0.1,port=8100;urp; - adjust this to your actual 
path
* start XWiki and connect to the Office server from Administration

Hope this helps,
Manuel


On Wed, Jun 4, 2014 at 11:48 AM, chris_w christian.wistb...@ulricehamn.se
wrote:

 Hi all,

 I've got xWiki Enterprise 6.0.1 installed on a Windows 7 machine.
 Installed latest OpenOffice 4.1

 Here's my xwiki.properties file, OpenOffice Server section:


 #-
  # Settings for the OpenOffice server instance 
 consumed by the OfficeImporter component

 #-
 

 #-# [Since 1.9M2]
 #-# Type of the openoffice server instance used by officeimporter 
 component.
 #-# 0 - Internally managed server instance. (Default) #-# 1 - 
 Externally managed (local) server instance.
 openoffice.serverType=0

 #-# [Since 1.9M2]
 #-# Port number used for connecting to the openoffice server instance.
 #-# Default port is 8100
 # openoffice.serverPort=8100

 #-# [Since 1.9M2]
 #-# If the openoffice server should be started / connected upon XE start.
 #-# Default value is false
 openoffice.autoStart=true

 #-# [Since 1.8RC3]
 #-# Path to openoffice installation (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based 
 on the operating environment.
 #-# Example: openoffice.homePath=C:/Program Files (x86)/OpenOffice 4 
 openoffice.homePath=openoffice.homePath=C:/Program Files 
 (x86)/OpenOffice 4

 #-# [Since 1.8RC3]
 #-# Path to openoffice execution profile (serverType:0 only).
 #-# If no path is provided, a default value will be calculated based 
 on the operating environment.
 #-# Example:
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
 openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4

 #-# [Since 1.8RC3]
 #-# Maximum number of simultaneous conversion tasks to be handled by a 
 single openoffice process (serverType:0 only).
 #-# Default value is 50
 # openoffice.maxTasksPerProcess=50

 #-# [Since 1.8RC3]
 #-# Timeout for conversion tasks (in milliseconds) (serverType:0 only).
 #-# Default value is 30 seconds
 # openoffice.taskExecutionTimeout=3

 And here's how it looks in the GUI:

 http://xwiki.475771.n2.nabble.com/file/n7590861/Capture1.png

 And I get this error message when clicking update:

 http://xwiki.475771.n2.nabble.com/file/n7590861/Capture2.png


 Please, if anyone know how to get this going / what I'm doing wrong, 
 help is much appreciated!
 /Chris



 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Need-help-to-get-Open-Server-importi
 ng-feature-running-tp7590861.html Sent from the XWiki- Users mailing 
 list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [MS] Re: Need help to get Open Server importing feature running

2014-06-04 Thread vinc...@massol.net
Guys,

Could you please ensure that this is documented on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
 ?

That would be great!

Thanks
-Vincent 



On 4 Jun 2014 at 12:17:59, Wistberg Christian 
(christian.wistb...@ulricehamn.se(mailto:christian.wistb...@ulricehamn.se)) 
wrote:

 Thank you Manuel!
  
 That worked like a charm!
  
 Cheers,
 Chris
  
 -Ursprungligt meddelande-
 Från: users [mailto:users-boun...@xwiki.org] För Manuel Smeria
 Skickat: den 4 juni 2014 11:13
 Till: XWiki Users
 Ämne: [MS] Re: [xwiki-users] Need help to get Open Server importing feature 
 running
  
 Hello Christian,
  
 From what I know neither OpenOffice nor LibreOffice work on Windows if you 
 set openoffice.serverType=0.
  
 I have LibreOffice 4.2.4.2 on my Windows machine and I used these settings to 
 get the Importer to work:
 * set openoffice.serverType=1 in your xwiki.properties file
 * create a shortcut to C:\Program Files (x86)\LibreOffice 
 4\program\soffice.exe -nofirststartwizard -headless 
 -accept=socket,host=127.0.0.1,port=8100;urp; - adjust this to your actual 
 path
 * start XWiki and connect to the Office server from Administration
  
 Hope this helps,
 Manuel
  
  
 On Wed, Jun 4, 2014 at 11:48 AM, chris_w  
 wrote:
  
  Hi all,
 
  I've got xWiki Enterprise 6.0.1 installed on a Windows 7 machine.
  Installed latest OpenOffice 4.1
 
  Here's my xwiki.properties file, OpenOffice Server section:
 
 
  #-
   # Settings for the OpenOffice server instance
  consumed by the OfficeImporter component
 
  #-
  
 
  #-# [Since 1.9M2]
  #-# Type of the openoffice server instance used by officeimporter
  component.
  #-# 0 - Internally managed server instance. (Default) #-# 1 -
  Externally managed (local) server instance.
  openoffice.serverType=0
 
  #-# [Since 1.9M2]
  #-# Port number used for connecting to the openoffice server instance.
  #-# Default port is 8100
  # openoffice.serverPort=8100
 
  #-# [Since 1.9M2]
  #-# If the openoffice server should be started / connected upon XE start.
  #-# Default value is false
  openoffice.autoStart=true
 
  #-# [Since 1.8RC3]
  #-# Path to openoffice installation (serverType:0 only).
  #-# If no path is provided, a default value will be calculated based
  on the operating environment.
  #-# Example: openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
  openoffice.homePath=openoffice.homePath=C:/Program Files
  (x86)/OpenOffice 4
 
  #-# [Since 1.8RC3]
  #-# Path to openoffice execution profile (serverType:0 only).
  #-# If no path is provided, a default value will be calculated based
  on the operating environment.
  #-# Example:
  openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
  openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
 
  #-# [Since 1.8RC3]
  #-# Maximum number of simultaneous conversion tasks to be handled by a
  single openoffice process (serverType:0 only).
  #-# Default value is 50
  # openoffice.maxTasksPerProcess=50
 
  #-# [Since 1.8RC3]
  #-# Timeout for conversion tasks (in milliseconds) (serverType:0 only).
  #-# Default value is 30 seconds
  # openoffice.taskExecutionTimeout=3
 
  And here's how it looks in the GUI:
 
   
 
  And I get this error message when clicking update:
 
   
 
 
  Please, if anyone know how to get this going / what I'm doing wrong,
  help is much appreciated!
  /Chris
 
 
 
  --
  View this message in context:
  http://xwiki.475771.n2.nabble.com/Need-help-to-get-Open-Server-importi
  ng-feature-running-tp7590861.html Sent from the XWiki- Users mailing
  list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Maven errors

2014-06-04 Thread Thomas Mortagne
It's not very clear what you are trying to build. You checkouted
xwiki-platform-5.4.5 tag and just build it without any modification or
did you patched it ?

Also are you building with Java 7 (or more) ? Java 6 is not supported.

On Wed, Jun 4, 2014 at 11:56 AM, wafid
mahfoudh.atm...@telecom-bretagne.eu wrote:

 I tried with mvn clean install-DskipTests = true

 but:
 [ERROR] Failed to execute goal
 org.codehaus.mojo:aspectj-maven-plugin:1.5:compile
 (backward-compatibility-aspects) on project xwiki-platform-skin-skinx:
 Compiler errors:
 [ERROR] error at (no source information available)
 [ERROR]
 /home/usr/xwikiProject/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/aspect/compatibility/com/xpn/xwiki/plugin/skinx/SkinFileExtensionPluginApiCompatibilityAspect.aj:0::0
 The type java.util.Map$Entry cannot be resolved. It is indirectly referenced
 from required .class files
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please
 read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :xwiki-platform-skin-skinx




 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590870.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Maven errors

2014-06-04 Thread wafid
i checkout xwiki-platform-5.4.5 tag and  build it without any modification.
i build it with Java 8.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590874.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] improve SpaceIndex

2014-06-04 Thread vinc...@massol.net
Hi Pascal, 

On 4 Jun 2014 at 10:12:56, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
  
 If I found a patch to resolve a bug. I must create a JIRA issue AND a pull 
 request on GitHub, or can I only pull request? 

Yes both...

 By the way, if I pull request I must indicate the link to JIRA issue number ? 
 If yes how? In comment?

Ideally in the git commit you should use the following format:

JIRA ISSUE ID, e.g. XWIKI-1000 : summary from JIRA
* extra comment, optional

Thanks!
-Vincent

 Thxs.  
  
 De : vinc...@massol.net  
 À : XWiki Users  
 Cc : Pascal BASTIEN  
 Envoyé le : Mardi 3 juin 2014 15h41
 Objet : Re: [xwiki-users] improve SpaceIndex
  
 Thanks Pascal  
  
 Would be great if you could create 1) a JIRA issue and 2) a Pull Request on 
 https://github.com/xwiki/xwiki-platform for this!  
  
 That would increase the likelihood of getting this in the platform :)  
  
 Thanks  
 -Vincent
  
  
  
 On 3 Jun 2014 at 14:07:41, Pascal BASTIEN 
 (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
  
  Hello,
 
  Here, I add sort parameter to SpaceIndex function to display the list of 
  document with another ... sort:
 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro#Comments
 
  Have fun :-)
 
  It will be nice to add that at xwiki engine...
 
 
  Pascal B
  
  
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to change RSS output

2014-06-04 Thread D R
Hi,

I'd like to change the output of XWiki RSS feeds to show more details.
Currently it only shows The document Document Name was created/changed.

More details like a summary of changes or the whole document contents in
case it's a new one would be appreciated.

Is it possible to edit the default RSS output?

Thanks in advance,
Dennis
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to change RSS output

2014-06-04 Thread vinc...@massol.net
Hi,

On 4 Jun 2014 at 15:25:03, D R (rir@gmail.com(mailto:rir@gmail.com)) 
wrote:

 Hi,
  
 I'd like to change the output of XWiki RSS feeds to show more details.
 Currently it only shows The document was created/changed.
  
 More details like a summary of changes or the whole document contents in
 case it's a new one would be appreciated.
  
 Is it possible to edit the default RSS output?

Yes, see 
http://platform.xwiki.org/xwiki/bin/view/Features/RSS#HCustomizedRSSFeeds

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Howto delete objects on a page

2014-06-04 Thread Matthias Albert
Hi all,

after successfully adding objects of a certain class to a page document
via groovy, I cannot find any hint in API nor in the documentation, how
to delete  an object. Can anybody help, please?

Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Howto delete objects on a page

2014-06-04 Thread Matthias Albert
Here is the answer to my own question:

doc.removeObject(object)


Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] groovy and PermGen space exception

2014-06-04 Thread lequan.moon
OK Thanks Thomas.
Temporary I tried not to use closures in script. Closure themself make the
loaded classes increased.
And maybe I should call System.gc() each time the request is done??

And about the issue on jira, well I must say that I not quite familiar with
JIRA. Sorry about that.
Maybe later when I have time to get used to JIRA



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/groovy-and-PermGen-space-exception-tp7590836p7590888.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] I need help about new version of XWiki

2014-06-04 Thread Lumar V. Bertoli Jr

Dear Thomas Mortagne,

Thank you very much for your help. After you helped me, everything 
worked well, only the Blog space isn't working.


Before the problem, the user could see all the Blog's posts in the blog 
space, but now the main page of the blog space is empty. All the blog's 
posts are available by the search tool.


Could you please fix that too?

Thanks a lot!

Lumar





Em 02-Jun-14 9:27 AM, Thomas Mortagne escreveu:

I just upgraded your wiki, all seems OK (did not really got much conflict).

On Mon, Jun 2, 2014 at 12:20 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Hmm your wiki does not seems to be upgraded actually, most admin UI is
broken. Looking at your upgrade status.

On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Or are you talking about the Sandbox space ?

On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Do you still have an issue with your wiki ? lumarjr.myxwiki.org home
page seems to be there.

On Mon, May 26, 2014 at 12:01 AM, Lumar V. Bertoli Jr luma...@gmail.com wrote:

Dear,

I stored all my informations on: lumarjr.myxwiki.org. Recently, when I
logged at the site, I received the information that was necessary to upgrade
to the new version of XWiki.

I tried to follow the wizard, but in one of the steps occurred a error. So,
I tried to fix the problem by myself, but I couldn't. I think that some
important files from template was deleted.

Now, when I log at lumarjr.myxwiki.org, I  receive the follow message:

/Notice//
//The requested document could not be found.//
//You can edit this page to create it.//
//The following versions are in the recycle bin://
//Deleter Delete date Actions//
//Lumar Bertoli 2014/05/19 02:59 Restore Delete /

I would like to fix this problem because I have a lot of informations at
this wiki. Can you help me to go to a stable version or to downgrade to the
version that was working?

Thanks a lot,

Lumar
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



--
Thomas Mortagne



--
Thomas Mortagne



--
Thomas Mortagne





___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users