Hello,
To understand how the creation of xwiki component works, I followed the
tutorial at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents and I
previously read the Building XWiki from sources page (
http://dev.xwiki.org/xwiki/bin/view/Community/Building). My goal is to
integrate the HelloWorld component (the tutorial one) in my xwiki instance
and to be able to access it in page by velocity.
Here is what I did :
* install maven 3.0 beta and put the settings.xml files in the .m2
* download the xwiki-archetype-velocity-component-1.0-SNAPSHOT.jar<http://platform.xwiki.org/xwiki/bin/download/DevGuide/WritingComponents/xwi…>,
install it and generate the xwiki component from it
* in the pom.xml of the component, I replace the
<platform.core.version>1.8-SNAPSHOT</platform.core.version> by
<platform.core.version>2.3-SNAPSHOT</platform.core.version>
Then, I tried to install the component (with mvn install) in order to create
a jar I can put in my WEB-INF/lib directory. But, I had the following error
:
*[INFO] Scanning for projects...*
> *[INFO]*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] Building xwiki-essai-component 1.1-SNAPSHOT*
> *[INFO]
> ------------------------------------------------------------------------*
> *[WARNING] Missing POM for velocity-tools:velocity-tools:jar:1.4*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] BUILD FAILURE*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] Total time: 1.050s*
> *[INFO] Finished at: Tue Jul 06 13:25:45 CEST 2010*
> *[INFO] Final Memory: 2M/4M*
> *[INFO]
> ------------------------------------------------------------------------*
> *[ERROR] Failed to execute goal on project xwiki-essai-component: Missing:
> *
> *----------*
> *1) org.xwiki.platform:xwiki-core-component:jar:2.3-SNAPSHOT*
> * Try downloading the file manually from the project website.*
> * Then, install it using the command:*
> * mvn install:install-file -DgroupId=org.xwiki.platform
> -DartifactId=xwiki-c*
> *ore-component -Dversion=2.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> *
> * Alternatively, if you host your own repository you can deploy the file
> there:*
> * mvn deploy:deploy-file -DgroupId=org.xwiki.platform
> -DartifactId=xwiki-core-component -Dversion=2.3-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]*
> * Path to dependency:*
> * 1) com.xpn.xwiki.products:xwiki-essai-component:pom:1.1-SNAPSHOT*
> * 2) org.xwiki.platform:xwiki-core-component:jar:2.3-SNAPSHOT*
> *----------*
> *1 required artifact is missing.*
> *for artifact:*
> * com.xpn.xwiki.products:xwiki-essai-component:pom:1.1-SNAPSHOT*
> *from the specified remote repositories:*
> * xwiki-externals (http://maven.xwiki.org/externals, releases=true,
> snapshots=true),*
> * xwiki-releases (http://maven.xwiki.org/releases, releases=true,
> snapshots=false),*
> * xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false,
> snapshots=true),*
> * central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
> *
> *-> [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/MultipleArtifactsNotFoundE…
> *
>
I'm new in Maven so i don't understand where is the problem. But I
dowloaded, as explained, the file
missing<http://maven.xwiki.org/snapshots/org/xwiki/platform/xwiki-core-component/2.…>and
install it with :
*mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-component -Dversion=2.3-20100702.153251-358
-Dpackaging=jar -Dfile=C:\Users\fnac\Desktop\May\testMVN\pom.xml*
This time, the build succeeded but I didn't have any jar file. And, when I
tried again "mvn install", I had the same error.
I also tried "mvn -nsu clean install" (I read that somewhere) and it was the
same.
Do I miss something ? Is "mvn install" the good way to have a jar ? (I tried
"mvn package" too)
Marine
Hello.
As you probably noticed some of the colibri menu icons recently modified,
especially the ones which have white as a base color, doesn`t look nice at
all on a white background. That`s why I added a light gray border in order
to make them look nice on white bg. Here you can see the result:
http://incubator.myxwiki.org/xwiki/bin/view/Ciprian/Icons
You will notice that their aspect is also changed a little, for darker
backgrounds but it shouldn`t be that visually disturbing. They are still
16x16 px.
If everyone agree I will make a patch with the new version.
Thanks.
--
Ciprian,
Designer
XWiki
All,
I am having issues on an upgraded and a clean install of XWiki
2.3.1. I attach a jar file (configBackup.jar) and try to use that in
my groovy script as follows:
{{groovy jars="attach:configBackup.jar"}}
import path.to.my.class;
...
...
{{/groovy}}
The thread which is processing the page crashes with a the following
stack trace visible in the catalina.out of Tomcat:
2010-07-06 11:08:34,014
[http://192.168.54.50:8080/xwiki/bin/view/TelnetBackup/BackUpAction]
DEBUG ternal.DefaultConverterManager - Failed to find a proper
Converter for type [java.lang.String]
org.xwiki.component.manager.ComponentLookupException: Can't find
descriptor for the component [role =
[org.xwiki.properties.converter.Converter] hint = [java.lang.String]]
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:356)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:109)
at org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:85)
at org.xwiki.properties.internal.DefaultConverterManager.lookupConverter(DefaultConverterManager.java:75)
at org.xwiki.properties.internal.DefaultConverterManager.convert(DefaultConverterManager.java:55)
at org.xwiki.properties.internal.DefaultBeanManager.populateBean(DefaultBeanManager.java:125)
at org.xwiki.properties.internal.DefaultBeanManager.populate(DefaultBeanManager.java:80)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:160)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:119)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7213)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7188)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:797)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:811)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1729)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:837)
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1840)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1761)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
The page is never rendered and the browser just keeps showing busy
until it times out.
Any suggestions or help would be greatly appreciated.
Thanks,
Deven Phillips
Hi,
I was trying to use the DatePicker Application inside a Modal Box
Application. The problem is that the DatePicker pop-up appears behind the
modal box. I try to use the zindex property. But it doesn't work.
This is the code I am using:
afterLoad: function() { var dpicker = new DatePicker({relative :
'fieldName', language : 'us', zindex: '3000'});}
Regards,
Abel
Hello,
I notice that exportation in rtf format has some bad behaviors:
- Two things are not really important because, like it's rtf format, we
can modify the document. But the rendering is a little weird : the
importation doesn't create a cover page with the main title and puts the
beginning of the table of content at the bottom of the first page...
- As well (and it's the big point to me), tables are rendered in a
strange way: the column width is so thin that we cannot notice the
content of cells... We can thin "No matter, we can modify the larger in the
rtf document" but we can only do that cell by cell... For small tables, it's
okay but, for bigger ones, it's not very useful ! I put an example in
attachment of this table so that you can see the issue:
|=column 1|=column 2
|content 1|content 2
To finish, I just have one question about customizing exportation. I tried
to customize the PDF export Look & Feel by creating a PDFClass and a
PDFClassTemplate. The template has a textearea "style" property which
contains (just to test) :
h1{
color : red;
}
div{
color : red;
}
p{
color : red;
}
I added the "&template=XWiki.PDFClassTemplate" line to the exportation link
but the rendering is always the same... Did I forgot to do something ?
For your knowledge, I tried that because I would like to customize the table
look and feel. I don't like that they don't have borders...
Thank you in advance for your help.
Marine
The Export tool which output's XAR files includes the UUID in the XML
file. This would cause a conflict between unlinked XWiki
installations. As the import process will automatically generate a
UUID for XML files which do not have one, I would recommend changing
the export to exclude that property.
Thanks,
Deven Phillips
Hi everybody,
I've just configured a LDAP authentication in my XEM 2.3.1 and I have two
questions.
I would like you to confirm that LDAP authenticated users only appear in the
admin users menu at their first connection. Is it right ? In that case, how
can i put all authenticated users in a wiki group different to XWikiAllGroup
?
Besides, I would like that only one group of my LDAP can access to the admin
wiki and to wiki templates. Is there a way to do that ?
Thanks in advance for your help.
Marine
Festo AG & Co. KG
Lars Hermes
Abteilung IS-PB
BSP Development + User Services
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4510
Telefax +49(711)34754-4510
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Pers?nlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/?sterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dipl.-Kfm. Alfred Goll
Dr. Claus Jessen
Dr. Ansgar Kriwet
Dr. Eberhard Veit (Vorsitzender)
Dipl.- Kfm. Michael M?lleken
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll