[ http://issues.apache.org/jira/browse/COCOON-1170?page=all ]

Jean-Baptiste Quenot updated COCOON-1170:
-----------------------------------------


Seems interesting, how to use it?

> [PATCH] precompile xsp's without starting URI
> ---------------------------------------------
>
>          Key: COCOON-1170
>          URL: http://issues.apache.org/jira/browse/COCOON-1170
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: XSP
>     Versions: 2.1.5
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Andrea Poeschel
>     Assignee: Cocoon Developers Team
>  Attachments: precompile-xsp.zip, xsp-precompile-patch
>
> I want precompile my xsp's with the Command line Interface using by ant.
> snipped from build.xml:
>       <arg line="-P true -C ${build.webapp.dir}/WEB-INF/cocoon.xconf -w 
> ${build.webapp.dir}/WEB-INF/work -u ERROR -k ../etc/logkit4cli.xconf -l cli 
> -c 
> ${build.webapp.dir}"/>
> in Cocoon 2.1.4 works this fine, but not Cocoon 2.1.5
>  Error: Please, specify at least one starting URI.
> Snipped from your documentation:
> "If no URIs are specified, it will scan all directories within the context 
> directory looking for XSP files, each of which will be compiled."
> Only we can use this variant. The variant with the starting URI functioned 
> not 
> with ant without application server, datebase, ours license service etc.
> Greetings from
> Andrea Pöschel
> Knowledge Engine Development

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