Re: [xwiki-users] Fwd: Can't build project xwiki-platform-wiki-default
What branch / tag of https://github.com/xwiki/xwiki-platform/ are you building? Did you make any changes (is git status clean) ? Did you configure Maven as per http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ? What OS are you using? I have no problem building the entire xwiki-platform-wiki module on the clean master branch, using Maven 3.0.4 and Java 7 on Linux (Ubuntu). Hope this helps, Marius On Thu, Apr 16, 2015 at 6:58 PM, Khjintcorp khjintc...@gmail.com wrote: Hello I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed all problems related to build. Except one thing if the module has component codes or components.txt I always got build error. Please see the attached error log. I think I missed one thing but I don't know yet. Can you help me on this issue. Thanks Ken Sent from my iPhone Begin forwarded message: From: LIANG, KEN K (CTR) ken.k.li...@cbp.dhs.gov Date: April 16, 2015 at 10:13:14 AM EDT To: khjintc...@gmail.com khjintc...@gmail.com Subject: Can't build project xwiki-platform-wiki-default [INFO] XWiki Platform - Wiki - Parent POM . SUCCESS [ 7.463 s] [INFO] XWiki Platform - Wiki - API SUCCESS [ 8.459 s] [INFO] XWiki Platform - Wiki - Default Implementation . FAILURE [ 25.449 s] [INFO] XWiki Platform - Wiki - REST - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - REST - API . SKIPPED [INFO] XWiki Platform - Wiki - Template - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - Template - API . SKIPPED [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED [INFO] XWiki Platform - Wiki - Script services SKIPPED [INFO] XWiki Platform - Wiki - Template - Default . SKIPPED [INFO] XWiki Platform - Wiki - Template - Script .. SKIPPED [INFO] XWiki Platform - Wiki - User - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - User - API . SKIPPED [INFO] XWiki Platform - Wiki - User - Default . SKIPPED [INFO] XWiki Platform - Wiki - User - Script .. SKIPPED [INFO] XWiki Platform - Wiki - UI - Parent POM SKIPPED [INFO] XWiki Platform - Wiki - UI - Common SKIPPED [INFO] XWiki Platform - Wiki - UI - Main Wiki . SKIPPED [INFO] XWiki Platform - Wiki - UI - Wiki .. SKIPPED [INFO] XWiki Platform - Wiki - Workspaces Migrator SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 43.351 s [INFO] Finished at: 2015-04-16T10:11:32-04:00 [INFO] Final Memory: 72M/912M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project xwiki-platform-wiki-default: Compilation failure: Compilation failure: [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component
Re: [xwiki-users] Cannot add users in XWiki
On Thu, Apr 16, 2015 at 10:06 PM, Rui Rosado r...@rosado.nl wrote: Hi all, I have been working for some time now with XWiki 6.3. Basically all the functionalities were OK. The wiki contains about 6 virtual wiki's, and all of them are up and running well. From a certain moment on, however, I noticed that I could not add any users to the main xwiki instance (I can add them to the virtual wiki's though). I am not aware of any change on the main-wiki (xwiki) level that I might have caused. So I decided to upgrade to version 7.0 The upgrade process went well, but I still have this error. The error on the add-users page in xwiki in a pink message popup: Failed to execute the [velocity] macro. Click on the message for details. If I click on the message, there is no reaction. I can only close this popup. The popup content is probably loaded dynamically through AJAX and the JavaScript responsible for expanding the message on click is not hooked. You can still get the message if you inspect the error: right click + select Inspect Element (or something similar) from the context menu. This will open the DOM (HTML) inspector. The error message is inside a SPAN with class=xwikirenderingerror and the error description (stacktrace) is in the following SPAN with class=xwikirenderingerrordescription hidden. Double click on the class value and remove hidden. Then check the stacktrace. Hope this helps, Marius In the xwiki-log on the server I can read: 2015-04-16 19:29:24,968 [http://xwiki.---.--/xwiki/bin/view/XWiki/XWikiPreferences?xpage=registerinline] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #loadConfig called at 19:xwiki:XWiki.Registration[line 19, column 1] Any ideas on how to get this functioning would be highly appreciated, as I will have to enter about 670 users with different rights on the different virtual-wikis. Cheers, Rui Rosado ___ 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
[xwiki-users] [ANN] XWiki 6.4.4 released
The XWiki development team is proud to announce the availability of XWiki 6.4.4. This is a bugfix release fixing issues found in XWiki 6.4.3. We recommend upgrading. You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download Make sure to review the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki644 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extension manager usage with offline instance
Hi Francois, On 16 Apr 2015 at 11:00:12, BOISSIER, Francois (francois.boiss...@capgemini.com(mailto:francois.boiss...@capgemini.com)) wrote: Hello, I have a xwiki 7.0 instance without internet connection, so I have to manually install the extensions using xar archives. The manually installed extensions don't appeared in Installed Extensions menu of the extension manager. Can you tell me if this is normal ? Also, can you tell me how to cleanly uninstall manually installed extensions ? It depends on the XAR you’re importing I think (I’m not an expert on the extension manager). If that XAR is an extension then it’ll registered as an extension and you’ll see it in the extension manager UI. What XAR are you importing? Are you sure it’s an extension? Thanks -Vincent Regards, François ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extension manager usage with offline instance
XAR importer job is just to import pages. If it find on a repository am extension that looks like what you import it will assume that you are the installing this extension but it always validate it with the repository. Le 17 avr. 2015 10:43, vinc...@massol.net vinc...@massol.net a écrit : Hi Francois, On 16 Apr 2015 at 11:00:12, BOISSIER, Francois ( francois.boiss...@capgemini.com(mailto:francois.boiss...@capgemini.com)) wrote: Hello, I have a xwiki 7.0 instance without internet connection, so I have to manually install the extensions using xar archives. The manually installed extensions don't appeared in Installed Extensions menu of the extension manager. Can you tell me if this is normal ? Also, can you tell me how to cleanly uninstall manually installed extensions ? It depends on the XAR you’re importing I think (I’m not an expert on the extension manager). If that XAR is an extension then it’ll registered as an extension and you’ll see it in the extension manager UI. What XAR are you importing? Are you sure it’s an extension? Thanks -Vincent Regards, François ___ 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] Extension manager usage with offline instance
On 17 Apr 2015 at 13:51:32, Thomas Mortagne (thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote: XAR importer job is just to import pages. If it find on a repository am extension that looks like what you import it will assume that you are the installing this extension but it always validate it with the repository. Ah ok, didn’t know this! :) I’ve documented it here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport#HImportinganExtension Thanks -Vincent Le 17 avr. 2015 10:43, vinc...@massol.net a écrit : Hi Francois, On 16 Apr 2015 at 11:00:12, BOISSIER, Francois ( francois.boiss...@capgemini.com(mailto:francois.boiss...@capgemini.com)) wrote: Hello, I have a xwiki 7.0 instance without internet connection, so I have to manually install the extensions using xar archives. The manually installed extensions don't appeared in Installed Extensions menu of the extension manager. Can you tell me if this is normal ? Also, can you tell me how to cleanly uninstall manually installed extensions ? It depends on the XAR you’re importing I think (I’m not an expert on the extension manager). If that XAR is an extension then it’ll registered as an extension and you’ll see it in the extension manager UI. What XAR are you importing? Are you sure it’s an extension? Thanks -Vincent Regards, François ___ 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
[xwiki-users] [XWiki] change the font size and color in a livetable
Hello I'm creating a Live Table with the normal macro and I would like to know if it is possible to change the font size and color of the text inside the table ? {{velocity}} #set($columns = [doc.name, doc.date]) #set($columnsProperties = { doc.name : {displayName : Name }, doc.date : {displayName : }, }) #set($options = { className:, selectedColumn : doc.date, defaultOrder : desc, rowCount: 10 }) #livetable(userdirectory $columns $columnsProperties $options) {{/velocity}} This is the code I use to create the livetable (of all documents of the XWiki), but I have no idea how to change the font size and color for the whole table, and I would also like to know if it was possible to change the font size and color for a specific column? Thanks for the advice !! Greetings Adrien ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XWiki] change the font size and color in a livetable
Hi Adrien, I can't be more precise now, but these could be entry points to which you are trying to get... http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins http://platform.xwiki.org/xwiki/bin/view/AdminGuide/CSS+files http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial http://platform.xwiki.org/xwiki/bin/view/AdminGuide/CSSLayout You should be able to read the code of the HTML page and identify id and classes affecting the elements you want to modify the appearance. XWiki offers you total control on how information items are shown, but, as with any powerful tool, the way of getting it is not always obvious. Firebug or the developer tools bundled with Safari, Firefox or Chrome must be in your toolset. Looking for CSS related message in this list could also help you. HTH, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Adrien Moi [adrienmoi1...@hotmail.com] Enviado: viernes, 17 de abril de 2015 12:40 Para: users@xwiki.org Asunto: [xwiki-users] [XWiki] change the font size and color in a livetable Hello I'm creating a Live Table with the normal macro and I would like to know if it is possible to change the font size and color of the text inside the table ? {{velocity}} #set($columns = [doc.name, doc.date]) #set($columnsProperties = { doc.name : {displayName : Name }, doc.date : {displayName : }, }) #set($options = { className:, selectedColumn : doc.date, defaultOrder : desc, rowCount: 10 }) #livetable(userdirectory $columns $columnsProperties $options) {{/velocity}} This is the code I use to create the livetable (of all documents of the XWiki), but I have no idea how to change the font size and color for the whole table, and I would also like to know if it was possible to change the font size and color for a specific column? Thanks for the advice !! Greetings Adrien ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fwd: Can'tbuild project xwiki-platform-wiki-default
Sent from my iPhone Begin forwarded message: Hi Marius I used the entire xwiki-platform-wiki module on the clean master branch. I used window to build xwiki. Here is my configuration. C:\Projects\xwiki-platformmvn -version Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T16:10:27-04:00) Maven home: C:\apache-maven-3.3.1 Java version: 1.7.0_65, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_65\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows I followed the direction on http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven. I can do clean, but not install. mvn clean install -Dxwiki.checkstyle.skip=true It seems that the components in any modules are not able to be compiled. Do I miss any steps in set up in order to build xwiki? I got the same issue when I try to build the xwiki-common package Thanks Ken On Apr 16, 2015 11:14:02 pm , Marius Dumitru Florea (mari...@xwiki.com) Wrote What branch / tag of https://github.com/xwiki/xwiki-platform/ are you building? Did you make any changes (is git status clean) ? Did you configure Maven as per http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ? What OS are you using? I have no problem building the entire xwiki-platform-wiki module on the clean master branch, using Maven 3.0.4 and Java 7 on Linux (Ubuntu). Hope this helps, Marius On Thu, Apr 16, 2015 at 6:58 PM, Khjintcorp khji...@gmail.com wrote: Hello I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed all problems related to build. Except one thing if the module has component codes or components.txt I always got builderror. Please see the attached error log. I think I missed one thing but I don't know yet. Can you help me on this issue. Thanks Ken Sent from my iPhone Begin forwarded message: From: LIANG, KEN K (CTR) ken@cbp.dhs.gov Date: April 16, 2015 at 10:13:14 AM EDT To: khji...@gmail.com khji...@gmail.com Subject: Can'tbuild project xwiki-platform-wiki-default [INFO] XWiki Platform - Wiki - Parent POM . SUCCESS [ 7.463 s] [INFO] XWiki Platform - Wiki - API SUCCESS [ 8.459 s] [INFO] XWiki Platform - Wiki - Default Implementation . FAILURE [ 25.449 s] [INFO] XWiki Platform - Wiki - REST - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - REST - API . SKIPPED [INFO] XWiki Platform - Wiki - Template - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - Template - API . SKIPPED [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED [INFO] XWiki Platform - Wiki - Script services SKIPPED [INFO] XWiki Platform - Wiki - Template - Default . SKIPPED [INFO] XWiki Platform - Wiki - Template - Script .. SKIPPED [INFO] XWiki Platform - Wiki - User - Parent POM .. SKIPPED [INFO] XWiki Platform - Wiki - User - API . SKIPPED [INFO] XWiki Platform - Wiki - User - Default . SKIPPED [INFO] XWiki Platform - Wiki - User - Script .. SKIPPED [INFO] XWiki Platform - Wiki - UI - Parent POM SKIPPED [INFO] XWiki Platform - Wiki - UI - Common SKIPPED [INFO] XWiki Platform - Wiki - UI - Main Wiki . SKIPPED [INFO] XWiki Platform - Wiki - UI - Wiki .. SKIPPED [INFO] XWiki Platform - Wiki - Workspaces Migrator SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 43.351 s [INFO] Finished at: 2015-04-16T10:11:32-04:00 [INFO] Final Memory: 72M/912M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project xwiki-platform-wiki-default: Compilation failure: Compilation failure: [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration parameter as in @Component(staticRegistration = false) [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider adding a components.txt file or if it's normal use the staticRegistration
[xwiki-users] Fwd: Can'tbuild project xwiki-platform-wiki-default
Sent from my iPhone Begin forwarded message Hi Marius. I think this is related to MCOMPILER-122. (See ComponentCheckerAnnotationProcessor.java). This is required because of http://jira.codehaus.org/browse/MCOMPILER-122. However note that IntelliJ IDEA doesn't honor custom sourcepaths, see https://youtrack.jetbrains.com/issue/IDEA-133120, which means that you need to turn off Annotation Processing in IDEA or IDEA will generate errors while building modules -- Vincent Massol’ note I've hit this problem too. I've had to do the following (https://github.com/xwiki/xwiki-commons/blob/master/pom.xml#L762): plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId !-- Lock down plugin version for build reproducibility -- version3.2/version configuration source1.7/source target1.7/target /configuration executions !-- We need custom sourcepaths for our Component Annotation Process work (See ComponentCheckerAnnotationProcessor.java). This is required because of http://jira.codehaus.org/browse/MCOMPILER-122. However note that IntelliJ IDEA doesn't honor custom sourcepaths, see https://youtrack.jetbrains.com/issue/IDEA-133120, which means that you need to turn off Annotation Processing in IDEA or IDEA will generate errors while building modules -- execution iddefault-compile/id configuration compilerArguments sourcepath${project.basedir}/src/main/java:${project.basedir}/src/main/resources/sourcepath /compilerArguments /configuration /execution execution iddefault-testCompile/id configuration compilerArguments sourcepath${project.basedir}/src/test/java:${project.basedir}/src/test/resources/sourcepath /compilerArguments /configuration /execution /executions /plugin However this isn't perfect. It works in Maven but fails in IDEA (see https://youtrack.jetbrains.com/issue/IDEA-133120). I'm also not sure it works on Windows machines (but that could be fixed with profiles). In addition I've noticed that it runs javac with 2 -sourcepath parameters! For example: [DEBUG] -d /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes -classpath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-component-generation/6.4-SNAPSHOT/xwiki-commons-tool-component-generation-6.4-SNAPSHOT.jar: -sourcepath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/java:/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations: -s /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations -g -deprecation -target 1.7 -source 1.7 -encoding UTF-8 -sourcepath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/java:/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/resources -Xlint:all --- Do you know how to fix this in Window env Thanks Ken From: LIANG, KEN K (CTR) Sent: Friday, April 17, 2015 11:06 AM To: 'khjintc...@gmail.com' Subject: Can'tbuild project xwiki-platform-wiki-default Hi Marius I used the entire xwiki-platform-wiki module on the clean master branch. I used window to build xwiki. Here is my configuration. C:\Projects\xwiki-platformmvn -version Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T16:10:27-04:00) Maven home: C:\apache-maven-3.3.1 Java version: 1.7.0_65, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_65\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows I followed the direction on http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven. I can do clean, but not install. mvn clean install -Dxwiki.checkstyle.skip=true It seems that the components in any modules are not able to be compiled. Do I miss any steps in set up in order to build xwiki? I got the same issue when I try to build the xwiki-common