You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2003/09/11 22:51:19 UTC

Displaying the version

Is forrest aware of it's own version? If so, can it be asked?

"forrest -version" displays the ant version.

regards

Adam
--
Experience Sybase Technology...
http://www.try.sybase.com

Re: Displaying the version

Posted by Juan Jose Pablos <ch...@che-che.com>.
Adam R. B. Jack wrote:
> 
> I'll upgrade.
> 
> regards,
> 
> Adam

I suggest to use cvs update -r FORREST_05_RC is the closest to our next 
release.

Cheers,
Cheche


Re: Displaying the version

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
Thanks, then there must be an old one on this machine then 'cos:

[ajack@lsd jakarta-gump]$ /opt/forrest/bin/forrest -projecthelp
[..]
    *=======================================================*
    |                Forrest Site Builder                   |
    *=======================================================*
                              by
                  Marc Portier (mpo@apache.org)
                  Jeff Turner (jefft@apache.org)



Hopefully that explains the error at the end of here:

http://lsd.student.utwente.nl/gump/gumpy.html
[...]
validate-xdocs:
/data/gump/forrest/content/xdocs/site.xml:7:74: Document root element
"site", must match DOCTYPE root "null".
/data/gump/forrest/content/xdocs/site.xml:7:74: Document is invalid: no
grammar found.


I'll upgrade.

regards,

Adam


Re: Displaying the version

Posted by Juan Jose Pablos <ch...@che-che.com>.
Adam,

I run this:

cheche@carolo:~/xml/xml-forrest$ forrest -projecthelp
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: 
/home/cheche/xml/xml-forrest/build/dist/shbat/bin/../forrest.build.xml

     *=======================================================*
     |                 Forrest Site Builder                  |
     |                          0.5                          |
     |             $Date: 2003/09/10 09:37:10 $              |
     *=======================================================*

              Call this through the 'forrest' command

Main targets:

  backcopy   If anything has been edited in build/webapps, copies them 
back to src/documentation
  overrides  Prints a summary of which files a project is overriding
  run        Run Jetty with configuration set by the jetty.run property
  seed       Seeds a directory with a template project doc structure
  site       Generates a static HTML website for this project
  validate   Validates XML doc files in the project
  war        Generates a dynamic servlet-based website (an packaged .war 
file)
  webapp     Generates a dynamic servlet-based website (an unpackaged 
webapp)

Default target: site



Adam R. B. Jack wrote:
>     > forrest -projecthelp
> 
> Does that give a version on some forrests? I've tried -projecthelp -help
> (and -version) and I see nothing that gives me a version string. Am I just
> overlooking it?
> 
> regards,
> 
> Adam



Re: Displaying the version

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
    > forrest -projecthelp

Does that give a version on some forrests? I've tried -projecthelp -help
(and -version) and I see nothing that gives me a version string. Am I just
overlooking it?

regards,

Adam


Re: Displaying the version

Posted by Juan Jose Pablos <ch...@che-che.com>.
Adam,
Try:

forrest -projecthelp

Cheers,
Cheche
Adam R. B. Jack wrote:
> Is forrest aware of it's own version? If so, can it be asked?
> 
> "forrest -version" displays the ant version.
> 
> regards
> 
> Adam
> --
> Experience Sybase Technology...
> http://www.try.sybase.com