help with forrest installation on freebsd with Java pre-installed

2005-08-03 Thread Hugo Osorio




Hello
people, please help me 


I am using
FreeBSD 4.11-STABLE FreeBSD 4.11-STABLE #1: Thu May 19 21:17:41 COT 2005




And I am
trying to install apache forrest 0.7 on it, but, when i try to do in


---


/usr/ports/www/apache-forrest


#make


-


i get this
message:


---


apache-forrest-0.7:
Environment error: "JAVA_HOME" should not be defined.




*** Error
code 1
 


Stop in
/usr/ports/www/apache-forrest.


-


JAVA_HOME
contains:


# echo $JAVA_HOME


/usr/local/jdk1.4.2





what should
I do? 


Thank you!


Re: help with forrest installation on freebsd with Java pre-installed

2005-08-04 Thread Hugo Osorio
hello, thank you very much... 

it remains a doubt in my mind, if Forrest does not use make and friends, why freebsd has a port for this application?

here is what i did.., i have found a port for FreeBSD, i guess it fits better to the system...

I deactivated the enviroment variable JAVA_HOME by
#unsetenv JAVA_HOME

I guess the only thing i have to do is to set back the variable.. by #setenv JAVA_HOME /path/to/java


BUILD SUCCESSFUL
Total time: 4 seconds

*

  Set the environment variable:

  FORREST_HOME=/usr/local/share/apache-forrest

  and add ${FORREST_HOME}/bin to your PATH.

  To build a site:

  1)  $ mkdir mysite; cd mysite
  2)  $ forrest seed
  3)  $ forrest
  4)  see results in ./build/site/index.html with your web browser

  To avoid any issue with old classes being loaded, run a 'forrest clean'
  in your project directory, after you upgraded to this version (0.7)

*
===>   Registering installation for apache-forrest-0.7
2005/8/3, David Crossley <[EMAIL PROTECTED]>:
Diwaker Gupta wrote:> Hugo Osorio wrote:> > /usr/ports/www/apache-forrest>> Is there a particular reason for this choice of directory? Just curious...>> > #make>> This will *not* work. Please go through the 
README.txt file in the base> directory first. Here's an excerpt:>> "Installation Instructions and Documentation> ---> Read the index.html file in this directory for the installation instructions.
> The documentation relevant for your version is included with Forrest.> The Forrest website has documentation for the current development version.">> Forrest doesn't use make and friends. It uses Ant as its build system. The
> distribution is self contained -- you only need Java installed. In most> cases, you should be able to:>> $ cd $FORREST_HOME/main> $ ./build.shThe distribution of forrest-0.7 is pre-built, so the user
does not even need to do that.David


Re: help with forrest installation on freebsd with Java pre-installed

2005-08-06 Thread Hugo Osorio
I'm sorry, i dont understand much...
 
what do you need to contact the manteiner for ?
 
I have successfully installed the port, unsetting the variable JAVA_HOME, and afterwards I have set it back...
 
now I deal with Forrest in order to set it as a webapp and make it runnable on Tomcat
 
i guess i will be asking for help soon 
2005/8/4, David Crossley <[EMAIL PROTECTED]>:
Hugo Osorio wrote:> hello, thank you very much...>> it remains a doubt in my mind, if Forrest does not use make and friends, why
> freebsd has a port for this application?>> here is what i did.., i have found a port for FreeBSD, i guess it fits> better to the system...Oh dear, that is what i was worried about. How do we find the
maintainer of that port?David


what is the best client 4 forrest (best in spanish)

2005-08-06 Thread Hugo Osorio
Hello people, please can you guide me to get the best and easy to use client/editor for construct pages for Forrest?
 
I need to give editors to people who only know spanish, is there any one over there... which normal people would love just as Windows XP, by the way everyone uses Micro$oft 98, 2000 and XP?
 
 
thank you


Starting forrest project along with tomcat

2005-08-09 Thread Hugo Osorio
Hello people, 

I need my forrest-project to run in system initialization, but i couldn't do it,

the things i have done is to construct the forrest project to a .war file, and afterwards extract it in 
/usr/local/jakarta-tomcat/webapps , 

for the project to run, i have to restart everytime de Tomcat server by:
/usr/local/jakarta-tomcat/bin/catalina.sh run &

in this way i do have my project running on Tomcat, but if i the system is restarted, there is not project up :(

any help ?


Re: Starting forrest project along with tomcat

2005-08-09 Thread Hugo Osorio
I have this part of code in my /usr/local/jakarta-tomcat5.0/conf/server.xml

  
   unpackWARs="true" autoDeploy="true"
   xmlValidation="false" xmlNamespaceAware="false">

But, I dont have the .war file in /usr/local/jakarta-tomcat5.0/webapps

instead, what i have done is to extract that .war file in that directory, so I have a pack of files in this directory:

noname# pwd

/usr/local/jakarta-tomcat5.0/webapps/intranet
noname#ls -l
drwxr-xr-x   8 xx   1024 Aug  9 10:20 .
drwxr-xr-x  10x    512 Aug  9 10:20 ..
drwxr-xr-x   2 xx    512 Aug  5 16:28 META-INF
drwxr-xr-x   6 xx    512 Aug  5 16:35 WEB-INF
-rw-r--r--   1 xxx   3157 Aug  5 16:28 aggregate.xmap
drwxr-xr-x   3 xxx    512 Aug  5 16:28 build
-rw-r--r--   1 xxx   5483 Aug  5 16:28 default-forrest.properties
-rw-r--r--   1 xxx  10041 Aug  5 16:28 faq.xmap
-rw-r--r--   1 xxx  13193 Aug  5 16:28 forrest.xmap
-rw-r--r--   1 xxx   2372 Aug  5 16:28 i18n.xmap
-rw-r--r--   1 xxx   1669 Aug  5 16:28 issues.xmap
-rw-r--r--   1 xxx  3994 Aug  5 16:28 jettyconf.xml
-rw-r--r--   1 xxx   2630 Aug  5 16:28 linkmap.xmap
-rw-r--r--   1 xxxw   6053 Aug  5 16:28 menu.xmap
-rw-r--r--   1 xxx 2070 Aug  5 16:28 profiler.xmap
drwxr-xr-x   4 xxx    512 Aug  5 16:28 project
-rw-r--r--   1 xxx  3849 Aug  5 16:28 raw.xmap
drwxr-xr-x   5 xxx    512 Aug  5 16:28 resources
-rw-r--r--   1 xxx  20844 Aug  5 16:28 resources.xmap
-rw-r--r--   1 xxx   3170 Aug  5 16:28 revisions.xmap
-rw-r--r--   1xxx   6334 Aug  5 16:28 search.xmap
-rw-r--r--   1 xxx 28644 Aug  5 16:28 sitemap.xmap
drwxr-xr-x  10xxx    512 Aug  5 16:28 skins
-rw-r--r--   1 xxx   3881 Aug  5 16:28 tabs.xmap
noname# pwd
/usr/local/jakarta-tomcat5.0/webapps/intranet

I have restarted the FreeBSD by shutdown -r now

and when the system is up, catalina Tomcat is up, and I can see other
Tomcata projects, i can visualize jsp files located in different
projects at /usr/local/jakarta-tomcat5.0/webapps

what i want is to make my forrest-project as runnable as the other ones
i have in webapps, where i dont need to restart Tomcat for having them
up.

currently i am arise them by:
/usr/local/jakarta-tomcat5.0/bin/catalina.sh stop -force
and
/usr/local/jakarta-tomcat5.0/bin/catalina.sh run &

with this action, I have my forrest-project read by Tomcat, and up, ready to see in my browser... so this is manually..

ok i think i have wrote too much...  no?





2005/8/9, Thorsten Scherler <[EMAIL PROTECTED]>:
On Tue, 2005-08-09 at 11:31 -0500, Hugo Osorio wrote:> Hello people,>> I need my forrest-project to run in system initialization, but i> couldn't do it,>> the things i have done is to construct the forrest project to a .war
> file, and afterwards extract it in> /usr/local/jakarta-tomcat/webapps ,>> for the project to run, i have to restart everytime de Tomcat server> by:> /usr/local/jakarta-tomcat/bin/catalina.sh run &
>> in this way i do have my project running on Tomcat, but if i the> system is restarted, there is not project up :(Hmm, sounds weird. You have your forrest project in tomcat running butafter restart it is gone?
in /usr/local/jakarta-tomcat/conf/server.xmldo you find something like:   unpackWARs="true" autoDeploy="true">
?in /usr/local/jakarta-tomcat/webapp/ can you find a dir with yourproject name? When after deploy and/or restart?salu2thorsten>> any help ?--thorsten"Together we stand, divided we fall!"
Hey you (Pink Floyd)


intranet environment

2005-08-16 Thread Hugo Osorio
Hello.

somebody please can give me an orientation

is it proper using Forrest with Slide Jakarta? am i well oriented at
the idea of having both of them for an intranet environment, i have
forrest installed on a FreeBSD platform, working with tomcat, i have
understood that i need Jakarta in order to people can put an remove
data on/from the "server" Forrest via Slide which support WebDAV
protocol... 

thank you


Re: intranet environment

2005-08-19 Thread Hugo Osorio
Thank you for your response !

so, is there another option?, i am afraid of facing a release which is
in development, i need something quick and easy.. i am building an
intranet, I need people easily to put data/content onto the server, in
order to be published for our 'local area network' only

The environment for this, i suppose, is Forrest CMS in this case,
Cocoon the basis, Tomcat, but, i need to have cleared how people can
put their own content on the forrest-project (which is in another
machine (FreeBSD)) by themselves.

thank you for your guidance, it is quite valuable


2005/8/16, Ross Gardler <[EMAIL PROTECTED]>:
Hugo Osorio wrote:> Hello.>> somebody please can give me an orientation>> is it proper using Forrest with Slide Jakarta? am i well oriented at the> idea of having both of them for an intranet environment, i have forrest
> installed on a FreeBSD platform, working with tomcat, i have understood> that i need Jakarta in order to people can put an remove data on/from> the "server" Forrest via Slide which support WebDAV protocol...
In order to have Forrest retrieve its content from a slide repository(or any repository other than the local filesystem) you will need to use  the 0.8-dev version of Forrest. this includes a new facility called
the locationmap (http://forrest.apache.org/docs_0_80/locationmap.html )This code works and has been tested with a slide repository, but is not
yet in a released verion of Forrest so you'll need to work with SVN orone of our nightly snapshots.Ross


protocol

2005-08-19 Thread Hugo Osorio
Hello,

What communication protocol should i use, in order to transfer the
content from another machine in a LAN to the server where my
forrest-project is?
thank you 

Hugh


Re: intranet environment

2005-08-22 Thread Hugo Osorio
Does Forrest give a collaborative environment like Twiki, for example?

Maybe I am in the wrong place, 

is it Forrest a good option for an intranet where people from different areas place their own content and files?


2005/8/22, David Crossley <[EMAIL PROTECTED]>:
Hugo Osorio wrote:> Thank you for your response !>> so, is there another option?, i am afraid of facing a release which is in> development, i need something quick and easy.. i am building an intranet, I
> need people easily to put data/content onto the server, in order to be> published for our 'local area network' only>> The environment for this, i suppose, is Forrest CMS in this case, Cocoon the
> basis, Tomcat, but, i need to have cleared how people can put their own> content on the forrest-project (which is in another machine (FreeBSD)) by> themselves.>> thank you for your guidance, it is quite valuable
As a workaround, you could use 'wget' ior 'rsync' to retrieveeach document from the remote CMS server and store it on thelocal server where forrest can access it by its normal means.-David



Re: protocol

2005-08-22 Thread Hugo Osorio
I thought of Forrest as a collaborative environment,

If i am not wrong, WebDAV is a protocol with which i can transfer data,
web content, etc, with an editor enabled to do so, transferring with
the WebDAV protocol.

Locationmap is for  presenting all of the content in different languages isn't it ?

thank you2005/8/22, David Crossley <[EMAIL PROTECTED]>:
Hugo Osorio wrote:>> What communication protocol should i use, in order to transfer the content> from another machine in a LAN to the server where my forrest-project is?> thank youSorry,  i don't understand your question.
If you are using the development version of Forrest(0.8-dev) then see the "locationmap". Use the googlesearch facility at forrest.apache.org site.However, i don't know if that answers the question.
-David


error en 'forrest run'

2005-08-23 Thread Hugo Osorio
Hello everybody... I have this error, and it is related to be impossible to download some plugins.xml

I have set the enviroment variables http_proxy & ftp_proxy to my
default proxy.. but it remains the same error, please.. what could I
do.?

thank you
---

zulu# forrest run
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /usr/local/forrest/main/forrest.build.xml

check-java-version:
This is apache-forrest-0.8-dev
Using Java 1.4 from /usr/local/jdk1.4.2/jre

init-props:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init-plugins:
Copying 1 file to /usr/local/forrest/site-author/build
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Installing plugin: org.apache.forrest.plugin.input.dtdx

check-plugin:
org.apache.forrest.plugin.input.dtdx is not available in the build dir

init-props:

echo-settings:

init-proxy:

fetch-plugins-descriptors:
Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
Error getting http://forrest.apache.org/plugins/plugins.xml to /usr/local/forrest/site-author/build/tmp/plugins-1.xml
Fetching plugins descriptor: http://forrest.apache.org/plugins/whiteboard-plugins.xml
Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml to /usr/local/forrest/site-author/build/tmp/plugins-2.xml

    WARNING
    ===

   
Unable to load plugin list number 1 from
http://forrest.apache.org/plugins/plugins.xml.
    Any
plugins identified in this plugin list cannot be installed
    automatially, see further errors below.

    WARNING
    ===

   
Unable to load plugin list number 2 from
http://forrest.apache.org/plugins/whiteboard-plugins.xml.
    Any
plugins identified in this plugin list cannot be installed
    automatially, see further errors below.

fetch-plugin:

unpack-plugin:

ERROR
=

Unable to retrieve the org.apache.forrest.plugin.input.dtdx plugin.
There may be more information about the reason for this in output
above. The usual cause is that Forrest has been unable to download
the plugin descriptor file that indicates where this plugin is to be
downloaded from. If you are behind a firewall then set the proxy.host
and proxy.port values in the forrest.properties file.

You may also like to check the value of the
forrest.plugins.descriptors property in the forrest.properties file
and ensure that the locations indicated by that value are accessible
(note there should be no spaces in this property).

If all else fails you can can manually install the plugins you need
by downloading the install bundles (see
http://forrest.apache.org/pluginDocs/plugins_0_70/index.html) and unpacking
them into FORREST_HOME/build/plugins.

Note that once the plugins have been installed, they will not need
to be installed again unless you delete them or wish to upgrade them.


BUILD FAILED
/usr/local/forrest/main/targets/plugins.xml:348: The following error occurred while executing this line:
/usr/local/forrest/main/targets/plugins.xml:365: The following error occurred while executing this line:
/usr/local/forrest/main/targets/plugins.xml:107: Unable to install required plugins. See error messages above for more detail.

Total time: 2 minutes 37 seconds



Re: error en 'forrest run'

2005-08-23 Thread Hugo Osorio
I have set the variables to the forrest.properties file

proxy.host=174.43.10.1
proxy.port=XXX

it worked..  :-|

2005/8/23, Hugo Osorio <[EMAIL PROTECTED]>:
Hello everybody... I have this error, and it is related to be impossible to download some plugins.xml

I have set the enviroment variables http_proxy & ftp_proxy to my
default proxy.. but it remains the same error, please.. what could I
do.?

thank you
---

zulu# forrest run
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /usr/local/forrest/main/forrest.build.xml

check-java-version:
This is apache-forrest-0.8-dev
Using Java 1.4 from /usr/local/jdk1.4.2/jre

init-props:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init-plugins:
Copying 1 file to /usr/local/forrest/site-author/build
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Installing plugin: org.apache.forrest.plugin.input.dtdx

check-plugin:
org.apache.forrest.plugin.input.dtdx is not available in the build dir

init-props:

echo-settings:

init-proxy:

fetch-plugins-descriptors:
Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
Error getting http://forrest.apache.org/plugins/plugins.xml to /usr/local/forrest/site-author/build/tmp/plugins-
1.xml
Fetching plugins descriptor: http://forrest.apache.org/plugins/whiteboard-plugins.xml

Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml to /usr/local/forrest/site-author/build/tmp/plugins-
2.xml

    WARNING
    ===

   
Unable to load plugin list number 1 from
http://forrest.apache.org/plugins/plugins.xml.
    Any
plugins identified in this plugin list cannot be installed
    automatially, see further errors below.

    WARNING
    ===

   
Unable to load plugin list number 2 from
http://forrest.apache.org/plugins/whiteboard-plugins.xml.
    Any
plugins identified in this plugin list cannot be installed
    automatially, see further errors below.

fetch-plugin:

unpack-plugin:

ERROR
=

Unable to retrieve the org.apache.forrest.plugin.input.dtdx plugin.
There may be more information about the reason for this in output
above. The usual cause is that Forrest has been unable to download
the plugin descriptor file that indicates where this plugin is to be
downloaded from. If you are behind a firewall then set the proxy.host
and proxy.port values in the forrest.properties file.

You may also like to check the value of the
forrest.plugins.descriptors property in the forrest.properties file
and ensure that the locations indicated by that value are accessible
(note there should be no spaces in this property).

If all else fails you can can manually install the plugins you need
by downloading the install bundles (see
http://forrest.apache.org/pluginDocs/plugins_0_70/index.html) and unpacking

them into FORREST_HOME/build/plugins.

Note that once the plugins have been installed, they will not need
to be installed again unless you delete them or wish to upgrade them.


BUILD FAILED
/usr/local/forrest/main/targets/plugins.xml:348: The following error occurred while executing this line:
/usr/local/forrest/main/targets/plugins.xml:365: The following error occurred while executing this line:
/usr/local/forrest/main/targets/plugins.xml:107: Unable to install required plugins. See error messages above for more detail.

Total time: 2 minutes 37 seconds





Re: error en 'forrest run'

2005-08-23 Thread Hugo Osorio
thank you very much..2005/8/23, Qin Ding <[EMAIL PROTECTED]>:

Hugo:

in forrest.properties,
un-comment
proxy.host=
proxy.port=

and put in your proxy host and port.
 After the change, it should download the files without issue.  I
experienced the same issue yesterday, after I made that change, I have
no issues at all.  Try it and good luck.

Qin


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.








    
Hugo Osorio 
@gmail.com>
08/23/2005 11:20 AM
Please respond to user
        
        To:
       user@forrest.apache.org
        cc:
       
        Subject:
       error en 'forrest run'


Hello everybody... I have this error, and it is related
to be impossible to download some plugins.xml

I have set the enviroment variables http_proxy & ftp_proxy to my default
proxy.. but it remains the same error, please.. what could I do.?

thank you
---

zulu# forrest run
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /usr/local/forrest/main/forrest.build.xml

check-java-version:
This is apache-forrest-0.8-dev
Using Java 1.4 from /usr/local/jdk1.4.2/jre

init-props:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init-plugins:
Copying 1 file to /usr/local/forrest/site-author/build
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Copying 1 file to /usr/local/forrest/site-author/build/tmp
Installing plugin: org.apache.forrest.plugin.input.dtdx

check-plugin:
org.apache.forrest.plugin.input.dtdx is not available in the build dir

init-props:

echo-settings:

init-proxy:

fetch-plugins-descriptors:
Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml

Getting: http://forrest.apache.org/plugins/plugins.xml

Error getting http://forrest.apache.org/plugins/plugins.xml

to /usr/local/forrest/site-author/build/tmp/plugins-1.xml
Fetching plugins descriptor: http://forrest.apache.org/plugins/whiteboard-plugins.xml

Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml

Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml

to /usr/local/forrest/site-author/build/tmp/plugins-2.xml

            WARNING
            ===

            Unable to load plugin list number
1 from http://forrest.apache.org/plugins/plugins.xml
.
            Any plugins identified in this
plugin list cannot be installed
            automatially, see further errors
below.

            WARNING
            ===

            Unable to load plugin list number
2 from http://forrest.apache.org/plugins/whiteboard-plugins.xml
.
            Any plugins identified in this
plugin list cannot be installed
            automatially, see further errors
below.

fetch-plugin:

unpack-plugin:

ERROR
=

Unable to retrieve the org.apache.forrest.plugin.input.dtdx plugin.
There may be more information about the reason for this in output
above. The usual cause is that Forrest has been unable to download
the plugin descriptor file that indicates where this plugin is to be
downloaded from. If you are behind a firewall then set the proxy.host
and proxy.port values in the forrest.properties file.

You may also like to check the value of the
forrest.plugins.descriptors property in the forrest.properties file
and ensure that the locations indicated by that value are accessible
(note there should be no spaces in this property).

If all else fails you can can manually install the plugins you need
by downloading the install bundles (see
http://forrest.apache.org/pluginDocs/plugins_0_70/index.html)

and unpacking
them into FORREST_HOME/build/plugins.

Note that once the plugins have been installed, they will not need
to be installed again unless you delete them or wish to upgrade them.


BUILD FAILED
/usr/local/forrest/main/targets/plugins.xml:348: The following error occurred
while executing this line:
/usr/local/forrest/main/targets/plugins.xml:365: The following error occurred
while executing this line:
/usr/local/forrest/main/targets/plugins.xml:107: Unable to install required
plugins. See error messages above for more detail.

Total time: 2 minutes 37 seconds