Re: [BLOCKER] SQLTransformer bug 1594 - cause found
On 18/01/2013 07:16, kompromiss wrote: Hi All I have this problem right now with cocoon 2.2 - swallowing spaces with substitution and ancestor variables. I've read about trimming text in class TextRecorder (org.apache.cocoon.transformation.helpers) Was the class TextRecorder in cocoon 2.2 fixed too? Wow, that's an old thread from 2005! I don't think that fix for mentioned issue [1] was applied to 2.2 basically because I don't think that 2.2 existed at that time. However, I'd think that SQLTransformer in 2.2 did originate from latest in 2.1, so I wouldn't expect that this issue is still there. FYI, here's the latest 2.2.X SQLTransformer source code: [2] HTH Regards. [1] https://issues.apache.org/jira/browse/COCOON-1594 [2] https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/transformation/SQLTransformer.java -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/
Re: [DISCUSS] Fix for COCOON3-105
Il 17/01/2013 10:23, Francesco Chicchiriccò ha scritto: On 14/01/2013 16:20, Thorsten Scherler wrote: [...] Can you please tell me how can I address block_A's sitemap from from block_B's sitemap? I have used *blockcontext:/* for this before. This should work In the same way as in *servlet-service.xml, e.g. by replacing blockcontext:/otherblock/BLA with jar:classpath:lib/otherblock.jar!/COB-INF/BLA Hi, I just tried the above in another project but using it in the sitemap I get java.net.MalformedURLException: invalid url: classpath:lib/api-0.1-SNAPSHOT.jar!/COB-INF/resources/xsl/intern-to-solr.xsl (java.net.MalformedURLException: unknown protocol: classpath) I am trying to use a central module to store common xsl that I need both in cocoon and in my java code. Hi Thorsten, sorry for the delay, I am quite busy in this period on other projects. Anyway, I'll try to check and get back asap to you. Hi Thorsten, I was finally able to make all needed checks and the good news is that everything is working as expected. From the error message you report above I guess that you are not using the very latest C3 SNAPSHOT artifacts. Anyway, I've updated the sample application [1] with some description about how to run and what you get [2]. HTH Regards. [1] https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105 [2] https://github.com/ilgrosso/cocoon3EmptyProject/blob/COCOON3-105/README.md -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/
[jira] [Updated] (COCOON3-92) Add javadoc to classes
[ https://issues.apache.org/jira/browse/COCOON3-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-92: -- Fix Version/s: (was: 3.0.0-beta-1) 3.0.0 Add javadoc to classes -- Key: COCOON3-92 URL: https://issues.apache.org/jira/browse/COCOON3-92 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline Reporter: Thorsten Scherler Priority: Blocker Fix For: 3.0.0 We need to add javadoc to our code! We used to have an outstanding javadoc but now not even interface CachingPipelineComponent http://cocoon.apache.org/3.0/apidocs/org/apache/cocoon/pipeline/component/CachingPipelineComponent.html has any explanations. If we release people expect old school javadocs and they have always been very good. The selected component should be ALL! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (COCOON3-112) JCommander is updated to 1.30
[ https://issues.apache.org/jira/browse/COCOON3-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò reassigned COCOON3-112: -- Assignee: Francesco Chicchiriccò JCommander is updated to 1.30 - Key: COCOON3-112 URL: https://issues.apache.org/jira/browse/COCOON3-112 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-cli Reporter: ZhiQiang,He Assignee: Francesco Chicchiriccò Priority: Trivial This is just a tip. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-112) JCommander is updated to 1.30
[ https://issues.apache.org/jira/browse/COCOON3-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-112: --- Fix Version/s: 3.0.0-beta-1 JCommander is updated to 1.30 - Key: COCOON3-112 URL: https://issues.apache.org/jira/browse/COCOON3-112 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-cli Reporter: ZhiQiang,He Assignee: Francesco Chicchiriccò Priority: Trivial Fix For: 3.0.0-beta-1 This is just a tip. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-101) Keep archetype synced
[ https://issues.apache.org/jira/browse/COCOON3-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-101: --- Fix Version/s: 3.0.0-beta-1 Keep archetype synced - Key: COCOON3-101 URL: https://issues.apache.org/jira/browse/COCOON3-101 Project: Cocoon 3 Issue Type: New Feature Components: cocoon-archetype-X Reporter: Thorsten Scherler Fix For: 3.0.0-beta-1 http://cocoon.markmail.org/thread/f6hruvbn7h7orllp -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (COCOON3-112) JCommander is updated to 1.30
[ https://issues.apache.org/jira/browse/COCOON3-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò closed COCOON3-112. -- Resolution: Fixed http://svn.apache.org/viewvc?rev=1435545view=rev JCommander is updated to 1.30 - Key: COCOON3-112 URL: https://issues.apache.org/jira/browse/COCOON3-112 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-cli Reporter: ZhiQiang,He Assignee: Francesco Chicchiriccò Priority: Trivial Fix For: 3.0.0-beta-1 This is just a tip. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-109) Report how to change XSLT service implementation
[ https://issues.apache.org/jira/browse/COCOON3-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-109: --- Fix Version/s: 3.0.0-beta-1 Report how to change XSLT service implementation Key: COCOON3-109 URL: https://issues.apache.org/jira/browse/COCOON3-109 Project: Cocoon 3 Issue Type: Task Components: site Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 3.0.0-beta-1 Recently in ML [1] it was reported how to change the XSLT service implementation for XSLT transformer. This should be documented somewhere in the C3 site. [1] http://markmail.org/message/nzhgv7dm7c6x6xka -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-82) Allow Saxon to be used as a XSLT transformer
[ https://issues.apache.org/jira/browse/COCOON3-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-82: -- Fix Version/s: 3.0.0-beta-1 Allow Saxon to be used as a XSLT transformer Key: COCOON3-82 URL: https://issues.apache.org/jira/browse/COCOON3-82 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Affects Versions: 3.0.0-beta-1 Reporter: Huib Verweij Fix For: 3.0.0-beta-1 In order to use XSLT 2.0 features (and beyond) in a XSLT transform I need to be able to use Saxon as a transformer. In C2.2 this could be done. There is a way of defining the transformer to be used in the system settings: -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl. This might work, I am not sure, but then the choice of XSLT processor is gone - but that is perhaps not important? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-100) Make IncludeTransformer cacheable.
[ https://issues.apache.org/jira/browse/COCOON3-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-100: --- Fix Version/s: 3.0.0-beta-1 Make IncludeTransformer cacheable. -- Key: COCOON3-100 URL: https://issues.apache.org/jira/browse/COCOON3-100 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline, cocoon-sax Affects Versions: 3.0.0-beta-1 Reporter: Javier Puerto Fix For: 3.0.0-beta-1 Attachments: COCOON3-100.diff, ResponseHeaderCollector.diff We need to implements CachingPipelineComponent. Like older Cocoon versions, we can ask for the SourceValidity of the implicated resources. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (COCOON3-117) Caching improvement
Francesco Chicchiriccò created COCOON3-117: -- Summary: Caching improvement Key: COCOON3-117 URL: https://issues.apache.org/jira/browse/COCOON3-117 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Reporter: Francesco Chicchiriccò Fix For: 3.0.0 Various hints about what to do in this direction from COCOON3-30, COCOON3-100 and [1]. [1] http://markmail.org/message/3t4hfp777beslynm -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COCOON3-100) Make IncludeTransformer cacheable.
[ https://issues.apache.org/jira/browse/COCOON3-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13557992#comment-13557992 ] Francesco Chicchiriccò commented on COCOON3-100: This issue can be temporarily solved by applying the same kind of approach from COCOON3-102. A proper fix will happen as for COOON3-107. Make IncludeTransformer cacheable. -- Key: COCOON3-100 URL: https://issues.apache.org/jira/browse/COCOON3-100 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline, cocoon-sax Affects Versions: 3.0.0-beta-1 Reporter: Javier Puerto Fix For: 3.0.0-beta-1 Attachments: COCOON3-100.diff, ResponseHeaderCollector.diff We need to implements CachingPipelineComponent. Like older Cocoon versions, we can ask for the SourceValidity of the implicated resources. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-93) Concurrency issues with ComponentProvider
[ https://issues.apache.org/jira/browse/COCOON3-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-93: -- Fix Version/s: 3.0.0 Concurrency issues with ComponentProvider - Key: COCOON3-93 URL: https://issues.apache.org/jira/browse/COCOON3-93 Project: Cocoon 3 Issue Type: Bug Components: cocoon-sitemap Affects Versions: 3.0.0-beta-1 Reporter: Javier Puerto Labels: patch Fix For: 3.0.0 Attachments: concurrency.jmx, concurrency.tar.gz, concurrency.tar.gz, SpringComponentProvider.diff http://cocoon.markmail.org/thread/3kgfye55zxavikwo we are working in a project based on C3 and we found a strange behaviour when loading the static resources. We are developing a Web 2.0 application and therefore we have a lot of resources (js, images and css). The weird thing is that sometimes the system is returning the wrong resources, returning a js instead of a css or switching images... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-98) RegexpLinkRewriterTransformer doesn't guarantees rules order
[ https://issues.apache.org/jira/browse/COCOON3-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-98: -- Fix Version/s: 3.0.0 RegexpLinkRewriterTransformer doesn't guarantees rules order Key: COCOON3-98 URL: https://issues.apache.org/jira/browse/COCOON3-98 Project: Cocoon 3 Issue Type: Bug Components: cocoon-sax Affects Versions: 3.0.0-beta-1 Reporter: Javier Puerto Fix For: 3.0.0 Attachments: LinkRewriterTransformer-COCOON-98.diff RegexpLinkRewriterTransformer apply all the defined rules iterating over a Set. I think that makes sense to implement some kind of priority because you may have rules that depends on other rules. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-70) Add extra method to LinkedSAXPipelineComponentBuilder
[ https://issues.apache.org/jira/browse/COCOON3-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-70: -- Fix Version/s: 3.0.0-beta-1 Add extra method to LinkedSAXPipelineComponentBuilder - Key: COCOON3-70 URL: https://issues.apache.org/jira/browse/COCOON3-70 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Affects Versions: 3.0.0-alpha-3 Reporter: Olivier Bazoud Fix For: 3.0.0-beta-1 Provide a way to add parameters to XSLTTransformer in LinkedSAXPipelineComponentBuilder: LinkedSAXPipelineComponentBuilder.addXSLTTransformer(URL source, MapString, Object attributes, MapString, Object parameters) and LinkedSAXPipelineComponentBuilder.addXSLTTransformerWithParameters(URL source, MapString, Object parameters) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-72) Add constructor to XSLTTransformer
[ https://issues.apache.org/jira/browse/COCOON3-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-72: -- Fix Version/s: 3.0.0-beta-1 Add constructor to XSLTTransformer -- Key: COCOON3-72 URL: https://issues.apache.org/jira/browse/COCOON3-72 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Affects Versions: 3.0.0-alpha-3 Reporter: Olivier Bazoud Fix For: 3.0.0-beta-1 It would be useful to add a constructor with javax.xml.transform.StreamSource and a lastModified. In my use case, xslt is stored in a database and I have a lastModified column. public XSLTTransformer(StreamSource source, long lastModified) { -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-71) Add constructor to SchemaProcessorTransformer
[ https://issues.apache.org/jira/browse/COCOON3-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-71: -- Fix Version/s: 3.0.0-beta-1 Add constructor to SchemaProcessorTransformer - Key: COCOON3-71 URL: https://issues.apache.org/jira/browse/COCOON3-71 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Affects Versions: 3.0.0-alpha-3 Reporter: Olivier Bazoud Fix For: 3.0.0-beta-1 It would be useful to add a constructor with javax.xml.transform.Source and a lastModified. In my use case, schema is stored in a database and I have a lastModified column. public SchemaProcessorTransformer(Source source, long lastModified); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-73) Run testcase with http.proxyHost inherited from environment
[ https://issues.apache.org/jira/browse/COCOON3-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-73: -- Fix Version/s: 3.0.0-beta-1 Run testcase with http.proxyHost inherited from environment --- Key: COCOON3-73 URL: https://issues.apache.org/jira/browse/COCOON3-73 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sample Reporter: Alfred Nathaniel Fix For: 3.0.0-beta-1 If run behind a firewall, the SitemapBuilderTest gets stuck when opening a connection to www.orf.at. The JVM running Junit must be started with the system property http.proxyHost. Who knows the magic Maven voodoo spell to do that, ideally inheriting the proxy host/port values defined in Maven's own settings.xml? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-87) Update Cocoon to be OSGi compliant
[ https://issues.apache.org/jira/browse/COCOON3-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-87: -- Fix Version/s: 3.0.0 Update Cocoon to be OSGi compliant -- Key: COCOON3-87 URL: https://issues.apache.org/jira/browse/COCOON3-87 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-controller, cocoon-databases, cocoon-monitoring, cocoon-pipeline, cocoon-profiling, cocoon-rest, cocoon-sax, cocoon-servlet, cocoon-shiro, cocoon-sitemap, cocoon-stax, cocoon-stringtemplate, cocoon-util, cocoon-webapp, cocoon-wicket Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: 3.0.0 Attachments: COCOON3-87.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-85) cocoon-spring-configurator doesn't work with latest ( 1.6.6) AspectJ's static optimizer
[ https://issues.apache.org/jira/browse/COCOON3-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-85: -- Fix Version/s: (was: 3.0.0-beta-1) 3.0.0 cocoon-spring-configurator doesn't work with latest ( 1.6.6) AspectJ's static optimizer Key: COCOON3-85 URL: https://issues.apache.org/jira/browse/COCOON3-85 Project: Cocoon 3 Issue Type: Bug Components: cocoon-servlet Affects Versions: 3.0.0-alpha-1, 3.0.0-alpha-2, 3.0.0-alpha-3, 3.0.0-beta-1 Reporter: Igor Malinin Fix For: 3.0.0 Attachments: java.patch As reported at first in mailing list [1], AspectJ's static optimizer was reviewed starting from 1.6.7 onward. A temporary workaround for this is to force usage of version 1.6.6 of AspectJ (quite ancient right now). At the moment Cocoon 3 is using latest Spring (3.1) and AspectJ (1.6.12) versions. With Spring 3.1, this workaround is not enough any more. One issue I reported already in mailing list when Jetty7 + recent AspectJ was failing, not the same issue is deeper and ServletContextFactoryBean doesn't work at all with Spring 3.1. Note that ServletContext is already in the Spring web-app context, although with another name ('servletContext'). This is available starting from Spring 3.0. Making an alias 'javax.servlet.ServletContext' - 'servletContext' solves problem partially, but still fails on XMLSitemapServlet initialization (as it uses static field in ServletContextFactoryBean). I will attach a patch (a little bit dirty, but not more than the current implementation). But it assumes at least Spring 3.0. As Cocoon 3 project is moved to Java 1.6, it is probably also worth to have as a dependency at leas 3.0 version of Spring Framework (for Java5 generics etc.) [1] http://old.nabble.com/Jetty-7---%22can%27t-determine-modifiers-of-missing-type-org.eclipse.jetty.webapp.WebAppContext$Context%22-error-td32314839.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-48) Relative access of deeply nested matcher parameters doesn't work
[ https://issues.apache.org/jira/browse/COCOON3-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-48: -- Fix Version/s: 3.0.0-beta-1 Relative access of deeply nested matcher parameters doesn't work Key: COCOON3-48 URL: https://issues.apache.org/jira/browse/COCOON3-48 Project: Cocoon 3 Issue Type: Bug Components: cocoon-sitemap Affects Versions: 3.0.0-alpha-3 Reporter: Reinhard Poetz Fix For: 3.0.0-beta-1 Following pipeline doesn't work: map:match wildcard=deep-relative-matcher/{a} map:match value={jexl:cocoon.request.param_a} equals=1 map:match value={jexl:cocoon.request.param_b} equals=1 map:generate src=sax-pipeline/simple.xml / map:transform src=sax-pipeline/simple.xslt map:parameter name=myParam value={map:../../a} / /map:transform map:serialize / /map:match /map:match /map:match I added this pipeline to the cocoon-samples sitemap and an integration test to org.apache.cocoon.it.MatcherTest#ignored_testDeepRelativeMatcher(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-81) cocoon webapp fails to build under Java 7
[ https://issues.apache.org/jira/browse/COCOON3-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-81: -- Fix Version/s: 3.0.0-beta-1 cocoon webapp fails to build under Java 7 -- Key: COCOON3-81 URL: https://issues.apache.org/jira/browse/COCOON3-81 Project: Cocoon 3 Issue Type: Bug Components: cocoon-webapp Affects Versions: 3.0.0-beta-1 Reporter: Thorsten Scherler Fix For: 3.0.0-beta-1 [INFO] Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor Debugging information message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor class : org.apache.maven.plugin.war.util.WebappStructure required-type : org.apache.maven.plugin.war.util.WebappStructure path: /webapp-structure line number : 1 --- [INFO] [INFO] Trace com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor Debugging information message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor class : org.apache.maven.plugin.war.util.WebappStructure required-type : org.apache.maven.plugin.war.util.WebappStructure path: /webapp-structure line number : 1 --- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117) at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781) at org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(WebappStructureSerializer.java:73) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:404) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:375) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at
[jira] [Updated] (COCOON3-65) Provide documentation for the cocoon-spring-configurator items (sitemap reload, exception unroll)
[ https://issues.apache.org/jira/browse/COCOON3-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-65: -- Fix Version/s: 3.0.0 Provide documentation for the cocoon-spring-configurator items (sitemap reload, exception unroll) - Key: COCOON3-65 URL: https://issues.apache.org/jira/browse/COCOON3-65 Project: Cocoon 3 Issue Type: Task Components: cocoon-servlet, cocoon-sitemap Reporter: Francesco Chicchiriccò Priority: Minor Fix For: 3.0.0 As per mail thread at http://www.mail-archive.com/dev@cocoon.apache.org/msg59689.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-67) Add extra method to LinkedPipelineSetupBuilder interface
[ https://issues.apache.org/jira/browse/COCOON3-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-67: -- Fix Version/s: 3.0.0-beta-1 Add extra method to LinkedPipelineSetupBuilder interface Key: COCOON3-67 URL: https://issues.apache.org/jira/browse/COCOON3-67 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline Reporter: Robby Pelssers Priority: Minor Fix For: 3.0.0-beta-1 although it is still possible to setup the individual components the interface does not allow to do setup(OutputStream outputStream, MapString,Object parameters); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-116) Archetype block fix for copy resources
[ https://issues.apache.org/jira/browse/COCOON3-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-116: --- Fix Version/s: 3.0.0-beta-1 Archetype block fix for copy resources -- Key: COCOON3-116 URL: https://issues.apache.org/jira/browse/COCOON3-116 Project: Cocoon 3 Issue Type: Bug Components: cocoon-archetype-X Affects Versions: 3.0.0-beta-1 Reporter: Antonio M. Mérida Assignee: Francesco Chicchiriccò Priority: Blocker Fix For: 3.0.0-beta-1 Attachments: cocoon-archetype-block.diff Since the new fix for COCOON3-105 we need to activate the filtering to inject the project name in the spring config. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-77) Text and JSON serializers
[ https://issues.apache.org/jira/browse/COCOON3-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-77: -- Fix Version/s: 3.0.0-beta-1 Text and JSON serializers - Key: COCOON3-77 URL: https://issues.apache.org/jira/browse/COCOON3-77 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-optional Affects Versions: 3.0.0-alpha-3 Reporter: Andre Juffer Priority: Minor Fix For: 3.0.0-beta-1 Attachments: COCOON3-77.sample.patch.txt, EncodingJsonSerializer.java, EncodingTextSerializer.java, JsonSerializer.java, pom.xml, TextEncoder.java, TextSerializer.java, tribc-cocoon-3.xml Serveral classes have been created for serializing text and JSON in the sitemap. The JsonSerializer also checks whether the JSON text actually is valid. The organization of the classes follows the encoding serializers (such as the EncodingHTMLSerializer). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-88) Add JavaWrapper for JsLint to the project
[ https://issues.apache.org/jira/browse/COCOON3-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-88: -- Fix Version/s: 3.0.0 Add JavaWrapper for JsLint to the project - Key: COCOON3-88 URL: https://issues.apache.org/jira/browse/COCOON3-88 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-optional Affects Versions: 3.0.0-alpha-3 Reporter: Robby Pelssers Priority: Minor Fix For: 3.0.0 It might be useful to add validation for Javascript files to Cocoon3. http://code.google.com/p/jslint4java/ If there is a similar outstanding validator for CSS (csslint) ?? we could also consider to add this as well -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-75) REST and asynchronous server side operations
[ https://issues.apache.org/jira/browse/COCOON3-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-75: -- Fix Version/s: 3.0.0-beta-1 REST and asynchronous server side operations Key: COCOON3-75 URL: https://issues.apache.org/jira/browse/COCOON3-75 Project: Cocoon 3 Issue Type: New Feature Components: cocoon-rest, cocoon-rest-optional Reporter: Thorsten Scherler Assignee: Thorsten Scherler Fix For: 3.0.0-beta-1 Attachments: AbstractAsyncronService.java I am looking into implementing reporting server side operation progress with jQuery UI Progressbar with our REST framework. My basic idea as starting point is to use the GET to ask for the progress of the processing and POST to invoke the work which reports the progress. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-66) Spring to 3.0.5.RELEASE and Wicket to 1.4.17
[ https://issues.apache.org/jira/browse/COCOON3-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-66: -- Fix Version/s: 3.0.0-beta-1 Spring to 3.0.5.RELEASE and Wicket to 1.4.17 Key: COCOON3-66 URL: https://issues.apache.org/jira/browse/COCOON3-66 Project: Cocoon 3 Issue Type: Dependency upgrade Components: cocoon-controller, cocoon-docs, cocoon-monitoring, cocoon-pipeline, cocoon-profiling, cocoon-rest, cocoon-sample, cocoon-sample-webapp, cocoon-sax, cocoon-servlet, cocoon-stax, cocoon-stringtemplate Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 3.0.0-beta-1 As per mail thread at http://www.mail-archive.com/dev@cocoon.apache.org/msg59690.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-89) Add feature to limit invalid login attempts
[ https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-89: -- Fix Version/s: 3.0.0-beta-1 Add feature to limit invalid login attempts --- Key: COCOON3-89 URL: https://issues.apache.org/jira/browse/COCOON3-89 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-shiro Affects Versions: 3.0.0-beta-1 Reporter: Ajay Deshwal Assignee: Thorsten Scherler Fix For: 3.0.0-beta-1 Attachments: COCOON3-89.patch, COCOON3-89.patch cocoon-shiro module should provide: 1) Feature to record invalid login attempts count. On exceeding the predefined maximum allowed attempts, its should flag the state that maximum login attempts exceeded. 2) A method in AbstractShiroLogin class to validate some data, which extending classes can implement and will be invoked prior to initiating actual login, like captcha etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-45) Support input types than java.net.URL in the StringTemplateGenerator
[ https://issues.apache.org/jira/browse/COCOON3-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-45: -- Fix Version/s: 3.0.0-beta-1 Support input types than java.net.URL in the StringTemplateGenerator Key: COCOON3-45 URL: https://issues.apache.org/jira/browse/COCOON3-45 Project: Cocoon 3 Issue Type: New Feature Components: cocoon-stringtemplate Reporter: Reinhard Poetz Assignee: Francesco Chicchiriccò Fix For: 3.0.0-beta-1 Possible types are: File, String, InputStream -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-106) Add cocoon site
[ https://issues.apache.org/jira/browse/COCOON3-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-106: --- Fix Version/s: 3.0.0-beta-1 Add cocoon site --- Key: COCOON3-106 URL: https://issues.apache.org/jira/browse/COCOON3-106 Project: Cocoon 3 Issue Type: Wish Components: cocoon-sample-webapp Reporter: Jos Snellings Assignee: Francesco Chicchiriccò Priority: Minor Fix For: 3.0.0-beta-1 Attachments: herein.patch, herein.patch I'd like the site 'thesaurus on line Editor' for the European Heritage Network to the cocoon 3 production sites. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-106) Enlist 'Thesaurus on line Editor' among C3-powered websites
[ https://issues.apache.org/jira/browse/COCOON3-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-106: --- Summary: Enlist 'Thesaurus on line Editor' among C3-powered websites (was: Add cocoon site) Enlist 'Thesaurus on line Editor' among C3-powered websites --- Key: COCOON3-106 URL: https://issues.apache.org/jira/browse/COCOON3-106 Project: Cocoon 3 Issue Type: Wish Components: cocoon-sample-webapp Reporter: Jos Snellings Assignee: Francesco Chicchiriccò Priority: Minor Fix For: 3.0.0-beta-1 Attachments: herein.patch, herein.patch I'd like the site 'thesaurus on line Editor' for the European Heritage Network to the cocoon 3 production sites. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COCOON3-80) Typo in package name in cocoon-rest-optional (cocooon)
[ https://issues.apache.org/jira/browse/COCOON3-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated COCOON3-80: -- Fix Version/s: 3.0.0-beta-1 Typo in package name in cocoon-rest-optional (cocooon) -- Key: COCOON3-80 URL: https://issues.apache.org/jira/browse/COCOON3-80 Project: Cocoon 3 Issue Type: Bug Components: cocoon-rest Affects Versions: 3.0.0-alpha-3 Reporter: Konstantin Kolinko Assignee: Francesco Chicchiriccò Priority: Minor Fix For: 3.0.0-beta-1 There is a typo in package name in cocoon-rest-optional component: cocooon instead of cocoon http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-rest-optional/src/main/java/org/apache/cocooon/ The typo also is present in some files there with the old org.cocooon. I noticed it in these two: http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-rest-optional/pom.xml http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-rest-optional/rcl.properties -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (COCOON3-118) Improve Pipeline API
Francesco Chicchiriccò created COCOON3-118: -- Summary: Improve Pipeline API Key: COCOON3-118 URL: https://issues.apache.org/jira/browse/COCOON3-118 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline Reporter: Francesco Chicchiriccò Fix For: 3.1.0 There are two different proposals, from [~simone.tripodi] [1] and [~reinh...@apache.org] [2]. [1] http://markmail.org/message/vztzzzjfckgees4v [2] http://markmail.org/message/szfzsrk4p3kkifi7 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [DISCUSS] Release plan
Hi all, I've just been playing a bit with JIRA to draft a possible C3 release plan, for 3.0.0-beta-1 [1], 3.0.0 [2] and 3.1.0 [3] according to what we've been discussing so far. Please let me know if you see any problem with this. Regards. [1] https://issues.apache.org/jira/browse/COCOON3/fixforversion/12317578#selectedTab=com.atlassian.jira.plugin.system.project%3Aversion-issues-panel [2] https://issues.apache.org/jira/browse/COCOON3/fixforversion/12323965#selectedTab=com.atlassian.jira.plugin.system.project%3Aversion-issues-panel [3] https://issues.apache.org/jira/browse/COCOON3/fixforversion/12323966#selectedTab=com.atlassian.jira.plugin.system.project%3Aversion-issues-panel -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/
[jira] [Commented] (COCOON3-112) JCommander is updated to 1.30
[ https://issues.apache.org/jira/browse/COCOON3-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13558001#comment-13558001 ] Hudson commented on COCOON3-112: Integrated in Cocoon 3.0 #231 (See [https://builds.apache.org/job/Cocoon%203.0/231/]) [COCOON3-112] JCommander updated to 1.30 (Revision 1435545) Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1435545 Files : * /cocoon/cocoon3/trunk/parent/pom.xml JCommander is updated to 1.30 - Key: COCOON3-112 URL: https://issues.apache.org/jira/browse/COCOON3-112 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-cli Reporter: ZhiQiang,He Assignee: Francesco Chicchiriccò Priority: Trivial Fix For: 3.0.0-beta-1 This is just a tip. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [DISCUSS] Releasing 2.1.12
On 11/12/2012 12:29, Cédric Damioli wrote: [...] Hi all, is everything tracked into JIRA [1]? From my POV, yes. I've added some comments to COCOON-2330. I'm not sure what to include or exclude from the -src package. If so, we are only 3 issues away from releasing 2.1.12, wonderful! Hello there, how's the situation with C2.1.12 in 2013? Any help needed? Regards. [1] https://issues.apache.org/jira/issues/?jql=project%20%3D%20COCOON%20AND%20fixVersion%20%3D%20%222.1.12-dev%20(Current%20SVN)%22%20AND%20status%20in%20(Open%2C%20Reopened)%20ORDER%20BY%20priority%20DESC -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/
Re: [BLOCKER] SQLTransformer bug 1594 - cause found
Francesco, thank you for your answer. This old thread is all I could find about problem with sql transformer. Later I've found another piece of information - now it's clearly about problem with cocoon 2.2 - and from 2009: http://www.junlu.com/list/59/462718.html I've compared source code for two classes - TextRecorder and SQLTransformer - from cocoon 2.1.11 and 2.2.0. 2.1.11 - There is function getAllText in TextRecorder, and SQLTransformer uses this function. 2.2.0 - there is no such function in TextRecorder. I use maven 2.2.1. Excerpt from my pom.xml: ... dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-core/artifactId version2.2.0/version /dependency ... -- View this message in context: http://cocoon.10839.n7.nabble.com/BLOCKER-SQLTransformer-bug-1594-cause-found-tp28461p57547.html Sent from the Cocoon - Dev mailing list archive at Nabble.com.
Re: [DISCUSS] Releasing 2.1.12
Hi there, AFAIK the same 3 issues are still opened. Could you give me a hint about the src/bin split? Apart, there's the David issue about upgrading all dependencies. I don't know the status of it. And also an samples issue reopened by David. I don't know either what to do with it. Regards, Cédric Le 19/01/2013 15:11, Francesco Chicchiriccò a écrit : On 11/12/2012 12:29, Cédric Damioli wrote: [...] Hi all, is everything tracked into JIRA [1]? From my POV, yes. I've added some comments to COCOON-2330. I'm not sure what to include or exclude from the -src package. If so, we are only 3 issues away from releasing 2.1.12, wonderful! Hello there, how's the situation with C2.1.12 in 2013? Any help needed? Regards. [1] https://issues.apache.org/jira/issues/?jql=project%20%3D%20COCOON%20AND%20fixVersion%20%3D%20%222.1.12-dev%20(Current%20SVN)%22%20AND%20status%20in%20(Open%2C%20Reopened)%20ORDER%20BY%20priority%20DESC -- Cédric Damioli Ametys CMS http://www.ametys.org http://www.anyware-services.com
Re: [BLOCKER] SQLTransformer bug 1594 - cause found
UPD: I added this: /public String getAllText() { return this.buffer.toString(); }/ into the TextRecorder.java, and this: /public String endTextRecording() throws SAXException { sendEndPrefixMapping(); TextRecorder recorder = (TextRecorder) removeRecorder(); String text = recorder.getAllText(); if (getLogger().isDebugEnabled()) { getLogger().debug(End text recording. Text= + text); } return text; }/ into the SQLTransformer.class. After that I recompiled cocoon-databases-impl-1.0.0.jar and cocoon-pipeline-impl-1.0.0.jar, and now it works - spaces are not trimmed in substitute and ancestor variables. Don't know, was it exactly right thing to do, but it works for now... -- View this message in context: http://cocoon.10839.n7.nabble.com/BLOCKER-SQLTransformer-bug-1594-cause-found-tp28461p57549.html Sent from the Cocoon - Dev mailing list archive at Nabble.com.