[jira] [Updated] (COCOON-2341) Use ImageIO instead of old com.sun.image.* package in ImageReader

2014-02-14 Thread Reynaldo Porras (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynaldo Porras updated COCOON-2341:


Other Info: Patch available

 Use ImageIO instead of old com.sun.image.* package in ImageReader
 -

 Key: COCOON-2341
 URL: https://issues.apache.org/jira/browse/COCOON-2341
 Project: Cocoon
  Issue Type: Improvement
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Reynaldo Porras
 Attachments: COCOON-2341.patch


 Classes from  sun.* should not be used as specified in:
 http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html
 ImageIO is available since java 1.4. I have tested it using java 1.4  version 
 and it works. This change has already be implemented in cocoon 2.2.1 version 
 as in: https://issues.apache.org/jira/browse/COCOON-2327
 I have a patch which is pretty much the same as the one in COCOON-2327 only 
 differences are that import of SystemUtils is removed and It is not using 
 generics to keep compatibility with java 1.4.
 Additionally this change allows cocoon-core 2.1.13-dev to compile in java 1.7



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Assigned] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-30 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto reassigned COCOON-2340:
-

Assignee: Javier Puerto

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov
Assignee: Javier Puerto

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-30 Thread Javier Puerto (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835758#comment-13835758
 ] 

Javier Puerto commented on COCOON-2340:
---

Hi Ivan,

By the error, you are using a pipeline with expires caching enabled and the 
problem seems to be retrieving an XML fragment (CInclude transformer?). With 
this information I can't investigate further, I've also used with others 
projects the expires caching in pipelines without any concurrency issues so I 
recommend you to provide a small pipeline fragment where the problem can be 
reproduced so we can take a look. Following the advices I've said in the 
previous comment, Apache Cocoon 2.2 should not have any concurrency problems.

To found the possible cause you could use the ab tool (ApacheBench [1]) that 
comes with the Apache HTTPD server. Then comment everything that involves with 
your pipeline leaving just the generator and the serializer and start 
uncommenting and testing with ab tool with high concurrency, this way you can 
isolate the problematic component or pipeline.

Good luck and salu2.

[1] http://httpd.apache.org/docs/2.2/programs/ab.html

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2338) Port the Cocoon3 TikaGenerator to Cocoon 2.1.13

2013-11-30 Thread Javier Puerto (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835761#comment-13835761
 ] 

Javier Puerto commented on COCOON-2338:
---

Hi Dan,

IMO it's should not be difficult to port it, the most complicated stuff will be 
to make it cacheable as the caching system changed in Cocoon 3. I want to port 
it to version 2.2.x when I can found some free time but unfortunately I'm not 
familiar with version 2.1.x. If anyone wants to port it, I could help providing 
support.

 Port the Cocoon3 TikaGenerator to Cocoon 2.1.13
 ---

 Key: COCOON-2338
 URL: https://issues.apache.org/jira/browse/COCOON-2338
 Project: Cocoon
  Issue Type: New Feature
  Components: * Cocoon Core, - Components: Sitemap
Reporter: Dan Hertz
Assignee: Javier Puerto

 How difficult would it be to port the TikaGenerator classes from Cocoon3 to 
 Cocoon 2.1.13?
 Apache Tika is a powerful tool for extracting content and metadata from a 
 wide variety of file formats.
 See: https://issues.apache.org/jira/browse/COCOON3-128
 Unfortunately, I don't have a clue how to do this: is there someone who would 
 like to take the lead?
 Classes are: TikaGenerator.java, and for testing TikaGeneratorTestCase.
 The former's path is:
 cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGenerator.java
 Thanks!
 Dan



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Assigned] (COCOON-2338) Port the Cocoon3 TikaGenerator to Cocoon 2.1.13

2013-11-30 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto reassigned COCOON-2338:
-

Assignee: (was: Javier Puerto)

 Port the Cocoon3 TikaGenerator to Cocoon 2.1.13
 ---

 Key: COCOON-2338
 URL: https://issues.apache.org/jira/browse/COCOON-2338
 Project: Cocoon
  Issue Type: New Feature
  Components: * Cocoon Core, - Components: Sitemap
Reporter: Dan Hertz

 How difficult would it be to port the TikaGenerator classes from Cocoon3 to 
 Cocoon 2.1.13?
 Apache Tika is a powerful tool for extracting content and metadata from a 
 wide variety of file formats.
 See: https://issues.apache.org/jira/browse/COCOON3-128
 Unfortunately, I don't have a clue how to do this: is there someone who would 
 like to take the lead?
 Classes are: TikaGenerator.java, and for testing TikaGeneratorTestCase.
 The former's path is:
 cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGenerator.java
 Thanks!
 Dan



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-28 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834586#comment-13834586
 ] 

Francesco Chicchiriccò commented on COCOON-2340:


Hi,
I am not very familiar with 2.2, but if you can provide a patch, I can apply it 
to [trunk|http://svn.apache.org/repos/asf/cocoon/trunk/] and re-deploy the 
SNAPSHOT Maven artifacts containing your fix.


 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-28 Thread Javier Puerto (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834654#comment-13834654
 ] 

Javier Puerto commented on COCOON-2340:
---

Hi,

I've more familiar with the 2.2 version. I've experienced issues like you 
described and it was by the following reasons, now works like a charm :). So, 
could you check the following?

* The components in the pipeline was declared as singleton instead of 
prototype. Some components are not thread safe, use prototype scope to avoid 
this problem.
* The version 2.2 is using an older version of Apache Xalan. Upgrade to 2.2.1 
or upgrade Xalan to latest, see COCOON-2156.

Anyway, could you provide an example to reproduce the problem if it persists?

Salu2.

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-28 Thread Ivan Lagunov (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834764#comment-13834764
 ] 

Ivan Lagunov commented on COCOON-2340:
--

Hi Javier,

I would like to try Cocoon 2.2.1 first but could you say where it's located? I 
suppose it must be under trunk here 
http://svn.apache.org/repos/asf/cocoon/trunk/ ? Is it stable enough for 
Production usage? I mean it's written here that SNAPSHOTS are not tested and 
not guaranteed to even build cleanly: https://cocoon.apache.org/mirror.cgi

Ivan

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Comment Edited] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-28 Thread Ivan Lagunov (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834764#comment-13834764
 ] 

Ivan Lagunov edited comment on COCOON-2340 at 11/28/13 12:15 PM:
-

Hi Javier,

I would like to try Cocoon 2.2.1 first but could you say where it's located? I 
suppose it must be under trunk here 
http://svn.apache.org/repos/asf/cocoon/trunk/ ? Is it stable enough for 
Production usage? It's written here that SNAPSHOTS are not tested and not 
guaranteed to even build cleanly: https://cocoon.apache.org/mirror.cgi

Regarding singleton components in the pipeline. I'm using standard Cocoon 
components, you can see the exception is coming from 
ExpiresCachingProcessingPipeline. Did you mean that some Cocoon 2.2 components 
are declared as singletons? Because I don't think I can fix it in my code.

Ivan


was (Author: lagivan):
Hi Javier,

I would like to try Cocoon 2.2.1 first but could you say where it's located? I 
suppose it must be under trunk here 
http://svn.apache.org/repos/asf/cocoon/trunk/ ? Is it stable enough for 
Production usage? I mean it's written here that SNAPSHOTS are not tested and 
not guaranteed to even build cleanly: https://cocoon.apache.org/mirror.cgi

Ivan

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-28 Thread Javier Puerto (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835015#comment-13835015
 ] 

Javier Puerto commented on COCOON-2340:
---

Hi Ivan,

You are right, I thought that the 2.2.1 was released but it's not. You can 
apply the patch from COCOON-2156 to the tag 
http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/
About the singleton components, you can try yourself if you redeclare the 
Cocoon component with a different name and then use this one instead of the 
default one in the core.
Anyway you should provide an example to reproduce the issue so I can take a 
look but I will not be able to review it until the weekend.

Salu2.

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-27 Thread Ivan Lagunov (JIRA)
Ivan Lagunov created COCOON-2340:


 Summary: XMLByteStreamCompiler in not thread-safe
 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov


I'm periodically getting the following exceptions in different places:

Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at 
org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
at 
org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)

After debugging I've found the root cause. It happens due to multi-threading 
when one thread allocates newbuf array, then another thread increments bufCount 
in write method and then the first thread fails on System.arraycopy invocation.

I suggest making getSAXFragment and write methods synchronized. It should 
resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2340) XMLByteStreamCompiler in not thread-safe

2013-11-27 Thread Ivan Lagunov (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13833877#comment-13833877
 ] 

Ivan Lagunov commented on COCOON-2340:
--

Synchronization helped to avoid the Exception although now the resource seems 
to be loaded partially. So the root cause is on the upper level. Perhaps, all 
writes to this.buf must be done before getSAXFragment invocation because all 
the data written to this.buf afterwards seems to be ignored.

 XMLByteStreamCompiler in not thread-safe
 

 Key: COCOON-2340
 URL: https://issues.apache.org/jira/browse/COCOON-2340
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.2
Reporter: Ivan Lagunov

 I'm periodically getting the following exceptions in different places:
 Caused by: java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at 
 org.apache.cocoon.components.sax.XMLByteStreamCompiler.getSAXFragment(XMLByteStreamCompiler.java:61)
 at 
 org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline.processXMLPipeline(ExpiresCachingProcessingPipeline.java:152)
 After debugging I've found the root cause. It happens due to multi-threading 
 when one thread allocates newbuf array, then another thread increments 
 bufCount in write method and then the first thread fails on System.arraycopy 
 invocation.
 I suggest making getSAXFragment and write methods synchronized. It should 
 resolve the issue. If it helps, I'll provide a patch later.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Closed] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not abstr

2013-10-23 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto closed COCOON-2339.
-

Resolution: Invalid

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not abst

2013-10-18 Thread ramakanth allam (JIRA)
ramakanth allam created COCOON-2339:
---

 Summary: C:\Program Files\cocoon-2.1.12 
src\src\blocks\databases\java\org\apache\cocoon\d 
atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is 
not abstract and does not override abstract method getParentLogger() in 
CommonDa taSource 
 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam






--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread ramakanth allam (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798855#comment-13798855
 ] 

ramakanth allam commented on COCOON-2339:
-

the above error i got when i start build cocoon in windows xp

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread ramakanth allam (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798864#comment-13798864
 ] 

ramakanth allam commented on COCOON-2339:
-

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administratorcd C:\Program Files\cocoon-2.1.12 src

C:\Program Files\cocoon-2.1.12 srcbuild.bat
Buildfile: build.xml

prepare:

 Apache Cocoon 2.1.12 [1999-2013]

 Building with Apache Ant version 1.7.1 compiled on June 27 2008

 Using build file C:\Program Files\cocoon-2.1.12 src\build.xml

 Compiler options:
   - debug . [on]
   - optimize .. [on]
   - deprecation ... [off]


prepare-blocks:
Copying 1 file to C:\Program Files\cocoon-2.1.12 src\build\cocoon\temp
Processing C:\Program Files\cocoon-2.1.12 src\build\cocoon\temp\gump.xml to C:\P
rogram Files\cocoon-2.1.12 src\build\cocoon\temp\blocks-build.xml
Loading stylesheet C:\Program Files\cocoon-2.1.12 src\tools\src\blocks-build.xsl


unstable:
 WARNING ===
 Block 'ajax' should be considered unstable.
 Block 'apples' should be considered unstable.
 Block 'asciiart' should be considered unstable.
 Block 'auth' should be considered unstable.
 Block 'axis' should be considered unstable.
 Block 'captcha' should be considered unstable.
 Block 'cron' should be considered unstable.
 Block 'deli' should be considered unstable.
 Block 'eventcache' should be considered unstable.
 Block 'faces' should be considered unstable.
 Block 'imageop' should be considered unstable.
 Block 'javaflow' should be considered unstable.
 Block 'jcr' should be considered unstable.
 Block 'jms' should be considered unstable.
 Block 'linotype' should be considered unstable.
 Block 'mail' should be considered unstable.
 Block 'petstore' should be considered unstable.
 Block 'proxy' should be considered unstable.
 Block 'qdox' should be considered unstable.
 Block 'querybean' should be considered unstable.
 Block 'repository' should be considered unstable.
 Block 'serializers' should be considered unstable.
 Block 'slide' should be considered unstable.
 Block 'slop' should be considered unstable.
 Block 'stx' should be considered unstable.
 Block 'taglib' should be considered unstable.
 Block 'template' should be considered unstable.
 Block 'tour' should be considered unstable.
 Block 'validation' should be considered unstable.
 Block 'webdav' should be considered unstable.
 Block 'xsltal' should be considered unstable.

 This means that its API, schemas
  and other contracts might change without notice.


excluded:
 NOTICE 
 Block 'jcr' is excluded from the build.
 Block 'php' is excluded from the build.
 Block 'portal-fw' is excluded from the build.
 Block 'swf' is excluded from the build.
 Block 'woody' is excluded from the build.


cocoon-block-databases-compile:
Compiling 7 source files to C:\Program Files\cocoon-2.1.12 src\build\cocoon\bloc
ks\databases\dest
C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d
atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is
not abstract and does not override abstract method getParentLogger() in CommonDa
taSource
protected static final class DataSourceWrapper implements DataSource {
   ^
1 error

BUILD FAILED
C:\Program Files\cocoon-2.1.12 src\tools\targets\compile-build.xml:264: The foll
owing error occurred while executing this line:
C:\Program Files\cocoon-2.1.12 src\build\cocoon\temp\blocks-build.xml:1568: The
following error occurred while executing this line:
C:\Program Files\cocoon-2.1.12 src\build\cocoon\temp\blocks-build.xml:100: Compi
le failed; see the compiler error output for details.

Total time: 27 seconds

THIS IS ERROR I GOT WHEN I BUILD.BAT


 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON

[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798891#comment-13798891
 ] 

Cédric Damioli commented on COCOON-2339:


With which JDK version do you build Cocoon ?
It seems to be JDBC-version related.

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread ramakanth allam (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798926#comment-13798926
 ] 

ramakanth allam commented on COCOON-2339:
-

jdk1.7.0_25 version i am using .

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798938#comment-13798938
 ] 

Cédric Damioli commented on COCOON-2339:


Could you try with a JDK 4 or 5 ?
I think JDK 7 is too recent to build Cocoon 2.1

However it is fine to run it.

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (COCOON-2339) C:\Program Files\cocoon-2.1.12 src\src\blocks\databases\java\org\apache\cocoon\d atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper is not ab

2013-10-18 Thread ramakanth allam (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798995#comment-13798995
 ] 

ramakanth allam commented on COCOON-2339:
-

Thanks the build is successful with JDK5

 C:\Program Files\cocoon-2.1.12 
 src\src\blocks\databases\java\org\apache\cocoon\d 
 atabases\ibatis\ExcaliburDataSourceFactory.java:82: error: DataSourceWrapper 
 is not abstract and does not override abstract method getParentLogger() in 
 CommonDa taSource 
 ---

 Key: COCOON-2339
 URL: https://issues.apache.org/jira/browse/COCOON-2339
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Ant
Reporter: ramakanth allam





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (COCOON3-130) Add support for Solr atomic updates

2013-10-08 Thread Javier Puerto (JIRA)
Javier Puerto created COCOON3-130:
-

 Summary: Add support for Solr atomic updates
 Key: COCOON3-130
 URL: https://issues.apache.org/jira/browse/COCOON3-130
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Priority: Minor


Current SolrConsumer class doesn't takes care about new atomic updates feature 
from Apache Solr. See 
http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22field.22

At the moment, any attempt to do an atomic update ends with an overwritten 
document as the transformer doesn't care about the new attributes defined in 
version 4.x.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (COCOON-2338) Port the Cocoon3 TikaGenerator to Cocoon 2.1.13

2013-08-05 Thread Dan Hertz (JIRA)
Dan Hertz created COCOON-2338:
-

 Summary: Port the Cocoon3 TikaGenerator to Cocoon 2.1.13
 Key: COCOON-2338
 URL: https://issues.apache.org/jira/browse/COCOON-2338
 Project: Cocoon
  Issue Type: New Feature
  Components: * Cocoon Core, - Components: Sitemap
Reporter: Dan Hertz


How difficult would it be to port the TikaGenerator classes from Cocoon3 to 
Cocoon 2.1.13?

Apache Tika is a powerful tool for extracting content and metadata from a wide 
variety of file formats.

See: https://issues.apache.org/jira/browse/COCOON3-128

Unfortunately, I don't have a clue how to do this: is there someone who would 
like to take the lead?

Classes are: TikaGenerator.java, and for testing TikaGeneratorTestCase.

The former's path is:

cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGenerator.java

Thanks!

Dan

--
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-129) Create an example to send a mail via cocoon

2013-07-22 Thread Thorsten Scherler (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715222#comment-13715222
 ] 

Thorsten Scherler commented on COCOON3-129:
---

Committed revision 1505683.
Added example to use a pipeline to process mail body.

 Create an example to send a mail via cocoon
 ---

 Key: COCOON3-129
 URL: https://issues.apache.org/jira/browse/COCOON3-129
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-rest-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
 Fix For: 3.0.0-beta-1


 http://markmail.org/message/6ces6erwekf57qfo 
 as requested from hansheinrichbraun in above mail I extracted a simple 
 example to send a mail with cocoon based on work of codebusters.es.

--
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-128) Add Apache Tika support

2013-07-20 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto closed COCOON3-128.
-

Resolution: Fixed

As I usually start with plain block archetype, I didn't realized that the 
sample archetype recreates the samples block. I've updated the code so Tika 
samples can works without problems. I've also added the dependency to parent 
archetype.

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-129) Create an example to send a mail via cocoon

2013-07-20 Thread Thorsten Scherler (JIRA)
Thorsten Scherler created COCOON3-129:
-

 Summary: Create an example to send a mail via cocoon
 Key: COCOON3-129
 URL: https://issues.apache.org/jira/browse/COCOON3-129
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-rest-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
 Fix For: 3.0.0-beta-1


http://markmail.org/message/6ces6erwekf57qfo 

as requested from hansheinrichbraun in above mail I extracted a simple example 
to send a mail with cocoon based on work of codebusters.es.

--
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-129) Create an example to send a mail via cocoon

2013-07-20 Thread Thorsten Scherler (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler closed COCOON3-129.
-

Resolution: Fixed

Committed revision 1505158.


 Create an example to send a mail via cocoon
 ---

 Key: COCOON3-129
 URL: https://issues.apache.org/jira/browse/COCOON3-129
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-rest-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
 Fix For: 3.0.0-beta-1


 http://markmail.org/message/6ces6erwekf57qfo 
 as requested from hansheinrichbraun in above mail I extracted a simple 
 example to send a mail with cocoon based on work of codebusters.es.

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13713647#comment-13713647
 ] 

Jos Snellings commented on COCOON3-126:
---

True, so here is a solution that uses the injection in cocoon-sitemap.


 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: cocoon3-126.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jos Snellings updated COCOON3-126:
--

Attachment: CachingXSLTTransformer.java

The XLSTTransformer with internal LRU cache.

 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CachingXSLTTransformer.java, cocoon3-126.patch, 
 cocoon-sax-COCOON3-126.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jos Snellings updated COCOON3-126:
--

Attachment: cocoon-sitemap-COCOON3-126-2.patch

Changes to PrototypePipelineComponentFactory

 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CachingXSLTTransformer.java, cocoon3-126.patch, 
 cocoon-sax-COCOON3-126.patch, cocoon-sitemap-COCOON3-126-1.patch, 
 cocoon-sitemap-COCOON3-126-2.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jos Snellings updated COCOON3-126:
--

Attachment: cocoon-sitemap-COCOON3-126-1.patch

 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CachingXSLTTransformer.java, cocoon3-126.patch, 
 cocoon-sax-COCOON3-126.patch, cocoon-sitemap-COCOON3-126-1.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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-128) Add Apache Tika support

2013-07-17 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710926#comment-13710926
 ] 

Francesco Chicchiriccò commented on COCOON3-128:


It seems that the tika-parsers dependency should be added to other pom files as 
well (I took fop as reference):

ilgrosso@mogano:~/work/cocoon/cocoon3$ grep -r artifactIdfop/artifactId | 
grep -v .svn
parent/pom.xml:artifactIdfop/artifactId
cocoon-optional/pom.xml:  artifactIdfop/artifactId
cocoon-sample/pom.xml:  artifactIdfop/artifactId
cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml:  
artifactIdfop/artifactId
cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml:
artifactIdfop/artifactId

ilgrosso@mogano:~/work/cocoon/cocoon3$ grep -r 
artifactIdtika-parsers/artifactId | grep -v .svn
parent/pom.xml:artifactIdtika-parsers/artifactId
cocoon-optional/pom.xml:  artifactIdtika-parsers/artifactId
cocoon-sample/pom.xml:  artifactIdtika-parsers/artifactId


 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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] [Reopened] (COCOON3-128) Add Apache Tika support

2013-07-17 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto reopened COCOON3-128:
---


Thanks Francesco, I didn't noticed it. I will review and update the Maven 
archetypes resources.

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-16 Thread Javier Puerto (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710032#comment-13710032
 ] 

Javier Puerto commented on COCOON3-128:
---

PDF test failed to pass because control XML contains a localized date. I've 
removed the problematic value from control file and filtered with an XSLT 
transformation the Tika produced document.

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710101#comment-13710101
 ] 

Hudson commented on COCOON3-128:


FAILURE: Integrated in Cocoon 3.0 #260 (See 
[https://builds.apache.org/job/Cocoon%203.0/260/])
COCOON3-128: remove localized value. (javier: 
http://svn.apache.org/viewvc/?view=revrev=1503816)
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGeneratorTestCase.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/remove-date.xsl
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/test-odt.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/test-pdf.xml


 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710263#comment-13710263
 ] 

Hudson commented on COCOON3-128:


SUCCESS: Integrated in Cocoon 3.0 #261 (See 
[https://builds.apache.org/job/Cocoon%203.0/261/])
COCOON3-128: add missing licenses and exclude control XML test files. (javier: 
http://svn.apache.org/viewvc/?view=revrev=1503868)
* /cocoon/cocoon3/trunk/cocoon-optional/pom.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGeneratorTestCase.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/remove-date.xsl


 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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] [Reopened] (COCOON3-128) Add Apache Tika support

2013-07-14 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto reopened COCOON3-128:
---


It's working OK on local tests but the diff seems to be related to the 
different XML element order produced for Jenkins machine. Needs to be updated 
with ElementQualifier feature of the XMLUnit framework.

See: 
http://xmlunit.sourceforge.net/userguide/html/ar01s03.html#ElementQualifier

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-14 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto closed COCOON3-128.
-

Resolution: Fixed

It should be fixed now. The comparison doesn't takes care of the element nodes 
order but I wasn't able to request a rebuild for Cocoon Jenkins job so we have 
to wait until it triggers itself.

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708050#comment-13708050
 ] 

Hudson commented on COCOON3-128:


FAILURE: Integrated in Cocoon 3.0 #259 (See 
[https://builds.apache.org/job/Cocoon%203.0/259/])
COCOON3-128: compare similar not identical XML files as elements order does not 
matter. (javier: http://svn.apache.org/viewvc/?view=revrev=1502981)
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGeneratorTestCase.java


 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-13 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707893#comment-13707893
 ] 

Hudson commented on COCOON3-128:


FAILURE: Integrated in Cocoon 3.0 #258 (See 
[https://builds.apache.org/job/Cocoon%203.0/258/])
COCOON3-128: Add tika samples. (javier: 
http://svn.apache.org/viewvc/?view=revrev=1502625)
* /cocoon/cocoon3/trunk/cocoon-sample/pom.xml
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/tika
* 
/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/tika/cocoon-logo.jpg
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/tika/hello.odt
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/tika/hello.pdf
* 
/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/spring/cocoon-sample-sitemap-components-optional.xml
COCOON3-128: Add Tika generator. (javier: 
http://svn.apache.org/viewvc/?view=revrev=1502623)
* /cocoon/cocoon3/trunk/cocoon-optional/pom.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGenerator.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/tika/package-info.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/resources/META-INF/cocoon/spring-optional/cocoon-optional-tika.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/tika
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/tika/TikaGeneratorTestCase.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/cocoon-logo.jpg
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/hello.odt
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/hello.pdf
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/test-jpg.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/test-odt.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/resources/org/apache/cocoon/optional/pipeline/components/sax/tika/test-pdf.xml
* /cocoon/cocoon3/trunk/parent/pom.xml


 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-128) Add Apache Tika support

2013-07-12 Thread Javier Puerto (JIRA)
Javier Puerto created COCOON3-128:
-

 Summary: Add Apache Tika support
 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


Apache Tika is an excelent parser several documents formats. Create a generator 
that use default Tika configuration and put the resulting SAX events into the 
pipeline.

--
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-128) Add Apache Tika support

2013-07-12 Thread Javier Puerto (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto closed COCOON3-128.
-

Resolution: Fixed

r1502623

* Add TikaGenerator class.
* Provide some test cases.

r1502625

* Add Tika examples to samples block.

 Add Apache Tika support
 ---

 Key: COCOON3-128
 URL: https://issues.apache.org/jira/browse/COCOON3-128
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Javier Puerto
Assignee: Javier Puerto
 Fix For: 3.0.0


 Apache Tika is an excelent parser several documents formats. Create a 
 generator that use default Tika configuration and put the resulting SAX 
 events into the pipeline.

--
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-127) Buggy 3.0.0-alpha-3 Maven archetypes

2013-07-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13700079#comment-13700079
 ] 

Hudson commented on COCOON3-127:


Integrated in Cocoon 3.0 #257 (See 
[https://builds.apache.org/job/Cocoon%203.0/257/])
[COCOON3-127] re-ordering information (Revision 1499750)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1499750
Files : 
* /cocoon/cocoon3/trunk/parent/src/site/apt/download.apt


 Buggy 3.0.0-alpha-3 Maven archetypes
 

 Key: COCOON3-127
 URL: https://issues.apache.org/jira/browse/COCOON3-127
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-archetype-X, site
Affects Versions: 3.0.0-alpha-3
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


 As reported in user ML [1], there are some issues with 3.0.0-alpha-3 Maven 
 archetypes; [2] must report the needed workarounds.
 [1] 
 http://cocoon.10839.n7.nabble.com/XSLT-import-include-errors-tp57999p58060.html
 [2] http://cocoon.apache.org/3.0/download.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] [Created] (COCOON3-127) Buggy 3.0.0-alpha-3 Maven archetypes

2013-07-03 Thread JIRA
Francesco Chicchiriccò created COCOON3-127:
--

 Summary: Buggy 3.0.0-alpha-3 Maven archetypes
 Key: COCOON3-127
 URL: https://issues.apache.org/jira/browse/COCOON3-127
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-archetype-X, site
Affects Versions: 3.0.0-alpha-3
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


As reported in user ML [1], there are some issues with 3.0.0-alpha-3 Maven 
archetypes; [2] must report the needed workarounds.

[1] 
http://cocoon.10839.n7.nabble.com/XSLT-import-include-errors-tp57999p58060.html
[2] http://cocoon.apache.org/3.0/download.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] [Commented] (COCOON3-127) Buggy 3.0.0-alpha-3 Maven archetypes

2013-07-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13698727#comment-13698727
 ] 

Hudson commented on COCOON3-127:


Integrated in Cocoon 3.0 #256 (See 
[https://builds.apache.org/job/Cocoon%203.0/256/])
[COCOON3-127] Adding workaround instructions to download page (Revision 
1499239)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1499239
Files : 
* /cocoon/cocoon3/trunk/parent/src/site/apt/download.apt


 Buggy 3.0.0-alpha-3 Maven archetypes
 

 Key: COCOON3-127
 URL: https://issues.apache.org/jira/browse/COCOON3-127
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-archetype-X, site
Affects Versions: 3.0.0-alpha-3
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


 As reported in user ML [1], there are some issues with 3.0.0-alpha-3 Maven 
 archetypes; [2] must report the needed workarounds.
 [1] 
 http://cocoon.10839.n7.nabble.com/XSLT-import-include-errors-tp57999p58060.html
 [2] http://cocoon.apache.org/3.0/download.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] [Closed] (COCOON3-127) Buggy 3.0.0-alpha-3 Maven archetypes

2013-07-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON3-127.
--

Resolution: Fixed

http://svn.apache.org/r1499239
http://svn.apache.org/r1499245

 Buggy 3.0.0-alpha-3 Maven archetypes
 

 Key: COCOON3-127
 URL: https://issues.apache.org/jira/browse/COCOON3-127
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-archetype-X, site
Affects Versions: 3.0.0-alpha-3
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


 As reported in user ML [1], there are some issues with 3.0.0-alpha-3 Maven 
 archetypes; [2] must report the needed workarounds.
 [1] 
 http://cocoon.10839.n7.nabble.com/XSLT-import-include-errors-tp57999p58060.html
 [2] http://cocoon.apache.org/3.0/download.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] [Closed] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2337.
--

Resolution: Fixed
  Assignee: Francesco Chicchiriccò

Gil,
now I understand your problem: I have actually found some problems in the 
3.0.0-alpha-3 archetype and published some workaround instructions [1] that 
should fix yours as well.

[1] http://cocoon.apache.org/3.0/download.html

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo
Assignee: Francesco Chicchiriccò

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)
gil cattaneo created COCOON-2337:


 Summary: cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo


hi
i have this problem building cocoon-maven-plugin 1.0.2
in fedora we have maven-war-plugin 2.3
[ERROR] 
~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
 cannot find symbol
#  symbol: method copyResources(java.io.File,java.io.File)
i changed
super.copyResources(getWarSourceDirectory(), getWebappDirectory())
with
super.buildWebapp(this.getProject(), getWebappDirectory())
should fix? plugin build ...
thanks in advance


--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697716#comment-13697716
 ] 

Francesco Chicchiriccò commented on COCOON-2337:


Which Maven version are you running?
BTW, why are you building the cocoon-maven-plugin?

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697722#comment-13697722
 ] 

gil cattaneo commented on COCOON-2337:
--

hi
i built cocoon 3.0.0-alpha-3 and for the submodule sample need this plugin

Apache Maven 3.0.5 (rNON-CANONICAL_2013-03-12_12-47_mockbuild; 2013-03-12 
13:47:10+0100)
Maven home: /usr/share/maven
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.i386/jre
Default locale: it_IT, platform encoding: UTF-8
OS name: linux, version: 3.9.8-300.fc19.i686, arch: i386, family: unix

java version 1.7.0_25
OpenJDK Runtime Environment (fedora-2.3.10.3.fc19-i386)
OpenJDK Server VM (build 23.7-b01, mixed mode)
thanks for your interest
regards


 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697734#comment-13697734
 ] 

Francesco Chicchiriccò commented on COCOON-2337:


Everything seems to look fine: could you please detail the steps you are 
following?
I still don't figure out why are you building cocoon 3.0.0-alpha-3: if you 
want to run your own Cocoon 3 project, you should start by generating a project 
from Maven archetype [1].

[1] http://cocoon.apache.org/3.0/download.html

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697761#comment-13697761
 ] 

gil cattaneo commented on COCOON-2337:
--

which steps? do you means how i made to build cocoon-aven-plugin with maven 3.x?
regards

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697762#comment-13697762
 ] 

Francesco Chicchiriccò commented on COCOON-2337:


No, I mean the steps that brought you to the need of building the 
cocoon-maven-plugin or cocoon3.

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697779#comment-13697779
 ] 

gil cattaneo commented on COCOON-2337:
--

ok sorry
cocoon 2.x is too old and should bring in fedora some old unwanted libraries as 
excalibur
thanks

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] [Comment Edited] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697779#comment-13697779
 ] 

gil cattaneo edited comment on COCOON-2337 at 7/2/13 1:28 PM:
--

ok sorry
cocoon 2.x is too old and should bring in fedora some old unwanted libraries as 
excalibur (2010/12/15 - Apache Excalibur has been retired)
thanks

  was (Author: puntogil):
ok sorry
cocoon 2.x is too old and should bring in fedora some old unwanted libraries as 
excalibur
thanks
  
 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] [Comment Edited] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697783#comment-13697783
 ] 

Francesco Chicchiriccò edited comment on COCOON-2337 at 7/2/13 1:32 PM:


Gil, I don't understand why you are building Cocoon 3 sources (à la C2.1), 
since you should be instead using the Maven archetype for generating your own, 
Cocoon 3-based, project, as described in 
http://cocoon.apache.org/3.0/download.html

  was (Author: ilgrosso):
Gil, I don't understand why are you building Cocoon 3 sources (à la C2.1), 
since you should be instead using the Maven archetype for generating your own, 
Cocoon 3-based, project, as described in 
http://cocoon.apache.org/3.0/download.html
  
 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697783#comment-13697783
 ] 

Francesco Chicchiriccò commented on COCOON-2337:


Gil, I don't understand why are you building Cocoon 3 sources (à la C2.1), 
since you should be instead using the Maven archetype for generating your own, 
Cocoon 3-based, project, as described in 
http://cocoon.apache.org/3.0/download.html

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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] (COCOON-2337) cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem

2013-07-02 Thread gil cattaneo (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697795#comment-13697795
 ] 

gil cattaneo commented on COCOON-2337:
--

in fedora we don't want to install or use archetypes
thnaks

 cocoon-maven-plugin 1.0.2 - maven-war-plugin 2.3 problem
 

 Key: COCOON-2337
 URL: https://issues.apache.org/jira/browse/COCOON-2337
 Project: Cocoon
  Issue Type: Bug
  Components: - Build System: Maven
Reporter: gil cattaneo

 hi
 i have this problem building cocoon-maven-plugin 1.0.2
 in fedora we have maven-war-plugin 2.3
 [ERROR] 
 ~/rpmbuild/BUILD/cocoon-maven-plugin-1.0.2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java:[168,18]
  cannot find symbol
 #  symbol: method copyResources(java.io.File,java.io.File)
 i changed
 super.copyResources(getWarSourceDirectory(), getWebappDirectory())
 with
 super.buildWebapp(this.getProject(), getWebappDirectory())
 should fix? plugin build ...
 thanks in advance

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-02 Thread Thorsten Scherler (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13698330#comment-13698330
 ] 

Thorsten Scherler commented on COCOON3-126:
---

I do not think it is a good idea to use the spring injection  here.

Have a look at http://svn.apache.org/viewvc?view=revisionrevision=r1447255 I 
think passing the config via parameter is much more flexible and do not force 
to use spring.

Can you attach a patch that is more in the spirit of the commit I linked above?



 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: cocoon3-126.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-06-24 Thread Jos Snellings (JIRA)
Jos Snellings created COCOON3-126:
-

 Summary: Make configurable whether xslt transformer component uses 
LRU cache or not
 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1


The XSLT pipeline component should be aware of the following setting in  
configurator:settings

configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
value=true|false|True|False/


--
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-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-06-24 Thread Jos Snellings (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jos Snellings updated COCOON3-126:
--

Attachment: cocoon3-126.patch

Patch solving the issue from xslt transformer alone.

Not too happy with it:
Should it not be chosen in cocoon-sitemap if an lru 
cache is to be used? Leave it up to you.

 Make configurable whether xslt transformer component uses LRU cache or not
 --

 Key: COCOON3-126
 URL: https://issues.apache.org/jira/browse/COCOON3-126
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: cocoon3-126.patch


 The XSLT pipeline component should be aware of the following setting in  
 configurator:settings
 configurator:property name=org.apache.cocoon.sax.lrucache-enabled 
 value=true|false|True|False/

--
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] (COCOON-2336) Cannot start Cocoon 2.1.12 on Windows

2013-06-04 Thread JIRA
Francesco Chicchiriccò created COCOON-2336:
--

 Summary: Cannot start Cocoon 2.1.12 on Windows
 Key: COCOON-2336
 URL: https://issues.apache.org/jira/browse/COCOON-2336
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.13


As reported in mailing list [1] [2], there are issues when starting Cocoon 
2.1.12 on Windows.

[1] http://markmail.org/message/pwbd7tqh3czfnqtk
[2] http://markmail.org/message/ku63qccwqs2zgpzy

--
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] (COCOON-2336) Cannot start Cocoon 2.1.12 on Windows

2013-06-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2336.
--

Resolution: Fixed

http://svn.apache.org/r1489316

 Cannot start Cocoon 2.1.12 on Windows
 -

 Key: COCOON-2336
 URL: https://issues.apache.org/jira/browse/COCOON-2336
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.13


 As reported in mailing list [1] [2], there are issues when starting Cocoon 
 2.1.12 on Windows.
 [1] http://markmail.org/message/pwbd7tqh3czfnqtk
 [2] http://markmail.org/message/ku63qccwqs2zgpzy

--
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] (COCOON-2336) Cannot start Cocoon 2.1.12 on Windows

2013-06-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13674295#comment-13674295
 ] 

Hudson commented on COCOON-2336:


Integrated in Cocoon 2.1.X #89 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/89/])
[COCOON-2336] Adding -Dloader.class.path=lib\core\servlet-2.3.jar to the 
:doServlet section of cocoon.bat (Revision 1489316)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1489316
Files : 
* /cocoon/branches/BRANCH_2_1_X/cocoon.bat


 Cannot start Cocoon 2.1.12 on Windows
 -

 Key: COCOON-2336
 URL: https://issues.apache.org/jira/browse/COCOON-2336
 Project: Cocoon
  Issue Type: Bug
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.13


 As reported in mailing list [1] [2], there are issues when starting Cocoon 
 2.1.12 on Windows.
 [1] http://markmail.org/message/pwbd7tqh3czfnqtk
 [2] http://markmail.org/message/ku63qccwqs2zgpzy

--
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-125) Missing support for Catalog Resolver

2013-06-03 Thread David Crossley (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13673762#comment-13673762
 ] 

David Crossley commented on COCOON3-125:


I cannot help much at this time, other than to ensure awareness of previous 
efforts. I was involved with getting the original Catalog Entity Resolver into 
Cocoon-2.1 and you will find good docs and cocoon samples. Pretty sure that the 
Samples with Cocoon-2.2 also work.

IIRC then there was some discussion in the early days of Cocoon3/Corona. All 
that i have time for is to give some pointers to search, e.g. the following 
with Google:
site:gmane.org/gmane.text.xml.cocoon entity resolver carsten
site:gmane.org/gmane.text.xml.cocoon entity resolver crossley



 Missing support for Catalog Resolver
 

 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CatalogResolver-support.diff


 When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, 
 and the XML document has a link to a DTD, the parser fails if the DTD is not 
 in the specified location. To solve this issue, a CatalogManager.properties 
 can be used. The same thing if we are using document() function from an xslt 
 and loaded document has a DTD. 

--
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-125) Missing support for Catalog Resolver

2013-06-03 Thread David Crossley (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13673892#comment-13673892
 ] 

David Crossley commented on COCOON3-125:


For example:

http://s.apache.org/9bz
From: Carsten Ziegeler
Subject: Core XML Module
Date: 2008-04-08

Not sure what happened after that regarding actual code.

 Missing support for Catalog Resolver
 

 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CatalogResolver-support.diff


 When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, 
 and the XML document has a link to a DTD, the parser fails if the DTD is not 
 in the specified location. To solve this issue, a CatalogManager.properties 
 can be used. The same thing if we are using document() function from an xslt 
 and loaded document has a DTD. 

--
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-125) Missing support for Catalog Resolver

2013-05-30 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON3-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13670099#comment-13670099
 ] 

Francesco Chicchiriccò commented on COCOON3-125:


If you take a look at cocoon-sax's pom.xml, you will notice that no external 
dependencies (besides cocoon's and logging) are included: by design, in fact, 
cocoon-sax is meant to be used with as few external dependencies as possible.

For this reason cocoon-optional exists: I'd suggest to rework your patch for 
providing a new more capable XSLT transformer (extending the original XSLT 
transformer) in cocoon-optional.

 Missing support for Catalog Resolver
 

 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CatalogResolver-support.diff


 When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, 
 and the XML document has a link to a DTD, the parser fails if the DTD is not 
 in the specified location. To solve this issue, a CatalogManager.properties 
 can be used. The same thing if we are using document() function from an xslt 
 and loaded document has a DTD. 

--
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-125) Missing support for Catalog Resolver

2013-05-30 Thread Mansour Al Akeel (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13670278#comment-13670278
 ] 

Mansour Al Akeel commented on COCOON3-125:
--

The idea of having few dependencies is great, but I don't see this a fit in an 
optional component. I can use  
com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver  , there is 
access restriction in the JDK on this class. 
I am not sure if  using reflection is an option. I can check if the 
CatalogResolver is in the class path, and then load it. In this case, there is 
no need to include it in the pom, but this is just a hack, and I don't see it a 
decent solution. 

If you think it is better to include this dependency in lower level pom, then 
this could be a better solution. 


 Missing support for Catalog Resolver
 

 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CatalogResolver-support.diff


 When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, 
 and the XML document has a link to a DTD, the parser fails if the DTD is not 
 in the specified location. To solve this issue, a CatalogManager.properties 
 can be used. The same thing if we are using document() function from an xslt 
 and loaded document has a DTD. 

--
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-124) Spring Configurator does not pick running mode as system property.

2013-05-29 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated COCOON3-124:
---

Description: 
The configurator doesn't use -Dorg.apache.cocoon.settings=test as explained 
by the docs. If we have in applicationContext.xml

runningMode=demo, then this will be used in all cases (if we specify a system 
property or not).

Additionally, properties are not read from directories like the documentation 
says.

Adding the following thread as former reference to similar issue:
http://mail-archives.apache.org/mod_mbox/cocoon-users/200806.mbox/%3c48595f00.7080...@tuffmail.com%3E
 

  was:
The configurator doesn't use -Dorg.apache.cocoon.settings=test as explained 
by the docs. If we have in applicationContext.xml

runningMode=demo, then this will be used in all cases (if we specify a system 
property or not).

Additionally, properties are not read from directories like the documentation 
says. 
 


 Spring Configurator does not pick running mode as system property.
 --

 Key: COCOON3-124
 URL: https://issues.apache.org/jira/browse/COCOON3-124
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-pipeline
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
 Fix For: 3.0.0-beta-1


 The configurator doesn't use -Dorg.apache.cocoon.settings=test as explained 
 by the docs. If we have in applicationContext.xml
 runningMode=demo, then this will be used in all cases (if we specify a 
 system property or not).
 Additionally, properties are not read from directories like the documentation 
 says.
 Adding the following thread as former reference to similar issue:
 http://mail-archives.apache.org/mod_mbox/cocoon-users/200806.mbox/%3c48595f00.7080...@tuffmail.com%3E
  

--
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-124) Spring Configurator does not pick running mode as system property.

2013-05-29 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON3-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13669071#comment-13669071
 ] 

Francesco Chicchiriccò commented on COCOON3-124:


Please attach a sample Maven project showing the incorrect behavior, alongside 
with expected output.


 Spring Configurator does not pick running mode as system property.
 --

 Key: COCOON3-124
 URL: https://issues.apache.org/jira/browse/COCOON3-124
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-pipeline
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
 Fix For: 3.0.0-beta-1


 The configurator doesn't use -Dorg.apache.cocoon.settings=test as explained 
 by the docs. If we have in applicationContext.xml
 runningMode=demo, then this will be used in all cases (if we specify a 
 system property or not).
 Additionally, properties are not read from directories like the documentation 
 says.
 Adding the following thread as former reference to similar issue:
 http://mail-archives.apache.org/mod_mbox/cocoon-users/200806.mbox/%3c48595f00.7080...@tuffmail.com%3E
  

--
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-125) Missing support for Catalog Resolver

2013-05-29 Thread Mansour Al Akeel (JIRA)
Mansour Al Akeel created COCOON3-125:


 Summary: Missing support for Catalog Resolver
 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1


When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, and 
the XML document has a link to a DTD, the parser fails if the DTD is not in the 
specified location. To solve this issue, a CatalogManager.properties can be 
used. The same thing if we are using document() function from an xslt and 
loaded document has a DTD. 



--
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-125) Missing support for Catalog Resolver

2013-05-29 Thread Mansour Al Akeel (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mansour Al Akeel updated COCOON3-125:
-

Attachment: CatalogResolver-support.diff

patch to add CatalogResolver support.


 Missing support for Catalog Resolver
 

 Key: COCOON3-125
 URL: https://issues.apache.org/jira/browse/COCOON3-125
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sax
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: CatalogResolver-support.diff


 When we load xml document using org.apache.cocoon.sax.util.XMLUtils.toSax, 
 and the XML document has a link to a DTD, the parser fails if the DTD is not 
 in the specified location. To solve this issue, a CatalogManager.properties 
 can be used. The same thing if we are using document() function from an xslt 
 and loaded document has a DTD. 

--
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-124) Spring Configurator does not pick running mode as system property.

2013-05-28 Thread Mansour Al Akeel (JIRA)
Mansour Al Akeel created COCOON3-124:


 Summary: Spring Configurator does not pick running mode as system 
property.
 Key: COCOON3-124
 URL: https://issues.apache.org/jira/browse/COCOON3-124
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-pipeline
Affects Versions: 3.0.0-beta-1
Reporter: Mansour Al Akeel
 Fix For: 3.0.0-beta-1


The configurator doesn't use -Dorg.apache.cocoon.settings=test as explained 
by the docs. If we have in applicationContext.xml

runningMode=demo, then this will be used in all cases (if we specify a system 
property or not).

Additionally, properties are not read from directories like the documentation 
says. 
 

--
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-123) schema validation error with namespaces provoke a double declaration of ?xml

2013-04-03 Thread Thorsten Scherler (JIRA)
Thorsten Scherler created COCOON3-123:
-

 Summary: schema validation error with namespaces provoke a double 
declaration of ?xml
 Key: COCOON3-123
 URL: https://issues.apache.org/jira/browse/COCOON3-123
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-sax, cocoon-sitemap
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Priority: Critical
 Fix For: 3.1.0


thorsten@bulldozer:~/src/apache/c3$ svnd
Index: cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xsd
===
--- cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xsd
(revision 1455575)
+++ cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xsd
(working copy)
@@ -18,4 +18,6 @@
 !-- $Id$ --
 xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
 xs:element name=simple/
-/xs:schema
+xs:attribute type=xs:int name=id /
+xs:attribute type=xs:int name=sum /
+/xs:schema
\ No newline at end of file
Index: cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
===
--- cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
(revision 1455575)
+++ cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
(working copy)
@@ -15,4 +15,4 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --
-simplesimple-text/simple
+simple xmlns:x=http://www.w3.org/1999/xhtml; id=dsimple-text/simple

If you request http://localhost:/sax-pipeline/simple-xsd you will get:

?xml version=1.0 encoding=UTF-8??xml version=1.0 encoding=UTF-8?

If you do 
Index: cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
===
--- cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
(revision 1455575)
+++ cocoon-sample/src/main/resources/COB-INF/sax-pipeline/simple.xml
(working copy)
@@ -15,4 +15,4 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --
-simplesimple-text/simple
+simple id=bsimple-text/simple

you only get one xml declaration

--
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] (COCOON-2333) C-2.1: upgrade some supporting product dependencies

2013-03-18 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cédric Damioli updated COCOON-2333:
---

Fix Version/s: (was: 2.1.12)
   2.1.13

 C-2.1: upgrade some supporting product dependencies
 ---

 Key: COCOON-2333
 URL: https://issues.apache.org/jira/browse/COCOON-2333
 Project: Cocoon
  Issue Type: Improvement
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: David Crossley
 Fix For: 2.1.13


 It would be a good opportunity to upgrade some of the supporting product 
 dependencies.
 This ticket can note which ones are necessary or worthwhile to be updated.

--
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] [Reopened] (COCOON-2295) Integrate FOP 1.1

2013-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reopened COCOON-2295:



As per recent discussion [1], FOP 1.1 actually requires JDK 1.5: need to move 
back to FOP 1.0.

[1] http://markmail.org/message/kwtsv42rzynvigdc

 Integrate FOP 1.1
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2295) Integrate FOP 1.0

2013-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated COCOON-2295:
---

Summary: Integrate FOP 1.0  (was: Integrate FOP 1.1)

 Integrate FOP 1.0
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2295) Integrate FOP 1.0

2013-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2295.
--

Resolution: Fixed

http://svn.apache.org/r1452275

 Integrate FOP 1.0
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2295) Integrate FOP 1.0

2013-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13592273#comment-13592273
 ] 

Hudson commented on COCOON-2295:


Integrated in Cocoon 2.1.X #85 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/85/])
[COCOON-2295] Back to FOP 1.0 (Revision 1452275)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1452275
Files : 
* /cocoon/branches/BRANCH_2_1_X/lib/jars.xml
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-1.0.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-1.1.jar
* /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
* /cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer/ExtendableRendererFactory.java
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer/RendererFactory.java


 Integrate FOP 1.0
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2295) Integrate FOP 1.0

2013-03-04 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13592351#comment-13592351
 ] 

Francesco Chicchiriccò commented on COCOON-2295:


FYI, as per FOP-2218 the document [1] has been updated.

[1] http://xmlgraphics.apache.org/fop/1.1/running.html

 Integrate FOP 1.0
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2335) samples in asciiart block are missing the text in the generated images

2013-03-03 Thread David Crossley (JIRA)
David Crossley created COCOON-2335:
--

 Summary: samples in asciiart block are missing the text in the 
generated images
 Key: COCOON-2335
 URL: https://issues.apache.org/jira/browse/COCOON-2335
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: ASCII Art
Affects Versions: 2.1.12
Reporter: David Crossley


The generated PNG and JPEG images do show each box outline, but the text within 
those boxes is not generated.

We also see this issue at Apache Forrest where we use the Cocoon Asciiart Block.

This is not a new issue. We noticed it at least three months ago.

--
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] (COCOON-2335) samples in asciiart block are missing the text in the generated images

2013-03-03 Thread David Crossley (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Crossley closed COCOON-2335.
--

   Resolution: Invalid
Fix Version/s: 2.1.12

Ah, that was using Java 5. If i go back to Java 1.4.2 (which is the version for 
Cocoon-2.1.12+) then all is well.

 samples in asciiart block are missing the text in the generated images
 --

 Key: COCOON-2335
 URL: https://issues.apache.org/jira/browse/COCOON-2335
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: ASCII Art
Affects Versions: 2.1.12
Reporter: David Crossley
 Fix For: 2.1.12


 The generated PNG and JPEG images do show each box outline, but the text 
 within those boxes is not generated.
 We also see this issue at Apache Forrest where we use the Cocoon Asciiart 
 Block.
 This is not a new issue. We noticed it at least three months ago.

--
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] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system

2013-02-28 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned COCOON-2334:
--

Assignee: Francesco Chicchiriccò

 [PATCH] cocoon 2.1 branch (head) build system
 -

 Key: COCOON-2334
 URL: https://issues.apache.org/jira/browse/COCOON-2334
 Project: Cocoon
  Issue Type: Improvement
  Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
 Fix For: 2.1.12

 Attachments: antSourcePatch.diff


 On my System is only jdk 7 installed, so during compiling the actual cocoon 
 2.1 branch I got the following error:
 cocoon-block-batik-compile:
 Compiling 2 source files to 
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
 javac: target release 1.6 conflicts with default source release 1.7
 BUILD FAILED
 C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: 
 Compile failed; see the compiler error output for details.
 The patch will fix this situation by adding source=${source.vm} to javac 
 calls.

--
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] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system

2013-02-28 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2334.
--

Resolution: Fixed

Patch applied, thanks!
http://svn.apache.org/r1451137

 [PATCH] cocoon 2.1 branch (head) build system
 -

 Key: COCOON-2334
 URL: https://issues.apache.org/jira/browse/COCOON-2334
 Project: Cocoon
  Issue Type: Improvement
  Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
 Fix For: 2.1.12

 Attachments: antSourcePatch.diff


 On my System is only jdk 7 installed, so during compiling the actual cocoon 
 2.1 branch I got the following error:
 cocoon-block-batik-compile:
 Compiling 2 source files to 
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
 javac: target release 1.6 conflicts with default source release 1.7
 BUILD FAILED
 C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: 
 Compile failed; see the compiler error output for details.
 The patch will fix this situation by adding source=${source.vm} to javac 
 calls.

--
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] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system

2013-02-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13589442#comment-13589442
 ] 

Hudson commented on COCOON-2334:


Integrated in Cocoon 2.1.X #84 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/84/])
[COCOON-2334] Patch applied (Revision 1451137)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1451137
Files : 
* /cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml
* /cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl


 [PATCH] cocoon 2.1 branch (head) build system
 -

 Key: COCOON-2334
 URL: https://issues.apache.org/jira/browse/COCOON-2334
 Project: Cocoon
  Issue Type: Improvement
  Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
 Fix For: 2.1.12

 Attachments: antSourcePatch.diff


 On my System is only jdk 7 installed, so during compiling the actual cocoon 
 2.1 branch I got the following error:
 cocoon-block-batik-compile:
 Compiling 2 source files to 
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
 javac: target release 1.6 conflicts with default source release 1.7
 BUILD FAILED
 C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: 
 Compile failed; see the compiler error output for details.
 The patch will fix this situation by adding source=${source.vm} to javac 
 calls.

--
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] (COCOON-2305) Remove lib/core/servlet_2_2.jar (because 2.3 is needed)

2013-02-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2305.
--

Resolution: Fixed

Not receiving any feedback in the last days, committing provided patch and 
closing issue.
http://svn.apache.org/r1450770

 Remove lib/core/servlet_2_2.jar (because 2.3 is needed)
 ---

 Key: COCOON-2305
 URL: https://issues.apache.org/jira/browse/COCOON-2305
 Project: Cocoon
  Issue Type: Task
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Daniel Bruessler
Assignee: Francesco Chicchiriccò
Priority: Minor
 Fix For: 2.1.12

 Attachments: COCOON-2305-2.patch


 Hello,
 this version of the Servlet API is needed _and already there_ : 
 tools/jetty/lib/servlet-2.3.jar
 so you see the problem:
 
 cd $COCOON_HOME
 ./build eclipse-plugin
 Start Eclipse
 Import the project
 Version 2.2 is in the classpath but should not be
 = So the Lenya build with Eclipse is not possible
 
 Cheers!
 Daniel Bruessler

--
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] (COCOON-2295) Integrate FOP 1.1

2013-02-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated COCOON-2295:
---

Summary: Integrate FOP 1.1  (was: Integrate FOP 1.0)

 Integrate FOP 1.1
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2295) Integrate FOP 1.1

2013-02-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON-2295.
--

Resolution: Fixed

Not receiving any feedback in the last days, committing provided patch and 
closing issue.
http://svn.apache.org/r1450774

 Integrate FOP 1.1
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2305) Remove lib/core/servlet_2_2.jar (because 2.3 is needed)

2013-02-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588419#comment-13588419
 ] 

Hudson commented on COCOON-2305:


Integrated in Cocoon 2.1.X #83 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/83/])
[COCOON-2305] #resolve (Revision 1450770)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1450770
Files : 
* /cocoon/branches/BRANCH_2_1_X
* /cocoon/branches/BRANCH_2_1_X/cocoon.bat
* /cocoon/branches/BRANCH_2_1_X/cocoon.sh
* /cocoon/branches/BRANCH_2_1_X/lib/core/servlet-2.3.jar
* /cocoon/branches/BRANCH_2_1_X/lib/core/servlet_2_2.jar
* /cocoon/branches/BRANCH_2_1_X/lib/jars.xml
* /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletRequestWrapper.java
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletResponseWrapper.java
* /cocoon/branches/BRANCH_2_1_X/tools/jetty/lib/servlet-2.3.jar


 Remove lib/core/servlet_2_2.jar (because 2.3 is needed)
 ---

 Key: COCOON-2305
 URL: https://issues.apache.org/jira/browse/COCOON-2305
 Project: Cocoon
  Issue Type: Task
  Components: * Cocoon Core
Affects Versions: 2.1.12
Reporter: Daniel Bruessler
Assignee: Francesco Chicchiriccò
Priority: Minor
 Fix For: 2.1.12

 Attachments: COCOON-2305-2.patch


 Hello,
 this version of the Servlet API is needed _and already there_ : 
 tools/jetty/lib/servlet-2.3.jar
 so you see the problem:
 
 cd $COCOON_HOME
 ./build eclipse-plugin
 Start Eclipse
 Import the project
 Version 2.2 is in the classpath but should not be
 = So the Lenya build with Eclipse is not possible
 
 Cheers!
 Daniel Bruessler

--
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] (COCOON-2295) Integrate FOP 1.1

2013-02-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588420#comment-13588420
 ] 

Hudson commented on COCOON-2295:


Integrated in Cocoon 2.1.X #83 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/83/])
[COCOON-2295] #resolve (Revision 1450774)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1450774
Files : 
* /cocoon/branches/BRANCH_2_1_X
* /cocoon/branches/BRANCH_2_1_X/lib/endorsed/xml-apis-ext-1.4.01.jar
* /cocoon/branches/BRANCH_2_1_X/lib/jars.xml
* /cocoon/branches/BRANCH_2_1_X/lib/optional/batik-all-1.6.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/batik-all-1.7.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-0.95.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-1.1.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/xmlgraphics-commons-1.3.1.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/xmlgraphics-commons-1.5.jar
* /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/batik/java/org/apache/cocoon/serialization/AbstractDOMSerializer.java
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/batik/java/org/apache/cocoon/serialization/SVGSerializer.java
* /cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components


 Integrate FOP 1.1
 -

 Key: COCOON-2295
 URL: https://issues.apache.org/jira/browse/COCOON-2295
 Project: Cocoon
  Issue Type: Improvement
  Components: Blocks: Batik, Blocks: FOP
Affects Versions: 2.1.12
Reporter: ron van den branden
Assignee: Francesco Chicchiriccò
 Fix For: 2.1.12

 Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
 jars.patch, jars.xml


 Here are instructions for updating the current FOP-0.95 serializer in 
 Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
 2. download (and build) FOP-1.0 from 
 http://xmlgraphics.apache.org/fop/download.html
 3. update jars in %COCOON_HOME%\lib\*:
 -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
 %FOP_HOME%\lib\batik-all-1.7.jar
 -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
 %FOP_HOME%\build\fop.jar
 -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
 %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
 -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
 -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
 attached file)
 5. build Cocoon

--
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] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system

2013-02-27 Thread Kai Hofmann (JIRA)
Kai Hofmann created COCOON-2334:
---

 Summary: [PATCH] cocoon 2.1 branch (head) build system
 Key: COCOON-2334
 URL: https://issues.apache.org/jira/browse/COCOON-2334
 Project: Cocoon
  Issue Type: Improvement
  Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Priority: Blocker
 Fix For: 2.1.12


On my System is only jdk 7 installed, so during compiling the actual cocoon 2.1 
branch I got the following error:

cocoon-block-batik-compile:
Compiling 2 source files to 
C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
javac: target release 1.6 conflicts with default source release 1.7

BUILD FAILED
C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The 
following error occurred while executing this line:
C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The 
following error occurred while executing this line:
C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: 
Compile failed; see the compiler error output for details.

The patch will fix this situation by adding source=${source.vm} to javac 
calls.



--
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] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system

2013-02-27 Thread Kai Hofmann (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kai Hofmann updated COCOON-2334:


Attachment: antSourcePatch.diff

Patches src/blocks/ojb/build.xml
and tools/src/blocks-build.xsl
to fix compiling issues when using newer javac versions.

 [PATCH] cocoon 2.1 branch (head) build system
 -

 Key: COCOON-2334
 URL: https://issues.apache.org/jira/browse/COCOON-2334
 Project: Cocoon
  Issue Type: Improvement
  Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Priority: Blocker
 Fix For: 2.1.12

 Attachments: antSourcePatch.diff


 On my System is only jdk 7 installed, so during compiling the actual cocoon 
 2.1 branch I got the following error:
 cocoon-block-batik-compile:
 Compiling 2 source files to 
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
 javac: target release 1.6 conflicts with default source release 1.7
 BUILD FAILED
 C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The 
 following error occurred while executing this line:
 C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: 
 Compile failed; see the compiler error output for details.
 The patch will fix this situation by adding source=${source.vm} to javac 
 calls.

--
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-82) Allow Saxon to be used as a XSLT transformer

2013-02-26 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON3-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13586934#comment-13586934
 ] 

Francesco Chicchiriccò commented on COCOON3-82:
---

Saxon CE 1.1 is open source [1] under terms of  Mozilla Public License version 
2.0.

[1] http://www.saxonica.com/ce/index.xml

 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] [Commented] (COCOON3-121) Create a generic generator that creates a root elemement and wraps the destination stream into it

2013-02-26 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13587064#comment-13587064
 ] 

Hudson commented on COCOON3-121:


Integrated in Cocoon 3.0 #245 (See 
[https://builds.apache.org/job/Cocoon%203.0/245/])
[COCOON3-121] White noise: formatting + making some minor improvements 
(Revision 1450140)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1450140
Files : 
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/generator/AddRootElementGenerator.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/generator/AddRootElementGeneratorTest.java


 Create a generic generator that creates a root elemement and wraps the 
 destination stream into it
 -

 Key: COCOON3-121
 URL: https://issues.apache.org/jira/browse/COCOON3-121
 Project: Cocoon 3
  Issue Type: Bug
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Assignee: Thorsten Scherler
 Fix For: 3.0.0-beta-1


 If you use something like ch.qos.logback.classic.log4j.XMLLayout you can 
 create xml based log files. However the problem is that it does not add root 
 element making the resulting file not well-formed. 
 You can activate the logging in your logback.xml like 
appender name=FAILS class=ch.qos.logback.core.FileAppender
 file${crawler.log.error}/file
 appendfalse/append
 encoder class=ch.qos.logback.core.encoder.LayoutWrappingEncoder
   layout class=ch.qos.logback.classic.log4j.XMLLayout
 locationInfotrue/locationInfo
   /layout
 /encoder
 /appender
 The implemented solution has the following configuration in spring:
   bean name=generator:log4j 
 class=org.apache.cocoon.optional.pipeline.components.sax.generator.AddRootElementGenerator
  scope=prototype
 property name=encoding value=UTF-8/
 property name=localName value=events/
 property name=prefix value=log4j/
 property name=namespace value=http://jakarta.apache.org/log4j//
   /bean
 and later parse the file that the appender gives like:
 map:pipeline
   map:match pattern=errorLogs
 map:generate src=${crawler.log.error} type=log4j/
 map:serialize type=xml /
   /map:match
 /map:pipeline
 which will result in something like:
 ?xml version=1.0 encoding=UTF-8?
 log4j:events xmlns:log4j=http://jakarta.apache.org/log4j/;
   log4j:event logger=org.apache.droids.exception.ExceptionHandler 
 timestamp=1361325224196 level=ERROR thread=main
log4j:message![CDATA[org.apache.droids.core.DroidsException: 
 org.apache.droids.core.DroidsException: 
 org.apache.droids.core.DroidsException: 
 org.apache.http.client.HttpResponseException: Internal Server Error 
 http://localhost:/xxx/details/xxx]]
   /log4j:message
   log4j:locationInfo class=org.apache.droids.exception.ExceptionHandler 
 method=handleException file=ExceptionHandler.java line=23/
  /log4j:event
 /log4j:events

--
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-122) JSON generator and serializer

2013-02-26 Thread JIRA
Francesco Chicchiriccò created COCOON3-122:
--

 Summary: JSON generator and serializer
 Key: COCOON3-122
 URL: https://issues.apache.org/jira/browse/COCOON3-122
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


Provide generator and serializerworking with JSON strings.

--
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-77) Text and JSON serializers

2013-02-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON3-77.
-

Resolution: Fixed

 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
Assignee: Francesco Chicchiriccò
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] [Closed] (COCOON3-122) JSON generator and serializer

2013-02-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON3-122.
--

Resolution: Fixed

http://svn.apache.org/r1450148

 JSON generator and serializer
 -

 Key: COCOON3-122
 URL: https://issues.apache.org/jira/browse/COCOON3-122
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


 Provide generator and serializerworking with JSON strings.

--
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-70) Add extra method to LinkedSAXPipelineComponentBuilder

2013-02-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned COCOON3-70:
-

Assignee: Francesco Chicchiriccò

 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
Assignee: Francesco Chicchiriccò
 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] [Closed] (COCOON3-70) Add extra method to LinkedSAXPipelineComponentBuilder

2013-02-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed COCOON3-70.
-

Resolution: Fixed

http://svn.apache.org/r1450156

 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
Assignee: Francesco Chicchiriccò
 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] [Assigned] (COCOON3-99) Provide FopSerializer with an embedded user configuration present in the cocoon block

2013-02-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/COCOON3-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned COCOON3-99:
-

Assignee: Francesco Chicchiriccò

 Provide FopSerializer with an embedded user configuration present in the 
 cocoon block
 -

 Key: COCOON3-99
 URL: https://issues.apache.org/jira/browse/COCOON3-99
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Jos Snellings
Assignee: Francesco Chicchiriccò
Priority: Minor
 Fix For: 3.0.0-beta-1

 Attachments: patch-fopserializer.txt


 The current FopSerializer creates an instance of FopFactory. Only the 
 defaults are used. This is a problem if you want to generate PDFs 
 from Unicode data. The Cyrillic and Greek characters have no glyphs in these 
 fonts, causing those strings to be displayed as # sequences.
 This patch adds an override for the method setConfiguration to add a user 
 configuration location via a sitemap parameter.
 In sitemap.xmap of the block, add the parameter userConfigurationPath 
 indicating the location of the user configuration file.
 Example:
  map:match pattern=editor/publish/thesaurus.pdf
   map:generate type=publish/
   map:transform src=presentation/xslt/thesaurusfo.xslt/
map:serialize type=flo2pdf
 map:parameter name=userConfigurationPath 
 value=fopconf/fop.xconf/
/map:serialize
   /map:match

--
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-122) JSON generator and serializer

2013-02-26 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13587094#comment-13587094
 ] 

Hudson commented on COCOON3-122:


Integrated in Cocoon 3.0 #246 (See 
[https://builds.apache.org/job/Cocoon%203.0/246/])
[COCOON3-122] #resolve (Revision 1450148)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1450148
Files : 
* 
/cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
* 
/cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml
* /cocoon/cocoon3/trunk/cocoon-optional/pom.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/json
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/json/JsonGenerator.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/json/JsonSerializer.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/resources/META-INF/cocoon/spring-optional/cocoon-optional-generators.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/resources/META-INF/cocoon/spring-optional/cocoon-optional-serializers.xml
* 
/cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/JSONTest.java
* /cocoon/cocoon3/trunk/cocoon-sample/pom.xml
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
* /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap
* 
/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/spring/cocoon-sample-sitemap-components-optional.xml
* /cocoon/cocoon3/trunk/parent/pom.xml


 JSON generator and serializer
 -

 Key: COCOON3-122
 URL: https://issues.apache.org/jira/browse/COCOON3-122
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.0-beta-1


 Provide generator and serializerworking with JSON strings.

--
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


<    1   2   3   4   5   6   7   8   9   10   >