Ok... I worked around the issue by letting a Java component do all the work.
This ensures that the flowscript is blocked until all files have been generated.
function generateValuePropositions() {
var ids =
Collection.fromArray(getJson('getCommaSeparatedBasicTypeIds')).toList();
var valueP
Damn... A woohoo'd a bit too early as I tested with a simplified version.
setTimeout(
function() {
print('Generating value proposition ' + id); //This works
just fine as there is no dependency on the environment --> Cocoon object
}, inde
Works nice !!
function generateValuePropositions() {
var id_collection =
Collection.fromArray(getJson('getCommaSeparatedBasicTypeIds'));
print('Starting generation of ' + id_collection.getLength() + ' value
propositions!!');
var index = 0;
id_collection.forEach(
/** we write t
I found a nice article on stackoverflow showing how to create my own
implementation in flowscript. I will of course first need to thoroughly test
it but it looks promising so far ;-)
var setTimeout,
clearTimeout,
setInterval,
clearInterval;
(function () {
var timer = new java.u
Hi guys,
I was bulk processing DITA maps and topics from flowscript and noticed that
following code is executed parallel. So basically the cocoon.processPipelineTo
returns immediately so it seems. This results in max sessions reached to XMLDb
and I run into an exception. Just checking what i
On 05/24/2012 09:29 AM, Hudson (JIRA) wrote:
[
https://issues.apache.org/jira/browse/COCOON3-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282254#comment-13282254
]
Hudson commented on COCOON3-101:
Integrated
[
https://issues.apache.org/jira/browse/COCOON3-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282254#comment-13282254
]
Hudson commented on COCOON3-101:
Integrated in Cocoon-trunk #180 (See
[https://builds.ap