You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrea Pöschel <po...@aidossoftware.com> on 2004/06/03 09:12:29 UTC

Problems with precomile xsp's (Cocoon 2.1.5)

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.
Was this change so intended?


Greetings from


Andrea Pöschel
Knowledge Engine Development
_______________________________________
AIDOS Software AG
Dresdner Str. 7
D-01662 Meißen

Fon +49.3521.7192 - 11
Fax +49.3521.7192 - 44
web www.aidossoftware.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Problems with precomile xsp's (Cocoon 2.1.5)

Posted by Upayavira <uv...@upaya.co.uk>.
There's a method processURL(String uri, OutputStream stream) that never 
worked because you got a 'Error: please specify at least one starting 
URI' error. Therefore, I moved the location of this error to a more 
appropriate place. It seems that the move wasn't as successful as I had 
hoped. I'll look into a fix. In the meantime, you should be able to use 
the contents of org.apache.cocoon.bean from 2.1.4 within 2.1.5, and all 
should work.

Can you log this as a bug on Bugzilla?

Regards, Upayavira

Andrea Pöschel wrote:

>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.
>Was this change so intended?
>
>
>Greetings from
>
>
>Andrea Pöschel
>Knowledge Engine Development
>_______________________________________
>AIDOS Software AG
>Dresdner Str. 7
>D-01662 Meißen
>
>Fon +49.3521.7192 - 11
>Fax +49.3521.7192 - 44
>web www.aidossoftware.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org