You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ivelin Ivanov <iv...@apache.org> on 2002/12/18 05:42:31 UTC

Re: cvs2.1 xmlform sample broken?

Thanks for the notification Thor.

Nicola, what is the deal?


Ivelin


----- Original Message ----- 
From: "Thor Heinrichs-Wolpert" <th...@lunartek.com>
To: <co...@xml.apache.org>
Sent: Tuesday, December 17, 2002 10:03 PM
Subject: cvs2.1 xmlform sample broken?


I see some files moved in CVS by nicolaken such as
src/java/org/apache/cocoon/samples/xmlform
     UsageFeedbackAction.java
     UserBean.java
     WizardAction.java

but the sitemaps and examples don't seem to have been modified.

Is something up?

Cheers,
Thor HW

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



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


Re: cvs2.1 xmlform sample broken?

Posted by Thor Heinrichs-Wolpert <th...@lunartek.com>.
I did a clean pull from cvs and tested the xmlform sample.
It all worked fine.
FYI: I'm running OSX 10.2; JDK 1.3.1_03-69; tomcat-4.1.12 with no 
modifications.

Cheers,
Thor HW

On Wednesday, December 18, 2002, at 04:23  PM, Nicola Ken Barozzi wrote:

>
>
> Thor Heinrichs-Wolpert wrote:
>> It looks happy enough now.
>> I did a
>> touch xml-cocoon2/src/blocks/samples/mocks/foo.txt
>> and it built happily enough.  I've run the example and it works again.
>
> Good.
>
> I've made changes to the build and it seems to work now without the 
> hack. In the meantime I've also moved some code to blocks and renamed 
> module.xml to project-info.xml, as decided on the list.
>
> See if it still works ok, on my system it seems right.
>
> Thanks for the help :-)
>
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> 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>
>
>


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Thor Heinrichs-Wolpert wrote:
> It looks happy enough now.
> I did a
> touch xml-cocoon2/src/blocks/samples/mocks/foo.txt
> and it built happily enough.  I've run the example and it works again.

Good.

I've made changes to the build and it seems to work now without the 
hack. In the meantime I've also moved some code to blocks and renamed 
module.xml to project-info.xml, as decided on the list.

See if it still works ok, on my system it seems right.

Thanks for the help :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Thor Heinrichs-Wolpert <th...@lunartek.com>.
It looks happy enough now.
I did a
touch xml-cocoon2/src/blocks/samples/mocks/foo.txt
and it built happily enough.  I've run the example and it works again.

Cheers,
Thor HW

On Wednesday, December 18, 2002, at 10:41  AM, Nicola Ken Barozzi wrote:

>
> Nicola Ken Barozzi wrote:
>> Thor Heinrichs-Wolpert wrote:
>>> The note below shows the moved files and issue.
>>>
>>> The classes have been moved.  When I do a clean cvs pull and then 
>>> build, the sample no longer works since the classes do not get built 
>>> and the sitemap is looking for them.
>> The problem is not because they were moved per se, but because the 
>> samples block was not included in properties.xml
>> Sorry for the inconvenience, it should work now, I committed a fix.
>> Try it, I'm debugging ATM other blocks I'm moving, so I can't try it 
>> myself.
>
> Ok, I tried it and it still doesn't work, because the build system has 
> a bug. In the meantime, create a mocks dir in the samples block with a 
> dummy file in it to make it compile.
>
> I'm working on it.
>
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> 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>
>
>


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Nicola Ken Barozzi wrote:
> 
> Thor Heinrichs-Wolpert wrote:
> 
>> The note below shows the moved files and issue.
>>
>> The classes have been moved.  When I do a clean cvs pull and then 
>> build, the sample no longer works since the classes do not get built 
>> and the sitemap is looking for them.
> 
> 
> The problem is not because they were moved per se, but because the 
> samples block was not included in properties.xml
> 
> Sorry for the inconvenience, it should work now, I committed a fix.
> 
> Try it, I'm debugging ATM other blocks I'm moving, so I can't try it 
> myself.

Ok, I tried it and it still doesn't work, because the build system has a 
bug. In the meantime, create a mocks dir in the samples block with a 
dummy file in it to make it compile.

I'm working on it.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Thor Heinrichs-Wolpert wrote:
> The note below shows the moved files and issue.
> 
> The classes have been moved.  When I do a clean cvs pull and then build, 
> the sample no longer works since the classes do not get built and the 
> sitemap is looking for them.

The problem is not because they were moved per se, but because the 
samples block was not included in properties.xml

Sorry for the inconvenience, it should work now, I committed a fix.

Try it, I'm debugging ATM other blocks I'm moving, so I can't try it myself.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Thor Heinrichs-Wolpert <th...@lunartek.com>.
The note below shows the moved files and issue.

The classes have been moved.  When I do a clean cvs pull and then 
build, the sample no longer works since the classes do not get built 
and the sitemap is looking for them.
Cheers,
Thor HW

On Wednesday, December 18, 2002, at 12:51  AM, Nicola Ken Barozzi wrote:

>
>
> Ivelin Ivanov wrote:
>> Thanks for the notification Thor.
>> Nicola, what is the deal?
>
> What is the problem?
>
>> ----- Original Message ----- From: "Thor Heinrichs-Wolpert" 
>> <th...@lunartek.com>
>> To: <co...@xml.apache.org>
>> Sent: Tuesday, December 17, 2002 10:03 PM
>> Subject: cvs2.1 xmlform sample broken?
>> I see some files moved in CVS by nicolaken such as
>> src/java/org/apache/cocoon/samples/xmlform
>>      UsageFeedbackAction.java
>>      UserBean.java
>>      WizardAction.java
>> but the sitemaps and examples don't seem to have been modified.
>> Is something up?
>
>
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> 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>
>
>


---------------------------------------------------------------------
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: cvs2.1 xmlform sample broken?

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Ivelin Ivanov wrote:
> Thanks for the notification Thor.
> 
> Nicola, what is the deal?

What is the problem?

> ----- Original Message ----- 
> From: "Thor Heinrichs-Wolpert" <th...@lunartek.com>
> To: <co...@xml.apache.org>
> Sent: Tuesday, December 17, 2002 10:03 PM
> Subject: cvs2.1 xmlform sample broken?
> 
> 
> I see some files moved in CVS by nicolaken such as
> src/java/org/apache/cocoon/samples/xmlform
>      UsageFeedbackAction.java
>      UserBean.java
>      WizardAction.java
> 
> but the sitemaps and examples don't seem to have been modified.
> 
> Is something up?


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
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: howto xmlform sitemap

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

> Thor Heinrichs-Wolpert wrote:
>
>> On the last page of the howto sample, it states
>>
>>     <map:transform 
>> src="context://stylesheets/xmlform/xmlform2html.xsl"/>
>>
>> but it should be
>>
>>     <map:transform 
>> src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />
>

Fixed in CVS, please cross check.

Vadim


>>
>> Cheers,
>> Thor HW
>
>
>
> Thor,
>
> Would you mind submitting a patch to the docs?
>
>
> Regards,
> Tony
>



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


Re: howto xmlform sitemap

Posted by Tony Collen <tc...@hist.umn.edu>.
Thor Heinrichs-Wolpert wrote:

> On the last page of the howto sample, it states
>
>     <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
>
> but it should be
>
>     <map:transform 
> src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />
>
> Cheers,
> Thor HW


Thor,

Would you mind submitting a patch to the docs?


Regards,
Tony


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


Re: howto xmlform sitemap

Posted by Ivelin Ivanov <iv...@apache.org>.
That's fixed in CVS now. It should make it to the life site soon.


----- Original Message ----- 
From: "Thor Heinrichs-Wolpert" <th...@lunartek.com>
To: <co...@xml.apache.org>
Cc: <co...@xml.apache.org>
Sent: Wednesday, December 18, 2002 1:00 AM
Subject: howto xmlform sitemap


> On the last page of the howto sample, it states
> 
> <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
> 
> but it should be
> 
> <map:transform 
> src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />
> 
> Cheers,
> Thor HW
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


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


Re: howto xmlform sitemap

Posted by Ivelin Ivanov <iv...@apache.org>.
Fixed.

Although the HOWTO is intended as a illustration.
You should start customizing with the maintained demo.
The first page of the HOWTO mentions this.


Ivelin


----- Original Message ----- 
From: "Thor Heinrichs-Wolpert" <th...@lunartek.com>
To: <co...@xml.apache.org>
Cc: <co...@xml.apache.org>
Sent: Wednesday, December 18, 2002 1:00 AM
Subject: howto xmlform sitemap


> On the last page of the howto sample, it states
> 
> <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
> 
> but it should be
> 
> <map:transform 
> src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />
> 
> Cheers,
> Thor HW
> 
> 
> ---------------------------------------------------------------------
> 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>
> 


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


howto xmlform sitemap

Posted by Thor Heinrichs-Wolpert <th...@lunartek.com>.
On the last page of the howto sample, it states

	<map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>

but it should be

	<map:transform 
src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />

Cheers,
Thor HW


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


howto xmlform sitemap

Posted by Thor Heinrichs-Wolpert <th...@lunartek.com>.
On the last page of the howto sample, it states

	<map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>

but it should be

	<map:transform 
src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />

Cheers,
Thor HW


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