You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2006/10/12 15:17:34 UTC
[jira] Created: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
[Patch] Automatic loading of flow scripts in "flow/" must not load directories
------------------------------------------------------------------------------
Key: COCOON-1933
URL: http://issues.apache.org/jira/browse/COCOON-1933
Project: Cocoon
Issue Type: Bug
Components: * Cocoon Core
Affects Versions: 2.2-dev (Current SVN)
Reporter: Alexander Klimetschek
Attachments: cocoon-flow-only-files.patch
The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
The stacktrace for the problem:
Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
... 43 more
Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=all ]
Carsten Ziegeler closed COCOON-1933.
------------------------------------
Fix Version/s: 2.2-dev (Current SVN)
Resolution: Fixed
Only files with a specific ending (*.js) are loaded; everything else is ignored
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Fix For: 2.2-dev (Current SVN)
>
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12441964 ]
Alexander Klimetschek commented on COCOON-1933:
-----------------------------------------------
Why don't use Excalibur Sources for retrieving the contents?
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12441773 ]
Carsten Ziegeler commented on COCOON-1933:
------------------------------------------
Looking into the Spring code, I think Spring doesn't support unpacked war files at all. This would mean that we are currently only able to run expanded as the path matcher we use in other places is not working unexpanded.
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12441768 ]
Alexander Klimetschek commented on COCOON-1933:
-----------------------------------------------
Good question. I don' t know the spring Resource abstraction apart from looking at the interface methods.
The problem is also that the available resources are fetched via Spring, but the input stream is finally resolved via the Excalibur SourceResolver. AFAIK they don't match. That's why an ugly solution like calling Resource.getInputStream() and catching exceptions won't work because the real input stream is fetched from the Source in the end. And that would probably use too much resources at the early read-in phase!?
What kind of resources must be supported apart from file systems, jars or wars? Will directories under flow/ be deployed into a war?
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=all ]
Alexander Klimetschek updated COCOON-1933:
------------------------------------------
Attachment: cocoon-flow-only-files.patch
This patches makes the FlowNodeBuilder only load files directly under flow/.
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12442085 ]
Carsten Ziegeler commented on COCOON-1933:
------------------------------------------
I think this wouldn't help us in this case as even the Excalibur source resolver can't tell if a resource is a directory or a file in the case of an unexpanded war.
I checked in a fix yesterday which should solve most of the problems when running unexpanded, but the file/directory detection is still an issue. I guess we could use getFile() first and if that fails use getInputStream() for testing?
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12441770 ]
Carsten Ziegeler commented on COCOON-1933:
------------------------------------------
All the contents of a block or an application can be served directly from within a jar or war. So we have to support at least the file system, jar/war and classpath.
I just looked into the spring code and getFile() is only support if the resource is really a file.
A simple solution could be if we would just include all files according to a pattern like "*.js" etc. But of course the file ending whould depend on the used interpreter and it is no guarantee that there isn't a directory "hello.js" in the flow directory.
So I think we have to find another solution :(
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1933) [Patch] Automatic loading of flow
scripts in "flow/" must not load directories
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1933?page=comments#action_12441752 ]
Carsten Ziegeler commented on COCOON-1933:
------------------------------------------
Does this also work with an unexpanded war? What does the getFile() method on the resource return in that case?
> [Patch] Automatic loading of flow scripts in "flow/" must not load directories
> ------------------------------------------------------------------------------
>
> Key: COCOON-1933
> URL: http://issues.apache.org/jira/browse/COCOON-1933
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-flow-only-files.patch
>
>
> The automatic loading of everything inside flow/ also tries to load directories, which cannot be compiled like files. Happens typically when you have a subversion directory (.svn) or other version-control directory inside.
> The stacktrace for the problem:
> Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn/ doesn't exist.
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.compileScript(FOM_JavaScriptInterpreter.java:502)
> at org.apache.cocoon.components.flow.CompilingInterpreter$ScriptSourceEntry.getScript(CompilingInterpreter.java:112)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:453)
> at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:572)
> at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
> ... 43 more
> Caused by: java.io.FileNotFoundException: /Users/alex/Mindquarry/hack/mindquarry-teamspace-web/mindquarry-teamspace-block/src/main/resources/COB-INF/flow/.svn (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
> ... 48 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira