forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [jira] Updated: (FOR-831) Dispatcher Build, Clean and Deploy Batch File for Windows
Date Sat, 18 Mar 2006 11:45:07 GMT
El sáb, 18-03-2006 a las 22:15 +1100, David Crossley escribió: 
> Thorsten Scherler wrote:
> > David Crossley escribi??:
> > > Gav.... wrote:
> > > > David Crossley wrote:
> > > > >
> > > > >In the meantime, why does the script clean and re-build
> > > > >forrest? That should be a separate concern. See the
> > > > >old etc/structurer.sh
> > > > 
> > > > My fault probably, but intentional on my part for builddispatcher.bat.
> > > > 
> > > > Whenever you need to deploy plugins for dispatcher use, is usually
> > > > right after an svn up, then you need to 'build clean' and 'build', then
you
> > > > have to deploy plugins again, that is why they are all in there together.
> > > 
> > > No, you do not need to rebuild after every
> > > 'svn update'. Only when there have been changes
> > > to *.java files.
> > 
> > Well, since the development of the new plugins I wrote that you need to
> > build clean, since, yes, I changed a lot of *.java. ...but it is most of
> > the time better to build clean, anyway.
> > 
> > > > The *nix equiv has been patched as builddispatcher.sh and is not meant
> > > > as a replacement for structurer.sh.
> > > 
> > > Yeah, structurer.sh is old.
> > > 
> > > I was just pointing to that as an example
> > > of not needing to use 'build clean; build'.
> > 
> > Well on the other heand it does not hurt and takes on my maschine 6 sec
> > more.
> 
> But it wipes out the other installed plugins,
> so if you have a site that uses many plugins
> (especially the Gallery plugin) then it takes
> many minutes to get back up again.

Yeah, revealing another issue that we need to enhance. 

In lenya our modules (like plugins) are mounted differently then in
forrest. Rather then to deploy each plugin on demand we deploy all when
building lenya. Each publication can still define whether they want to
use them with the publication.xconf.

One thing that produces many questions and problems is that our plugins
are primarely downloaded rather then automatically deployed. 

I think we should add a new target to our build that deploys all plugins
when building forrest (like in lenya). The ant local-deploy still should
be in place since it can be used to update the plugind in runtime.

If a plugin src is not found, forrest will try to downloaded as ultimate
intention of installing it.

> 
> Never mind. You guys do whatever you want.
> 

El jue, 16-03-2006 a las 08:35 +0000, Cyriaque Dupoirieux (JIRA)
escribió:
> Create a new ant task in order to replace the two scripts
> builddispatcher.
> My idea is to be able to make the following :
>    - build clean
>    - build
>    - local-deploy of every plugins used by the project.

http://issues.apache.org/jira/browse/FOR-835
"Comment by Cyriaque Dupoirieux [16/Mar/06 08:37 AM]  
When this FOR is closed, we should remove the two scripts
duilddispatcher and even the structurer.sh... "

+1

> Personally i just cd to the dispatcher and themes.core
> and do local-deploy.

Well, I personally *have to* do as well build clean. ;)

salu2

> -David
> 
> > > > If you would rather they be removed , no problem, but then you are
> > > > needing to run two batch files to get dispatcher working again.
> > > > 
> > > > Let me know how you would rather have it.
> > > 
> > > Without the build part.
> > > 
> > > What do others think?
> > 
> > -1
> > 
> > I like the patch like it is and have no seen arguments that convinced me
> > that we should split the scripts. Gav is right why should we force
> > somebody to use two script if she can use one. 
> > 
> > The patches are a nice way to get the dispatcher working for sure.
> > 
> > salu2
> > -- 
> > thorsten
> > 
> > "Together we stand, divided we fall!" 
> > Hey you (Pink Floyd)
> > 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message