Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

[Forrestbot] Override ignored

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


thorsten.scherler.ext at juntadeandalucia

Jul 29, 2004, 12:54 AM

Post #1 of 3 (15 views)
Permalink
[Forrestbot] Override ignored

Hello group,

I just wrote a local build file for the forrestbot.

I like to build one of my forrest documentations and deploy it to
another server.
No CVS or SVN.

I get an BUILD SUCCESSFUL but the site is not builded, neither deployed
to the other server! I included the build file and the log I got from
-v. I reckon the problem lies in "Override ignored".

Any thoughts what is going wrong?

TIA

king regards
thorsten

-build
file---------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project name="mysampleproject">
<property name="notify.email.host" value="localhost"/>
<property name="notify.email.to"
value="thorsten.scherler.ext [at] juntadeandalucia"/>
<property name="notify.administrator" value="Thorsten Scherler
&lt;thorsten [at] apache>"/>
<property name="getsrc.local.root-dir"
value="/home/thorsten/src/gatos-jabber"/>
<property name="deploy.scp.dest"
value="intanet-dev [at] intanet-de:/home/intranet/test"/>

<target name="notify" depends="notify.local, notify.email"/>
<target name="deploy" depends="deploy.scp"/>
<target name="getsrc" depends="getsrc.local"/>
<property environment="env"/>
<import
file="${env.FORREST_HOME}/../forrestbot/core/forrestbot.xml"/>
</project>

-LOG----------------------------------------------------------------------------------------
thorsten [at] gato:~/src/gatos-jabber$ forrest -v -f deployscp.xml

Apache Forrest. Run 'forrest -projecthelp' to list options

Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: deployscp.xml
Detected Java version: 1.4 in: /usr/local/j2sdk1.4.2_03/jre
Detected OS: Linux
parsing buildfile /home/thorsten/src/gatos-jabber/deployscp.xml with URI
= file:///home/thorsten/src/gatos-jabber/deployscp.xml
Project base dir set to: /home/thorsten/src/gatos-jabber
Loading Environment env.
Importing file
/opt/apache/forrest/src/core/bin/../../forrestbot/core/forrestbot.xml
from /home/thorsten/src/gatos-jabber/deployscp.xml
parsing buildfile /opt/apache/forrest/src/forrestbot/core/forrestbot.xml
with URI = file:///opt/apache/forrest/src/forrestbot/core/forrestbot.xml
Already defined in main or a previous import, define getsrc as
forrestbot.getsrc
Already defined in main or a previous import, define deploy as
forrestbot.deploy
Already defined in main or a previous import, define notify as
forrestbot.notify
Loading Environment ENV.
Override ignored for property forrest.home
Importing file /opt/apache/forrest/src/core/bin/../forrest.build.xml
from /opt/apache/forrest/src/forrestbot/core/forrestbot.xml
parsing buildfile /opt/apache/forrest/src/core/forrest.build.xml with
URI = file:///opt/apache/forrest/src/core/forrest.build.xml
Already defined in main or a previous import, define clean as forrest.clean
Importing file targets/validate.xml from
/opt/apache/forrest/src/core/forrest.build.xml
parsing buildfile /opt/apache/forrest/src/core/targets/validate.xml with
URI = file:///opt/apache/forrest/src/core/targets/validate.xml
Importing file targets/webapp.xml from
/opt/apache/forrest/src/core/forrest.build.xml
parsing buildfile /opt/apache/forrest/src/core/targets/webapp.xml with
URI = file:///opt/apache/forrest/src/core/targets/webapp.xml
Importing file targets/site.xml from
/opt/apache/forrest/src/core/forrest.build.xml
parsing buildfile /opt/apache/forrest/src/core/targets/site.xml with URI
= file:///opt/apache/forrest/src/core/targets/site.xml
Importing file targets/skins.xml from
/opt/apache/forrest/src/core/forrest.build.xml
parsing buildfile /opt/apache/forrest/src/core/targets/skins.xml with
URI = file:///opt/apache/forrest/src/core/targets/skins.xml
Importing file targets/context.xml from
/opt/apache/forrest/src/core/forrest.build.xml
parsing buildfile /opt/apache/forrest/src/core/targets/context.xml with
URI = file:///opt/apache/forrest/src/core/targets/context.xml
Importing file /opt/apache/forrest/src/forrestbot/core/getsrc.xml from
/opt/apache/forrest/src/forrestbot/core/forrestbot.xml
parsing buildfile /opt/apache/forrest/src/forrestbot/core/getsrc.xml
with URI = file:///opt/apache/forrest/src/forrestbot/core/getsrc.xml
Override ignored for property getsrc.local.root-dir
Importing file /opt/apache/forrest/src/forrestbot/core/build.xml from
/opt/apache/forrest/src/forrestbot/core/forrestbot.xml
parsing buildfile /opt/apache/forrest/src/forrestbot/core/build.xml with
URI = file:///opt/apache/forrest/src/forrestbot/core/build.xml
Importing file /opt/apache/forrest/src/forrestbot/core/deploy.xml from
/opt/apache/forrest/src/forrestbot/core/forrestbot.xml
parsing buildfile /opt/apache/forrest/src/forrestbot/core/deploy.xml
with URI = file:///opt/apache/forrest/src/forrestbot/core/deploy.xml
Importing file /opt/apache/forrest/src/forrestbot/core/notify.xml from
/opt/apache/forrest/src/forrestbot/core/forrestbot.xml
parsing buildfile /opt/apache/forrest/src/forrestbot/core/notify.xml
with URI = file:///opt/apache/forrest/src/forrestbot/core/notify.xml
Override ignored for property notify.administrator
Override ignored for property deploy.scp.dest
Override ignored for property notify.email.host
Override ignored for property notify.email.to

BUILD SUCCESSFUL
Total time: 2 seconds


dave at brondsema

Jul 29, 2004, 4:18 AM

Post #2 of 3 (15 views)
Permalink
Re: [Forrestbot] Override ignored [In reply to]

On Thu, 29 Jul 2004, Thorsten Scherler wrote:

> Hello group,
>
> I just wrote a local build file for the forrestbot.
>
> I like to build one of my forrest documentations and deploy it to
> another server.
> No CVS or SVN.
>
> I get an BUILD SUCCESSFUL but the site is not builded, neither deployed
> to the other server! I included the build file and the log I got from
> -v. I reckon the problem lies in "Override ignored".
>

Override ignored is normal. Ant properties are immutable, so your values
get set first and then the forrestbot *attempts* to override them with the
defaults. But since yours were set first, the defaults do not override.

> Any thoughts what is going wrong?
>

Add default="main" to the <project> tag. Or when you run, specify the
workstage you want to execute (main does them all).

I will add this to the documentation sample.

--
Dave Brondsema : dave [at] brondsema
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org


thorsten.scherler.ext at juntadeandalucia

Jul 29, 2004, 4:51 AM

Post #3 of 3 (15 views)
Permalink
Re: [Forrestbot] Override ignored [In reply to]

Jupp, that did the trick!

Cheers a million!
King regards
thorsten

Dave Brondsema wrote:

>On Thu, 29 Jul 2004, Thorsten Scherler wrote:
>
>
>
>>Hello group,
>>
>>I just wrote a local build file for the forrestbot.
>>
>>I like to build one of my forrest documentations and deploy it to
>>another server.
>>No CVS or SVN.
>>
>>I get an BUILD SUCCESSFUL but the site is not builded, neither deployed
>>to the other server! I included the build file and the log I got from
>>-v. I reckon the problem lies in "Override ignored".
>>
>>
>>
>
>Override ignored is normal. Ant properties are immutable, so your values
>get set first and then the forrestbot *attempts* to override them with the
>defaults. But since yours were set first, the defaults do not override.
>
>
>
>>Any thoughts what is going wrong?
>>
>>
>>
>
>Add default="main" to the <project> tag. Or when you run, specify the
>workstage you want to execute (main does them all).
>
>I will add this to the documentation sample.
>
>
>

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.