You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Boscoe <Bo...@t-online.de> on 2002/08/23 13:43:13 UTC

debugging XSP ...

Hi,

is there a way to have the ServerPagesGenerator compile a XSP with the 
debug option set ?
Where do I have to look to read more on this ?

Thanx

Boscoe


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: debugging XSP ...

Posted by Boscoe <Bo...@t-online.de>.

>>
>> Hmm, okay, AbstractJavaCompiler.fillArguments(...) looks good, but 
>> can this be used somehow via the sitemap ?
>> I'd like to set a parameter somewhere in there. Is this possible ?
>
>
>
> Ummm, no, not at the moment. After patching 
> CompiledProgrammingLanguage.java, and Javac.java, Pizza.java, this 
> could be possible via specifying parameter in the cocoon.xconf (but 
> not sitemap!). Or, you can simply copy Pizza to MyPizza, add (IIRC) 
> "-g"  parameter there, and modify cocoon.xconf to use MyPizza.
>
> Vadim
>

Thank you. This helps !

Regards

Boscoe



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: debugging XSP ...

Posted by Vadim Gritsenko <va...@verizon.net>.
Boscoe wrote:

>  Vadim Gritsenko wrote:
>
>> Boscoe wrote:
>>
>>> Hi,
>>>
>>> is there a way to have the ServerPagesGenerator compile a XSP with 
>>> the debug option set ?
>>> Where do I have to look to read more on this ?
>>
>>
>>
>>
>> See Javac.java or Pizza.java (depend on what compiler you use) and 
>> AbstractJavaCompiler.java.
>>
>> Vadim
>
>
> Hmm, okay, AbstractJavaCompiler.fillArguments(...) looks good, but can 
> this be used somehow via the sitemap ?
> I'd like to set a parameter somewhere in there. Is this possible ?


Ummm, no, not at the moment. After patching 
CompiledProgrammingLanguage.java, and Javac.java, Pizza.java, this could 
be possible via specifying parameter in the cocoon.xconf (but not 
sitemap!). Or, you can simply copy Pizza to MyPizza, add (IIRC) "-g"  
parameter there, and modify cocoon.xconf to use MyPizza.

Vadim



> Boscoe





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: debugging XSP ...

Posted by Boscoe <Bo...@t-online.de>.
  Vadim Gritsenko wrote:

> Boscoe wrote:
>
>> Hi,
>>
>> is there a way to have the ServerPagesGenerator compile a XSP with 
>> the debug option set ?
>> Where do I have to look to read more on this ?
>
>
>
> See Javac.java or Pizza.java (depend on what compiler you use) and 
> AbstractJavaCompiler.java.
>
> Vadim

Hmm, okay, AbstractJavaCompiler.fillArguments(...) looks good, but can 
this be used somehow via the sitemap ?
I'd like to set a parameter somewhere in there. Is this possible ?

Boscoe



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: debugging XSP ...

Posted by Vadim Gritsenko <va...@verizon.net>.
Boscoe wrote:

> Hi,
>
> is there a way to have the ServerPagesGenerator compile a XSP with the 
> debug option set ?
> Where do I have to look to read more on this ?


See Javac.java or Pizza.java (depend on what compiler you use) and 
AbstractJavaCompiler.java.

Vadim



> Thanx
>
> Boscoe





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>