On 4/9/12 9:38 PM, "David Crossley" <crossley@apache.org> wrote:
>Shane Curcuru wrote:
>> Tips on building the main incubator.a.o site appreciated.
>
>There is some doc at [1] http://incubator.apache.org/guides/website.html
>but since moving to use the Apache Content Management System (CMS)
>that page might need some revision.
>Here is how i do it:
>* Local checkout of the incubator SVN
>https://svn.apache.org/repos/asf/incubator/public/trunk
For the record, you can also use the web UI accessible by clicking "Get
Incubator Working Copy" on https://cms.apache.org/incubator/ or using the
bookmarklet from http://incubator.apache.org/
>* Make source changes in the "content" directory.
>* Do 'svn diff', review, commit those.
>* Wait a bit.
>* Visit https://cms.apache.org/incubator/publish
>* Review the generated diffs, press the button.
>* Wait a bit, then see the published site.
>
>The notes at [1], and some linked notes, do explain how to
>review the CMS generated stuff at a staging site.
>They also show how to build the site locally for review.
>
>-David
>
>> I'm hoping to
>> cleanup some links and better describe the PMC things, along with
>> figuring where to include the branding requirements for graduation.
>>
>> Using two different versions of IBM Java (tried a 1.6 and a 1.7) I get
>> errors trying to process podling.xml:
>>
>> [xslt] : Fatal Error! [ERR 0194] The
>> javax.xml.transform.stream.StreamResult associated with the
>> xsl:result-document with href 'target/current.ent' and base output URI
>> 'file:/C:/a/incubator/public/target/index.tmp' has neither its Writer
>> nor its OutputStream set.
>> [xslt] : Fatal Error! [ERR 0629] A redirect instruction failed to
>> create a file. Cause: [ERR 0629] A redirect instruction failed to
>>create
>> a file.
>> [xslt] Failed to process C:\a\incubator\public\content\podlings.xml
>>
>> Thanks!
>> - Shane
>>
>>
>> C:\a\incubator\public>ver
>>
>> Microsoft Windows [Version 6.1.7601]
>>
>> C:\a\incubator\public>java -version
>> java version "1.7.0"
>> Java(TM) SE Runtime Environment (build pwa6470-20110906_01)
>> IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 amd64-64 20110810_88604 (JIT
>> enabled,
>> AOT enabled)
>> J9VM - R26_Java726_GA_20110810_1208_B88592
>> JIT - r11_20110810_20466
>> GC - R26_Java726_GA_20110810_1208_B88592
>> J9CL - 20110810_88604)
>> JCL - 20110809_01 based on Oracle 7b147
>>
>> C:\a\incubator\public>build
>>
>>CLASSPATH=".\lib\werken-xpath-0.9.4.jar;.\lib\velocity-tools-generic-1.4.
>>jar;.\l
>>
>>ib\velocity-1.6.1.jar;.\lib\texen-1.0.jar;.\lib\oro-2.0.8.jar;.\lib\log4j
>>-1.2.12
>>
>>.jar;.\lib\jdom-1.0.jar;.\lib\commons-logging-1.1.jar;.\lib\commons-lang-
>>2.4.jar
>>
>>;.\lib\commons-collections-3.2.1.jar;.\lib\avalon-logkit-2.1.jar;.\lib\an
>>tlr-2.7
>>
>>.5.jar;.\lib\ant-trax-1.7.1.jar;.\lib\ant-launcher-1.7.1.jar;.\lib\ant-ja
>>vamail-
>> 1.7.1.jar;.\lib\ant-1.7.1.jar;.\lib\anakia-1.0.jar;"
>> Buildfile: build.xml
>>
>> prepare:
>>
>> prepare-error:
>>
>> _prepare-texen:
>>
>> generate-site-map:
>> [delete] Deleting directory C:\a\incubator\public\target\texen
>> [mkdir] Created dir: C:\a\incubator\public\target\texen
>> [xslt] Transforming into C:\a\incubator\public\target\texen
>> [xslt] Processing C:\a\incubator\public\content\clutch.xml to
>> C:\a\incubato
>> r\public\target\texen\clutch.xml
>> [xslt] Loading stylesheet
>> C:\a\incubator\public\content\stylesheets\sitemap
>> \index.xsl
>> [xslt] Processing C:\a\incubator\public\content\faq.xml to
>> C:\a\incubator\p
>> ublic\target\texen\faq.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\branding.xml to C:\a
>> \incubator\public\target\texen\guides\branding.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\chair.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\chair.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\committer.xml to C:\
>> a\incubator\public\target\texen\guides\committer.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\community.xml to C:\
>> a\incubator\public\target\texen\guides\community.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\entry.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\entry.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\graduation.xml to C:
>> \a\incubator\public\target\texen\guides\graduation.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\index.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\index.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\lists.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\lists.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\mentor.xml
>> to C:\a\i
>> ncubator\public\target\texen\guides\mentor.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\names.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\names.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\participation.xml to
>> C:\a\incubator\public\target\texen\guides\participation.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\pmc.xml to
>> C:\a\incu
>> bator\public\target\texen\guides\pmc.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\ppmc.xml to
>> C:\a\inc
>> ubator\public\target\texen\guides\ppmc.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\proposal.xml to C:\a
>> \incubator\public\target\texen\guides\proposal.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\releasemanagement.xm
>> l to C:\a\incubator\public\target\texen\guides\releasemanagement.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\releasing-eclipse-up
>> date-site.xml to
>> C:\a\incubator\public\target\texen\guides\releasing-eclipse-upd
>> ate-site.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\guides\retirement.xml to C:
>> \a\incubator\public\target\texen\guides\retirement.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\sites.xml
>> to C:\a\in
>> cubator\public\target\texen\guides\sites.xml
>> [xslt] Processing C:\a\incubator\public\content\guides\website.xml
>> to C:\a\
>> incubator\public\target\texen\guides\website.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\incubation\Incubation_Polic
>> y.xml to
>>C:\a\incubator\public\target\texen\incubation\Incubation_Policy.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\incubation\Process_Descript
>> ion.xml to
>> C:\a\incubator\public\target\texen\incubation\Process_Description.xml
>>
>> [xslt] Processing
>> C:\a\incubator\public\content\incubation\Roles_and_Respon
>> sibilities.xml to
>> C:\a\incubator\public\target\texen\incubation\Roles_and_Respon
>> sibilities.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\learn\rules-for-revolutiona
>> ries.xml to
>> C:\a\incubator\public\target\texen\learn\rules-for-revolutionaries.x
>> ml
>> [xslt] Processing
>> C:\a\incubator\public\content\learn\theapacheway.xml to C
>> :\a\incubator\public\target\texen\learn\theapacheway.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\official\mailing-lists.xml
>> to C:\a\incubator\public\target\texen\official\mailing-lists.xml
>> [xslt] Processing
>> C:\a\incubator\public\content\official\resolution.xml to
>> C:\a\incubator\public\target\texen\official\resolution.xml
>> [xslt] Processing C:\a\incubator\public\content\whoweare.xml to
>> C:\a\incuba
>> tor\public\target\texen\whoweare.xml
>> [texen] content/stylesheets/sitemap
>> [texen] Generating to file
>> C:\a\incubator\public\content\../target/texen/gen
>> eration.report
>>
>> generate-menu:
>>
>> generate-index:
>> [xslt] Processing C:\a\incubator\public\content\podlings.xml to
>> C:\a\incubator\public\target\index.tmp
>> [xslt] Loading stylesheet
>> C:\a\incubator\public\content\stylesheets\project-index.xsl
>> [xslt] : Fatal Error! [ERR 0194] The
>> javax.xml.transform.stream.StreamResult associated with the
>> xsl:result-document with href 'target/current.ent' and base output URI
>> 'file:/C:/a/incubator/public/target/index.tmp' has neither its Writer
>> nor its OutputStream set.
>> [xslt] : Fatal Error! [ERR 0629] A redirect instruction failed to
>> create a file. Cause: [ERR 0629] A redirect instruction failed to
>>create
>> a file.
>> [xslt] Failed to process C:\a\incubator\public\content\podlings.xml
>>
>> BUILD FAILED
>> Fatal error during transformation
>>
>> Total time: 3 seconds
>>
>> C:\a\incubator\public>dir content\podlings.xml
>> Volume in drive C has no label.
>> Volume Serial Number is 2E27-7A04
>>
>> Directory of C:\a\incubator\public\content
>>
>> 2012-04-09 08:44 AM 77,248 podlings.xml
>> 1 File(s) 77,248 bytes
>> 0 Dir(s) 379,067,064,320 bytes free
>>
>> C:\a\incubator\public>dir target
>> Volume in drive C has no label.
>> Volume Serial Number is 2E27-7A04
>>
>> Directory of C:\a\incubator\public\target
>>
>> 2012-04-09 01:52 PM <DIR> .
>> 2012-04-09 01:52 PM <DIR> ..
>> 2012-04-09 09:13 AM 9,964 project-menu.ent
>> 2012-04-09 01:52 PM <DIR> texen
>> 1 File(s) 9,964 bytes
>> 3 Dir(s) 379,067,064,320 bytes free
>>
>> C:\a\incubator\public>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
>For additional commands, e-mail: general-help@incubator.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org
|