You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2003/01/11 08:50:59 UTC

[issues] New comment: (FOR-14) Dependencies not granular

The following comment has been added to this issue:

     Author: Jeff Turner
    Created: Sat, 11 Jan 2003 1:51 AM
       Body:
Yes, it's a limitation of the Cocoon command-line.  Though, even if it were fixed, and only the edited files rendered, Forrest would *still* be slower than most comparable systems, as Cocoon imposes a large runtime overhead.

So the solution we're pursuing is to use a 'live' Cocoon to preview edited changes, and then only run the command-line when you're finished and want a static snapshot of the site.  This is described at:

http://xml.apache.org/forrest/your-project.html#N1029B

Essentially, you type 'forrest run', then view the site at http://localhost:8888/. Docs must then be edited in build/webapp/content/xdocs, and copied back to src/documentation/content/xdocs eventually (we aim to remove this step though). Doing this, you get to see changes rendered far faster than any command-line system could.

I'll leave this bug open, as a reminder that the Cocoon CLI could do with this optimization.

--Jeff

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-14


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-14
    Summary: Dependencies not granular
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Forrest
  Component: Core operations

   Assignee: 
   Reporter: Ralf Hauser

    Created: Sat, 11 Jan 2003 1:08 AM
    Updated: Sat, 11 Jan 2003 1:08 AM
Environment: 030110
(see   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-13)

Description:
When I change one word in the file src\documentation\content\xdocs\index.xml
and then type "forrest", all files in fst\build\site get rebuilt.
This is very inefficient and time-consuming - it doesn't scale! I guess as long as the true functionality of ant in this respect isn't used, no big/serious website will use forrest.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira