You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2004/06/01 09:56:08 UTC

Re: [Skins] Donation of the "lenya-site" skin

Dave Brondsema wrote:

>Quoting "Scherler, Thorsten" <th...@apache.org>:
>  
>
>>[...] I can commit the "lenya-site" skin. It is not finished though 
>>but I am working on that.
>>[...]
>>
>Since it is not finished and we are going to release 0.6 before too long, I
>think it would be best to wait.  
>

Yeah, I thought so ;-) and can perfectly understand that!

>But it does look very nice and we definitely
>would like to include it eventually.  
>

:) Thanks. The problem is the menu ATM :(. ...but I will have a closer 
look on http://xml.apache.org/forrest/linking.html. I reckon I will find 
some "update to 0.6" issues ;-)

[...]

>A better option might be to package it and host it yourself and then we can add
>it to http://xml.apache.org/forrest/skins/skins.xml (the default skins
>descriptor) 
>

Jupp, lets do that then. I saw 
http://xml.apache.org/forrest/skin-package.html [1]. So to get it straight:
I created the lenya-site skin by cp the krysalis-site skin and added the 
lenya specific stuff there. So now my skin is in 
src/core/context/skins/lenya-site.

[1] states:

1 - forrest package-skin
The skin package will be made in the skin dir, next to the custom skin.

So I have to run "forrest package-skin" within src/core/context/skins/, 
right?
That will create my lenya-site.zip in src/core/context/skins/, right?
After that I can upload it to our webserver as *.zip, right?

>so people can still download it and use it easily.
>
>  
>

That is the aim to publish our skin. Right now I am the only one that 
can update the lenya-site and that cannot be. If other committer can 
easily install the skin without "touching forrest" I am happy :). ...and 
we all can keep our site up to date.

...I will have to look into forrestbot, because I would like to automate 
the process described at 
http://cocoon.apache.org/lenya/community/website-update.html. Forrestbot 
can assist us with that, right?

King regards
thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.



Re: [Skins] Donation of the "lenya-site" skin

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:

>>I just filled out an isue. 
>>http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?id=10274
>>    
>>
>
>Thanks.
>
>So do you still want the entry for "forrest-lenya"
>to remain in the main descriptor at
>http://xml.apache.org/forrest/skins/skins.xml
>
>Fine if you do or do not, i just wanted to finalise this
>temporary hack before we forget about it.
>
>  
>
Hi David,

I am still not finished with the skin so I think for the moment you can 
delete that entry.
If I got my menus displaying in the right way (have the same problem 
like HiveMind had) you can add it to the 
http://xml.apache.org/forrest/skins/skins.xml forever.

I will contact the dev-list as soon as I will be finished and you can 
decide what to do with the skin ;-).
Anyway if you want to add it to 
http://xml.apache.org/forrest/skins/skins.xml then *please* rename it to 
"lenya-site" and not "forrest-site". I think I hopefully will finish 
today that skin. So it will be there by tonight.

Thanks for everything :).

King regards
Thorsten

>--David
>
>
>
>  
>


-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.



Re: [Skins] Donation of the "lenya-site" skin

Posted by David Crossley <cr...@apache.org>.
Scherler, Thorsten wrote:
> David Crossley wrote:
> 
> > I do not think that you need to do the 'forrest install-skin'.
> > After declaring the skin name in forrest.properties then
> > just do 'forrest' ... it will fetch and install the skin.
> 
> Yes it does :). ...but only if:
> 
> > I temporarily added it to the main skins descriptor.
> > http://xml.apache.org/forrest/skins/skins.xml
>
> Thanks!
> 
> > Drop your additional entry from forrest.properties
> > and see if that makes any difference.
> 
> Yes it did! :)
> 
> Now we know that we have a bug around the local skins.xml. I gets read 
> but the download of the skin from the web fails.
> 
> > Also try 'forrest -v' to see if the verbose output
> > would give some hints.
> > 
> 
> I repeated today the steps with a second skin:
> 1) create the skin
> 2) forrest package-skin
> 3) defined it in my descriptor
> 4) checked with "forrest available-skins"
> 5) forrest
> 
> and it worked :)

Good.

> I just filled out an isue. 
> http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?id=10274

Thanks.

So do you still want the entry for "forrest-lenya"
to remain in the main descriptor at
http://xml.apache.org/forrest/skins/skins.xml

Fine if you do or do not, i just wanted to finalise this
temporary hack before we forget about it.

--David


Re: [Skins] Donation of the "lenya-site" skin

Posted by "Scherler, Thorsten" <th...@apache.org>.
Hello David,

David Crossley wrote:

> I do not think that you need to do the 'forrest install-skin'.
> After declaring the skin name in forrest.properties then
> just do 'forrest' ... it will fetch and install the skin.
> 

Yes it does :). ...but only if:


> I temporarily added it to the main skins descriptor.
> http://xml.apache.org/forrest/skins/skins.xml
> 
Thanks!


> Drop your additional entry from forrest.properties
> and see if that makes any difference.
>

Yes it did! :)

Now we know that we have a bug around the local skins.xml. I gets read 
but the download of the skin from the web fails.

> Also try 'forrest -v' to see if the verbose output
> would give some hints.
> 

I repeated today the steps with a second skin:
1) create the skin
2) forrest package-skin
3) defined it in my descriptor
4) checked with "forrest available-skins"
5) forrest

and it worked :)

... dunno why it have not yesterday.

Yes I do! I just changed:
forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
to
forrest.skins.descriptors=http://xml.apache.org/forrest/skins/skins.xml,http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml

Trying to say something wrong with the "comma seperated list,". The 
second link do *not* work. In detail the url of the skin.

I just double checked as well the file:///d:/get/skins.xml and it 
worked. When it stands alone but not in the comma seperated list.

I just filled out an isue. 
http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?id=10274

Thanks for the help.

King regards
thorsten

-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
 
<@c...@cocoon-WIKI>
  <http>http://www.target-x.de</http>
  <motto>
	"My task which I am trying to achieve is,
	by the power of the written word,
	[...] to make you see."
	*Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: [Skins] Donation of the "lenya-site" skin

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
>
> Thanks again for the useful infos and your help David!
> 
> I really appreciate the time you (and other devs) take!

That is one secret of opensource. If everyone would
spend just a few minutes of their time. When that
is multiplied by a large number of people, then the
result is massive.

Timing is another key. Saying a few words that might
help someone at the right time, keeps the other person
moving along.

In the end everyone benefits. I might want to use that
fetch-skins ability one day, and would be glad of the
few moments that i helped you to eradicate the bugs.

--David



Re: [Skins] Donation of the "lenya-site" skin

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:

>Thorsten Scherler wrote:
>
>> [...]
>>
>>Yeah, I tried that as well.
>>I packaged the skin and renamed it to forrest-lenya.zip, add it to [1] 
>>and that is as well a no go :(.
>>    
>>
>
>I do not think that you need to do the 'forrest install-skin'.
>After declaring the skin name in forrest.properties then
>just do 'forrest' ... it will fetch and install the skin.
>
>  
>

I tried that as well (yesterday at home). It is more or less the same 
error message.

>I temporarily added it to the main skins descriptor.
>http://xml.apache.org/forrest/skins/skins.xml
>
>  
>

Cheers! Maybe that will help ;-)

>Drop your additional entry from forrest.properties
>and see if that makes any difference.
>  
>

Ok I will give it a go as soon I am back home.

>Also try 'forrest -v' to see if the verbose output
>would give some hints.
>  
>

Ok, will do that as well.

>--David
>
>
>  
>
Thanks again for the useful infos and your help David!

I really appreciate the time you (and other devs) take!

King regards
thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.



Re: [Skins] Donation of the "lenya-site" skin

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> David Crossley wrote:
<snip/>
> >Investigate the build target to see what it is doing. There is
> >something about the version numbers of skins that you are
> >getting confused with. There is an ability to automatically
> >find skins appropriate for different forrest versions. I think
> >that it depends on the zip filename. See Nicola Ken's "testskin"
> >example. The default zip filename does not have the "0.6-dev".
> 
> Yeah, I tried that as well.
> I packaged the skin and renamed it to forrest-lenya.zip, add it to [1] 
> and that is as well a no go :(.

I do not think that you need to do the 'forrest install-skin'.
After declaring the skin name in forrest.properties then
just do 'forrest' ... it will fetch and install the skin.

I temporarily added it to the main skins descriptor.
http://xml.apache.org/forrest/skins/skins.xml

Drop your additional entry from forrest.properties
and see if that makes any difference.

Also try 'forrest -v' to see if the verbose output
would give some hints.

--David




Re: [Skins] Donation of the "lenya-site" skin

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:

>Scherler, Thorsten wrote:
><snip/>
>  
>
>>fetch-versioned-skin:
>>Trying to get "forrest-lenya" skin version
>>                   0.6-dev...
>>
>>BUILD FAILED
>>D:\get\forrest\src\core\targets\skins.xml:107: Following error occured 
>>while executing this line
>>D:\get\forrest\src\core\targets\skins.xml:119: Following error occured 
>>while executing this line
>>D:\get\lenya-site\build\tmp\skinlist2fetchbuild.xml:7: 
>>java.net.MalformedURLException: no protocol: forrest-lenya-0.6-dev.zip
>>
>>Total time: 3 seconds
>>
>>any idea what I am doing wrong?
>>    
>>
>
>Investigate the build target to see what it is doing. There is
>something about the version numbers of skins that you are
>getting confused with. There is an ability to automatically
>find skins appropriate for different forrest versions. I think
>that it depends on the zip filename. See Nicola Ken's "testskin"
>example. The default zip filename does not have the "0.6-dev".
>
>  
>

Yeah, I tried that as well.
I packaged the skin and renamed it to forrest-lenya.zip, add it to [1] 
and that is as well a no go :(.

thorsten

>--David
>
>  
>
>>Please see my skins.xml [1].
>>...and yeah i set project.skin=forrest-lenya ;-)
>>
>>King regards
>>thorsten
>>
>>[1]http://www.apache.org/~thorsten/whiteboard/forrestskins/
>>    
>>
>
>
>
>  
>


-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.


Re: [Skins] Donation of the "lenya-site" skin

Posted by David Crossley <cr...@apache.org>.
Scherler, Thorsten wrote:
<snip/>
> 
> fetch-versioned-skin:
> Trying to get "forrest-lenya" skin version
>                    0.6-dev...
> 
> BUILD FAILED
> D:\get\forrest\src\core\targets\skins.xml:107: Following error occured 
> while executing this line
> D:\get\forrest\src\core\targets\skins.xml:119: Following error occured 
> while executing this line
> D:\get\lenya-site\build\tmp\skinlist2fetchbuild.xml:7: 
> java.net.MalformedURLException: no protocol: forrest-lenya-0.6-dev.zip
> 
> Total time: 3 seconds
> 
> any idea what I am doing wrong?

Investigate the build target to see what it is doing. There is
something about the version numbers of skins that you are
getting confused with. There is an ability to automatically
find skins appropriate for different forrest versions. I think
that it depends on the zip filename. See Nicola Ken's "testskin"
example. The default zip filename does not have the "0.6-dev".

--David

> Please see my skins.xml [1].
> ...and yeah i set project.skin=forrest-lenya ;-)
> 
> King regards
> thorsten
> 
> [1]http://www.apache.org/~thorsten/whiteboard/forrestskins/


Re: [Skins] Donation of the "lenya-site" skin

Posted by "Scherler, Thorsten" <th...@apache.org>.
David Crossley wrote:

> Thorsten Scherler wrote:
>>So I have to run "forrest package-skin" within src/core/context/skins/, 
>>right?
> 
> 
> Run it at the top-level project directory.
> 
works
> 
>>That will create my lenya-site.zip in src/core/context/skins/, right?
>>After that I can upload it to our webserver as *.zip, right?
> 
> 
> That is correct.
> 
> 
worked ->http://www.apache.org/~thorsten/whiteboard/forrestskins/

>>>so people can still download it and use it easily.
> 
> See the 'forrest available-skins' build target.
>
did it

> Practice by using the "testskin".
>
Did it

> Declare the skin in the Lenya forrest.properties
> 
To test whether it was working I
*created a skins.xml and uploaded it to [1]
*declared my skin.descriptor:
forrest.skins.descriptors=http://xml.apache.org/forrest/skins/skins.xml,http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml

Then I repeated "forrest available-skins" and got:
[...]
Available skins:

* forrest-lenya - test
   - author: test
   - website: test

BUILD SUCCESSFUL
Total time: 3 seconds

So I then tried a "forrest install-skin" but got:
[...]
fetching descriptor: 
http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
Getting: http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
.
last modified = Tue Jun 01 18:55:28 CEST 2004

fetch-skin:
Processing D:\get\forrest\src\core\context\skins\skins-1.xml to 
D:\get\lenya-site\build\tmp\skinlist2fetchbuild.xml
Loading stylesheet D:\get\forrest\src\core\var\skinlist2fetch.xsl

fetch-versioned-skin:
Trying to get "forrest-lenya" skin version
                   0.6-dev...

BUILD FAILED
D:\get\forrest\src\core\targets\skins.xml:107: Following error occured 
while executing this line
D:\get\forrest\src\core\targets\skins.xml:119: Following error occured 
while executing this line
D:\get\lenya-site\build\tmp\skinlist2fetchbuild.xml:7: 
java.net.MalformedURLException: no protocol: forrest-lenya-0.6-dev.zip

Total time: 3 seconds

any idea what I am doing wrong?
Please see my skins.xml [1].
...and yeah i set project.skin=forrest-lenya ;-)

King regards
thorsten

[1]http://www.apache.org/~thorsten/whiteboard/forrestskins/
-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@mail> thorsten@apache.org</...@mail>
  <@cocoon-WIKI> 
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler</...@cocoon-WIKI>
  <http>http://www.target-x.de</http>
</thorsten>



Re: [Skins] Donation of the "lenya-site" skin

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> Dave Brondsema wrote:
> >A better option might be to package it and host it yourself and then we can add
> >it to http://xml.apache.org/forrest/skins/skins.xml (the default skins
> >descriptor) 
> 
> Jupp, lets do that then. I saw 
> http://xml.apache.org/forrest/skin-package.html [1]. So to get it straight:
> I created the lenya-site skin by cp the krysalis-site skin and added the 
> lenya specific stuff there. So now my skin is in 
> src/core/context/skins/lenya-site.
> 
> [1] states:
> 
> 1 - forrest package-skin
> The skin package will be made in the skin dir, next to the custom skin.
> 
> So I have to run "forrest package-skin" within src/core/context/skins/, 
> right?

Run it at the top-level project directory.

> That will create my lenya-site.zip in src/core/context/skins/, right?
> After that I can upload it to our webserver as *.zip, right?

That is correct.

> >so people can still download it and use it easily.
>
> That is the aim to publish our skin. Right now I am the only one that 
> can update the lenya-site and that cannot be. If other committer can 
> easily install the skin without "touching forrest" I am happy :). ...and 
> we all can keep our site up to date.

See the 'forrest available-skins' build target.

Practice by using the "testskin".

Declare the skin in the Lenya forrest.properties

When you are ready we will add the lenya-site skin to the
"skins descriptor" that is used by the "available-skins"
target.

--David