[ 
https://issues.apache.org/jira/browse/CONNECTORS-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17796762#comment-17796762
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1495 at 12/14/23 2:31 PM:
--------------------------------------------------------------------------

I'm using OpenJDK 1.8 so this means that I can use JDK 1.7, updating the Java 
version in the build/forrest/main/build.xml solved this problem:
{{<property name="build.compiler.vm" value="1.7"/>}}

I have restored a partial website dropping the generated content in the 
asf-site branch of the manifoldcf-site GitHub project. Unfortunately I had the 
following error that it doesn't allow me to generate all the pages:
{code:java}
 Finished copying the non-generated resources.
     [exec] Now Cocoon will generate the rest.
     [exec]
     [exec]
     [exec] Static site will be generated at:
     [exec] 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build/site
     [exec]
     [exec] Cocoon will report the status of each document:
     [exec]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
     [exec]
     [exec] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
     [exec] 
-Djava.endorsed.dirs=/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/lib/endorsed:${java.endorsed.dirs}
 is not supported. Endorsed standards and standalone APIs
     [exec] in modular form will be supported via the concept of upgradeable 
modules.
     [exec] Error: Could not create the Java Virtual Machine.
     [exec] Error: A fatal exception has occurred. Program will exit.
     [exec]
     [exec]   Copying broken links file to site root.
     [exec]
     [exec] Warning: 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/webapp/skins/lucene/images
 not found.
     [exec] Warning: 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/webapp/skins/lucene
 not found.
     [exec] Java Result: 1
     [exec]
     [exec] BUILD FAILED
     [exec] 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/targets/site.xml:180:
 Warning: Could not find file 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build/tmp/brokenlinks.xml
 to copy.
     [exec]
     [exec] Total time: 0 secondsBUILD FAILED
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build.xml:473:
 exec returned: 1{code}


was (Author: piergiorgioluc...@gmail.com):
I'm using OpenJDK 1.8 so this means that I can use JDK 1.7, updating the Java 
version in the build/forrest/main/build.xml solved this problem:
{{<property name="build.compiler.vm" value="1.7"/>}}

I have restored a partial website due to the following error:
{code:java}
 Finished copying the non-generated resources.
     [exec] Now Cocoon will generate the rest.
     [exec]
     [exec]
     [exec] Static site will be generated at:
     [exec] 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build/site
     [exec]
     [exec] Cocoon will report the status of each document:
     [exec]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
     [exec]
     [exec] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
     [exec] 
-Djava.endorsed.dirs=/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/lib/endorsed:${java.endorsed.dirs}
 is not supported. Endorsed standards and standalone APIs
     [exec] in modular form will be supported via the concept of upgradeable 
modules.
     [exec] Error: Could not create the Java Virtual Machine.
     [exec] Error: A fatal exception has occurred. Program will exit.
     [exec]
     [exec]   Copying broken links file to site root.
     [exec]
     [exec] Warning: 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/webapp/skins/lucene/images
 not found.
     [exec] Warning: 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/webapp/skins/lucene
 not found.
     [exec] Java Result: 1
     [exec]
     [exec] BUILD FAILED
     [exec] 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/tmp/forrest/main/targets/site.xml:180:
 Warning: Could not find file 
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build/tmp/brokenlinks.xml
 to copy.
     [exec]
     [exec] Total time: 0 secondsBUILD FAILED
/Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/site-trunk/build.xml:473:
 exec returned: 1{code}

> Brand new website
> -----------------
>
>                 Key: CONNECTORS-1495
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1495
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: Site
>    Affects Versions: ManifoldCF 2.9.1
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>            Priority: Major
>             Fix For: ManifoldCF next
>
>         Attachments: ManifoldCF-FluidoSkin.png, PDF-Rendition-1.png, 
> PDF-Rendition-2.png, Website - status - 20180510-2.png, Website - status - 
> 20180510.png
>
>   Original Estimate: 480h
>  Remaining Estimate: 480h
>
> The community decided to work on a brand new website:
> [http://mail-archives.apache.org/mod_mbox/manifoldcf-dev/201712.mbox/%3CCAHVHQx8odjgXMw%3DnhmSeDt0pYOUd0j%2BtkmMNtFnCJvHFcZwyEg%40mail.gmail.com%3E]
> The proposed technology is Jekyll but we have also to decide the website 
> template to use.
> [~kamaci] suggested the [Apache CloudStack|https://cloudstack.apache.org/] 
> template.
> [~molgun] proposed this approach:
>  # Find a modern new static site generator like Jekyll [1]
>  # Create a template
>  # Start to use it in a specific path like 
> [https://manifoldcf.apache.org/*new*]
>  # Migrate our Forrest xml's to Markdown (we can automate this somehow)
>  # Start to serve our new site on root path
> [1] [https://jekyllrb.com/docs/home/]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to