You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Peter Hargreaves <pd...@totalise.co.uk> on 2003/11/05 13:32:12 UTC

Re: Skin Development strategy.

> Roger Hyam wrote:
> > I am trying to work out the best way of developing a skin.
> > 
> > I duplicated another skin into:
> > <forrest-home>\build\dist\shbat\context\skins\myskin
> > as a starting point
> > 
> > If I make changes to this skin I get them when I use 'forrest' or 
> > 'forrest run'. A copy of the skin appears in:
> > <project-home>\build\webapp\skins\myskin
> > 
> > I can change this webapp copy of the skin and it shows up live while I 
> > am running "forrest run" but if I restart forrest the webapp version is 
> > over written.

Hi Folks,
I've tried using a soft link (under Linux) from
build/webapp/skins/myskin to the source location. I DON'T recommend it
because it was fine for a while then something destroyed my source!! I
think the ant script changed. In any case, I sometimes find I need to
delete the build directory for a fresh start.

I DO recommend a "forwardcopy" though. I wrote a simple shell script
(batch file) and stuck it under a convenient gnome button. Its a safer
strategy - although requires one extra action per edit cycle. Depending
on your editor you might be able to trigger it from an edit save.

Here's looking forward to proper skins from source.
Rgds.
Peter.



Re: Skin Development strategy.

Posted by Roger Hyam <ro...@hyam.net>.
Yep I did the same. I user a trivial ant build script to copy the skin 
across. All works fine now.

Peter Hargreaves wrote:

>>Roger Hyam wrote:
>>
>>>I am trying to work out the best way of developing a skin.
>>>
>>>I duplicated another skin into:
>>><forrest-home>\build\dist\shbat\context\skins\myskin
>>>as a starting point
>>>
>>>If I make changes to this skin I get them when I use 'forrest' or 
>>>'forrest run'. A copy of the skin appears in:
>>><project-home>\build\webapp\skins\myskin
>>>
>>>I can change this webapp copy of the skin and it shows up live while I 
>>>am running "forrest run" but if I restart forrest the webapp version is 
>>>over written.
> 
> 
> Hi Folks,
> I've tried using a soft link (under Linux) from
> build/webapp/skins/myskin to the source location. I DON'T recommend it
> because it was fine for a while then something destroyed my source!! I
> think the ant script changed. In any case, I sometimes find I need to
> delete the build directory for a fresh start.
> 
> I DO recommend a "forwardcopy" though. I wrote a simple shell script
> (batch file) and stuck it under a convenient gnome button. Its a safer
> strategy - although requires one extra action per edit cycle. Depending
> on your editor you might be able to trigger it from an edit save.
> 
> Here's looking forward to proper skins from source.
> Rgds.
> Peter.
> 
> 
> 
>