Re: [Hypercontent-users] remote publish
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-04-18 03:15:49
|
You can specify the additional filesystems in "mount" tags in project- definition.xml <mount directory="/publish2//" > <filesystem-def ... </mount> Filesystem configuration options: http://hypercontent.sourceforge.net/docs/manual/develop/filesystems.html I'm not sure sure how your build/publish workflow is configured, but in either the build.xml or publish.xml under /config/workflow you would add additional commands to the build or publish event. E.g., where you see <render path="${path}" destination="/publish/" force="false" delete="true"/> You might now have <render path="${path}" destination="/publish/" force="false" delete="true"/> <render path="${path}" destination="/publish2/" force="false" delete="true"/> Or if you have a two stage process, in the publish script <copy path="${path}" source="/build/" destination="/publish/" force="false" delete="true"/> <copy path="${path}" source="/build/" destination="/publish2/" force="false" delete="true"/> Alex On Apr 17, 2007, at 10:31 PM, tom tom wrote: > Hi, > > Currently I got CWebProxies serving content from the > uPortal machine but the actual content is on the > HyperContent Apache server, (build, publish copy to > the HC apache docs area) > > We got two uPortal servers (load balanced), I just > want to know is it possible to copy the publish > contents to both of these machines (apache) remotely. > If so how should I change the project definition, > current project definition looks as follows. > > <build> > − > <filesystem-def name="Author" type="local"> > <argument index="0" > value="/usr/local/apache2/htdocs/documentsHC/author"/> > </filesystem-def> > </build> > − > <publish> > − > <filesystem-def name="Publish" type="local"> > <argument index="0" > value="/usr/local/apache2/htdocs/documentsHC/publish"/> > </filesystem-def> > </publish > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > |