You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Matthias Wessendorf <ma...@matthias-wessendorf.de> on 2004/11/29 13:14:06 UTC

ANT-integration

Hi, 

I tried to use forrest inside of ant.
I followed the web-docs, but got this error:

BUILD FAILED: C:\java_libs\apache-forrest-0.6\build.xml:56:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\Test\build\etc\buil
d.number doesn't exist and new file can't be created.


Any ideas?


Best regards
Mit freundlichen Grüßen
--
Matthias Weßendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
> okay, yesterday my $FORREST_HOME was wrong
> 
> now it is correct. but on
> using forrest-task, there is no *new* site
> in my current Eclipse_Project.
> 
> Any ideas?

Not relevevant to your specific question, even less relevant if you need 
to use Forrest from an ANT script for a reason other than being being in 
Eclipse but...

Try using the Eclipse plugin, it is at an early stage and I recomend 
moving to the SVN version, however there is an early version in 0.6.

In the 0.6 distribution you will find it in the scratchpad directory. 
There is a readme in the directory telling you what to do with it, but 
if you are familiar with Eclipse and plugin development you will know 
what to do anyway.

Ross

Re: ANT-integration

Posted by Thorsten Scherler <th...@apache.org>.
El mié, 01-12-2004 a las 11:51, David Crossley escribió:
> Thorsten Scherler wrote:
> > 
> > Yeah, David is right. I think there are orange as "debug" color in the
> > default color profile. Trying to say if you do not have the <color
> > name="" .../> in your skinconf you will see this color. Can you send a
> > screenshot or tell me which class that is. Then I can fix that, like I
> > said it is likely a debug color (I used it to test the color profiling).
> 
> Then we could leave that Bug there to show us when
> people have not completely done the upgrade process.
> Just make an FAQ about it.
> 

Nice thought. :) 

I will put that in a FAQ entry.

> Matthias, it would be really nice to know what you
> changed to fix it.
> 

Hopefully I can add this information to the FAQ.

> --David
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
David,

I only changed the skin in forrest.properties

After that "forrest site" via commandline
builded my site without that ugly orange ;-)

There was nothing inside of my Ant-script,
since it doesn't work :-(

Regards,
Matthias

> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org] 
> Sent: Wednesday, December 01, 2004 11:51 AM
> To: user@forrest.apache.org
> Subject: Re: ANT-integration
> 
> 
> Thorsten Scherler wrote:
> > 
> > Yeah, David is right. I think there are orange as "debug" 
> color in the 
> > default color profile. Trying to say if you do not have the <color 
> > name="" .../> in your skinconf you will see this color. Can 
> you send a 
> > screenshot or tell me which class that is. Then I can fix 
> that, like I 
> > said it is likely a debug color (I used it to test the color 
> > profiling).
> 
> Then we could leave that Bug there to show us when
> people have not completely done the upgrade process.
> Just make an FAQ about it.
> 
> Matthias, it would be really nice to know what you
> changed to fix it.
> 
> --David
> 


Re: ANT-integration

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> 
> Yeah, David is right. I think there are orange as "debug" color in the
> default color profile. Trying to say if you do not have the <color
> name="" .../> in your skinconf you will see this color. Can you send a
> screenshot or tell me which class that is. Then I can fix that, like I
> said it is likely a debug color (I used it to test the color profiling).

Then we could leave that Bug there to show us when
people have not completely done the upgrade process.
Just make an FAQ about it.

Matthias, it would be really nice to know what you
changed to fix it.

--David

Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.

Matthias Wessendorf wrote:
>>Our pleasure :-)
>>
>>Just to let you know we havne't forgotten you. By coincidence 
>>one of the 
>>devs has just encountered exactly the same problem. We are working on 
>>finding the exact problem and fixing it.
> 
> 
> ah, cool! since forrest is cool :-)

Well in this case Rick Tessner is cool. He just posted a patch that 
should solve your problem. Do an SVN up, turn validation back on and let 
us know if it works.

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
> Our pleasure :-)
> 
> Just to let you know we havne't forgotten you. By coincidence 
> one of the 
> devs has just encountered exactly the same problem. We are working on 
> finding the exact problem and fixing it.

ah, cool! since forrest is cool :-)

> I'll let you know what it is when we find it. In the meantime I trust 
> the workaround is OK for you.

yes, sure! it is total ok for me.
thanks!!!

Regards,
Matthias

> Ross
> 


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
>>Forrest doesn't use Crimson for validation so you must have 
>>this Jar in 
>>your classpath from your orginal ANT script.
> 
> 
> I am using Eclipse3, I didn't changed there anything.
> But I added the JAR, that is suggested on f.a.o - website.
> 
> 
> 
>>I'm just off to a meeting so someone else will have to help sort this 
>>out, but in the meantime I can provide a workaround for you. Just 
>>deisable the validation (property in forrest.properties)
> 
> 
> Yeah! Thanks for your friendly help!

Our pleasure :-)

Just to let you know we havne't forgotten you. By coincidence one of the 
devs has just encountered exactly the same problem. We are working on 
finding the exact problem and fixing it.

I'll let you know what it is when we find it. In the meantime I trust 
the workaround is OK for you.

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
> Forrest doesn't use Crimson for validation so you must have 
> this Jar in 
> your classpath from your orginal ANT script.

I am using Eclipse3, I didn't changed there anything.
But I added the JAR, that is suggested on f.a.o - website.


> I'm just off to a meeting so someone else will have to help sort this 
> out, but in the meantime I can provide a workaround for you. Just 
> deisable the validation (property in forrest.properties)

Yeah! Thanks for your friendly help!

Regards,
Matthias

> Ross
> 


Re: ANT-integration

Posted by steve beattie <st...@yahoo.co.uk>.
Oh well, I tried to help early on but, this is way
past my current understanding of Forrest.

Maybe I can help next time.

Cheers, Steve.

 --- Ross Gardler <rg...@apache.org> wrote: 
> Matthias Wessendorf wrote:
> > BUILD FAILED:
> >
>
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
> > .xml:404: Following error occured while executing
> this line
> >
>
C:\java_libs\apache-forrest-0.6\src\core\targets\validate.xml:143:
> > Parser org.apache.crimson.parser.XMLReaderImpl
> doesn't recognize feature
> > http://apache.org/xml/features/validation/dynamic
> > Total time: 4 seconds
> 
> Forrest doesn't use Crimson for validation so you
> must have this Jar in 
> your classpath from your orginal ANT script.
> 
> I'm just off to a meeting so someone else will have
> to help sort this 
> out, but in the meantime I can provide a workaround
> for you. Just 
> deisable the validation (property in
> forrest.properties)
> 
> Ross
>  


		
___________________________________________________________ 
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to make your dream a reality. 
Get Yahoo! Mail www.yahoo.co.uk/10k

Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
> BUILD FAILED:
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
> .xml:404: Following error occured while executing this line
> C:\java_libs\apache-forrest-0.6\src\core\targets\validate.xml:143:
> Parser org.apache.crimson.parser.XMLReaderImpl doesn't recognize feature
> http://apache.org/xml/features/validation/dynamic
> Total time: 4 seconds

Forrest doesn't use Crimson for validation so you must have this Jar in 
your classpath from your orginal ANT script.

I'm just off to a meeting so someone else will have to help sort this 
out, but in the meantime I can provide a workaround for you. Just 
deisable the validation (property in forrest.properties)

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
mmm,

strange...

after I added the <ant/>-task etc inside of my build.xml
I got:

Buildfile:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
.xml
forrestBuild:
     [echo] Building website via Apache Forrest!
init-props:
     [echo] Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\forrest.pro
perties
     [echo] Loading user specific properties from C:\Dokumente und
Einstellungen\Administrator\forrest.properties
     [echo] Loading default properties from
C:\java_libs\apache-forrest-0.6\src\core\context\default-forrest.propert
ies
   [filter] Reading filters from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\tmp\p
rojfilters.properties
     [echo] -- Warning --
     [echo] Using skin "forrest-site" which is deprecated.
     [echo] Please migrate to one of the new skins listed in
forrest.properties.
     [echo] The skin that most likely resembles these ones is called
'pelt'.
echo-settings:
check-skin:
fetch-skins-descriptors:
fetch-skin:
unpack-skins:
init-skins:
init:
-prepare-classpath:
check-contentdir:
examine-proj:
validation-props:
validate-xdocs:
BUILD FAILED:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
.xml:404: Following error occured while executing this line
C:\java_libs\apache-forrest-0.6\src\core\targets\validate.xml:143:
Parser org.apache.crimson.parser.XMLReaderImpl doesn't recognize feature
http://apache.org/xml/features/validation/dynamic
Total time: 4 seconds



Regards,
Matthias

> -----Original Message-----
> From: Ross Gardler [mailto:rgardler@apache.org] 
> Sent: Wednesday, December 01, 2004 2:16 PM
> To: user@forrest.apache.org
> Subject: Re: ANT-integration
> 
> 
> Matthias Wessendorf wrote:
> {ANT build doesn't work, forrest site does)
> 
> Comparing the output of your ANT target to the /forrest site/ 
> target I 
> notice many differences, such as:
> 
> ANT:
> 
> Loading project specific properties from 
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\f
> orrest.properties
> 
> FORREST:
> 
> Loading project specific properties from 
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\b
> uild\forrest.properties
> 
> If we look at forrest.build.xml to see how these locations 
> are generated 
> we find:
> 
> <echo message="Loading project specific properties from 
> ${project.home}${/}forrest.properties" />
>      <property file="${project.home}/forrest.properties" />
> 
> So, the problem appears to be that ${project.home} is not set 
> correctly. 
> Looking at where it is set in forrest.build.xml we find the following 
> just a couple of lines before the above:
> 
> <property name="project.home" location="." />
> 
> Since your ant build file is not in the root of your project 
> directory 
> (you have it in your build directory), this line is setting 
> project home 
> incorrectly and results in the above errors.
> 
> SOLUTION
> ========
> 
> Your Ant target should be sopmething like:
> 
> 	<target name="init.props"
> 	<target name="forrestBuild" depends="init.props">
> 	  <echo>Building website via Apache Forrest!</echo>
> 	  <ant antfile="${env.FORREST_HOME}/forrest.build.xml">
>              <property name="project.home" location=".."/>
>            </ant>
> 	</target>
> 
> Please let me know if this works as I'll create that FAQ 
> entry from it.
> 
> Ross
> 


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
{ANT build doesn't work, forrest site does)

Comparing the output of your ANT target to the /forrest site/ target I 
notice many differences, such as:

ANT:

Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\forrest.properties

FORREST:

Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\forrest.properties

If we look at forrest.build.xml to see how these locations are generated 
we find:

<echo message="Loading project specific properties from 
${project.home}${/}forrest.properties" />
     <property file="${project.home}/forrest.properties" />

So, the problem appears to be that ${project.home} is not set correctly. 
Looking at where it is set in forrest.build.xml we find the following 
just a couple of lines before the above:

<property name="project.home" location="." />

Since your ant build file is not in the root of your project directory 
(you have it in your build directory), this line is setting project home 
incorrectly and results in the above errors.

SOLUTION
========

Your Ant target should be sopmething like:

	<target name="init.props"
	<target name="forrestBuild" depends="init.props">
	  <echo>Building website via Apache Forrest!</echo>
	  <ant antfile="${env.FORREST_HOME}/forrest.build.xml">
             <property name="project.home" location=".."/>
           </ant>
	</target>

Please let me know if this works as I'll create that FAQ entry from it.

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
thanks!

--------------------------------------------------------------------
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Dokumente und Einstellungen\Administrator>cd
C:\Programme\eclipse-SDK-3.0-win
32\eclipse\workspace\MyFaces

C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces>forrest
site

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


Buildfile: C:\java_libs\apache-forrest-0.6\src\core\forrest.build.xml

init-props:
Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\ecli
pse\workspace\MyFaces\forrest.properties
Loading user specific properties from C:\Dokumente und
Einstellungen\Administrat
or\forrest.properties
Loading default properties from
C:\java_libs\apache-forrest-0.6\src\core\context
\default-forrest.properties

-- Warning --
Using skin "forrest-site" which is deprecated.
Please migrate to one of the new skins listed in forrest.properties.
The skin that most likely resembles these ones is called 'pelt'.


validate-xdocs:
13 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
...validated sitemap

validate-skinchoice:
...validated existence of skin 'forrest-site'

site:
Deleting directory
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\
build\tmp\cocoon-work
Created dir:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\
tmp\cocoon-work

Copying the various non-generated resources to site.
Warnings will be issued if the optional project resources are not found.
This is often the case, because they are optional and so may not be
available.
Copying project resources and images to site ...
Warning:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\weba
pp\resources not found.
Copied 1 empty directory to 1 empty directory under
C:\Programme\eclipse-SDK-3.0
-win32\eclipse\workspace\MyFaces\build\site
Copying main skin images to site ...
Created dir:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\
site\skin\images
Copying 21 files to
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces
\build\site\skin\images
Copying 19 files to
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces
\build\site\skin\images
Copying project skin images to site ...
Warning:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\src\docume
ntation\skins\common\images not found.
Warning:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\src\docume
ntation\skins\forrest-site\images not found.
Copying main skin css and js files to site ...
Copying 8 files to
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\
build\site\skin
Copied 3 empty directories to 2 empty directories under
C:\Programme\eclipse-SDK
-3.0-win32\eclipse\workspace\MyFaces\build\site\skin
Copying 1 file to
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\b
uild\site\skin
Copying project skin css and js files to site ...
Warning:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\src\docume
ntation\skins\common not found.
Warning:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\src\docume
ntation\skins\forrest-site not found.
Finished copying the non-generated resources.
Now Cocoon will generate the rest ...

Static site will be generated at:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\site

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\tmp\b
rokenlin
ks.xml
for any broken links in the generated site.
------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------
Cannot find CatalogManager.properties
^                                    docs/
^                                    community/
* [1/24]    [24/26]   5.618s 13.2Kb  linkmap.html
* [2/23]    [0/0]     0.421s 9.1Kb   images/incubator-logo.gif
* [4/21]    [0/0]     0.04s  10.4Kb  images/logo.jpg
* [5/22]    [2/22]    1.542s 13.0Kb  community/mailinglists.html
* [7/20]    [0/22]    0.391s 11.2Kb  license.html
* [9/18]    [0/3]     0.54s  3.9Kb   skin/page.css
* [13/14]   [0/21]    0.57s  15.1Kb  community/contributors.html
* [14/13]   [0/22]    0.832s 11.4Kb  downloads.html
* [15/12]   [0/23]    0.54s  11.9Kb  docs/faq.html
* [19/8]    [0/22]    0.47s  16.0Kb  docs/jars.html
* [24/3]    [0/23]    0.771s 12.7Kb  index.html
* [25/2]    [0/22]    0.331s 11.3Kb  docs/sf.html
Total time: 0 minutes 20 seconds,  Site size: 143.170 Site pages: 12
------------------------------
Static site was successfully generated at:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\site
------------------------------


BUILD SUCCESSFUL
Total time: 30 seconds

C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces>


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.

Matthias Wessendorf wrote:
>>ANT task 
>>is failing (I feel a FAQ entry coming out of this one).
> 
> 
> :)
> 
> 
>>Can you provide the output of "forrest site" (snipping the repetitive 
>>bits, like page geeration reporting) and the output you get from your 
>>ANT file. The ant target that calls forrest will also be helpful.
> 
> 
> the output of "forrest site" is on windows,
> so I can't copy the commandline_output,
> AFAIK. Or is there a trick?

right click on the blue bar of the command window.
select edit -> mark
use mouse to highlight text
hit enter (this does a copy)
paste into email as usual

Ross

> 
> here the others:
> 
> build.xml:
> 	<property name="forrest.home" location="${env.FORREST_HOME}"/>
> 	<import file="${env.FORREST_HOME}/forrest.build.xml"/>
> ...
> 	<target name="forrestBuild" depends="site">
> 		<echo>Building website via Apache Forrest!</echo>
> 	</target>
> -----------------------
> output from ANT:
> 
> Buildfile:
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
> .xml
> init-props:
>      [echo] Loading project specific properties from
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\forre
> st.properties
>      [echo] Loading user specific properties from C:\Dokumente und
> Einstellungen\Administrator\forrest.properties
>      [echo] Loading default properties from
> C:\java_libs\apache-forrest-0.6\src\core\context\default-forrest.propert
> ies
>    [filter] Reading filters from
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
> \tmp\projfilters.properties
> echo-settings:
> check-skin:
> fetch-skins-descriptors:
> fetch-skin:
> unpack-skins:
> init-skins:
> init:
> -prepare-classpath:
> check-contentdir:
> examine-proj:
> validation-props:
> validate-xdocs:
> validate-skinconf:
> validate-sitemap:
> validate-skins-stylesheets:
> validate-skins:
> validate-skinchoice:
>      [echo] ...validated existence of skin 'pelt'
> validate-stylesheets:
> validate:
> site:
> forrestBuild:
>      [echo] Building website via Apache Forrest!
> BUILD SUCCESSFUL
> Total time: 3 seconds
> ---------------------------------
> 
> 
> 

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
> ANT task 
> is failing (I feel a FAQ entry coming out of this one).

:)

> Can you provide the output of "forrest site" (snipping the repetitive 
> bits, like page geeration reporting) and the output you get from your 
> ANT file. The ant target that calls forrest will also be helpful.

the output of "forrest site" is on windows,
so I can't copy the commandline_output,
AFAIK. Or is there a trick?

here the others:

build.xml:
	<property name="forrest.home" location="${env.FORREST_HOME}"/>
	<import file="${env.FORREST_HOME}/forrest.build.xml"/>
...
	<target name="forrestBuild" depends="site">
		<echo>Building website via Apache Forrest!</echo>
	</target>
-----------------------
output from ANT:

Buildfile:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
.xml
init-props:
     [echo] Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\forre
st.properties
     [echo] Loading user specific properties from C:\Dokumente und
Einstellungen\Administrator\forrest.properties
     [echo] Loading default properties from
C:\java_libs\apache-forrest-0.6\src\core\context\default-forrest.propert
ies
   [filter] Reading filters from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
\tmp\projfilters.properties
echo-settings:
check-skin:
fetch-skins-descriptors:
fetch-skin:
unpack-skins:
init-skins:
init:
-prepare-classpath:
check-contentdir:
examine-proj:
validation-props:
validate-xdocs:
validate-skinconf:
validate-sitemap:
validate-skins-stylesheets:
validate-skins:
validate-skinchoice:
     [echo] ...validated existence of skin 'pelt'
validate-stylesheets:
validate:
site:
forrestBuild:
     [echo] Building website via Apache Forrest!
BUILD SUCCESSFUL
Total time: 3 seconds
---------------------------------


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
> but Ant is also nothing generating :-(

OK, now we know Forrest is building we can return to why your ANT task 
is failing (I feel a FAQ entry coming out of this one).

Can you provide the output of "forrest site" (snipping the repetitive 
bits, like page geeration reporting) and the output you get from your 
ANT file. The ant target that calls forrest will also be helpful.

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.

> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten@apache.org] 
> > Did you see http://forrest.apache.org/docs/upgrading_06.html
> > 
> > Perhaps it is the <color> section of the skinconf.xml
> > 
> > Anyway, i have seen the problem before and i had
> > something wrong with upgrading my config.


ah... I see... :-)

btw. I changed something in properties-file
and *layout* nice again :-)

Thanks,

but Ant is also nothing generating :-(


> 
> Yeah, David is right. I think there are orange as "debug" 
> color in the default color profile. Trying to say if you do 
> not have the <color name="" .../> in your skinconf you will 
> see this color. Can you send a screenshot or tell me which 
> class that is. Then I can fix that, like I said it is likely 
> a debug color (I used it to test the color profiling).
> 
> > --David
> -- 
> thorsten
> 
> "Together we stand, divided we fall!" 
> Hey you (Pink Floyd)
> 


Re: ANT-integration

Posted by Thorsten Scherler <th...@apache.org>.
El mié, 01-12-2004 a las 11:13, David Crossley escribió:
> Matthias Wessendorf wrote:
> >>Lets start at the beginning. What happens if you run Forrest 
> >>site from 
> >>the command line in the directory which you seeded?
> > 
> > 
> > 
> > Thanks Ross,
> > 
> > well that worked, but my *style* is broken...
> > I got now an orange navigation-bar on the left... :-/
> > 
> > our *old* layout could be found at http://incubator.apache.org/myfaces/
> > 
> > thanks for the help
> 
> This sounds like a symptom of upgrading from
> forrest-0.5 but not upgrading all of the config.
> 
> Did you see http://forrest.apache.org/docs/upgrading_06.html
> 
> Perhaps it is the <color> section of the skinconf.xml
> 
> Anyway, i have seen the problem before and i had
> something wrong with upgrading my config.
> 

Yeah, David is right. I think there are orange as "debug" color in the
default color profile. Trying to say if you do not have the <color
name="" .../> in your skinconf you will see this color. Can you send a
screenshot or tell me which class that is. Then I can fix that, like I
said it is likely a debug color (I used it to test the color profiling).

> --David
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: ANT-integration

Posted by David Crossley <cr...@apache.org>.
Matthias Wessendorf wrote:
>>Lets start at the beginning. What happens if you run Forrest 
>>site from 
>>the command line in the directory which you seeded?
> 
> 
> 
> Thanks Ross,
> 
> well that worked, but my *style* is broken...
> I got now an orange navigation-bar on the left... :-/
> 
> our *old* layout could be found at http://incubator.apache.org/myfaces/
> 
> thanks for the help

This sounds like a symptom of upgrading from
forrest-0.5 but not upgrading all of the config.

Did you see http://forrest.apache.org/docs/upgrading_06.html

Perhaps it is the <color> section of the skinconf.xml

Anyway, i have seen the problem before and i had
something wrong with upgrading my config.

--David



RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
> Lets start at the beginning. What happens if you run Forrest 
> site from 
> the command line in the directory which you seeded?


Thanks Ross,

well that worked, but my *style* is broken...
I got now an orange navigation-bar on the left... :-/

our *old* layout could be found at http://incubator.apache.org/myfaces/

thanks for the help

> Ross
> 


Re: ANT-integration

Posted by Ross Gardler <rg...@apache.org>.
Matthias Wessendorf wrote:
> forrest seed is allready done.
> Yesterday I only installed 0.6 and migrating
> to ant.
> 
> here is the output ($PROJECT/build/build,xml):
 >
 >
 > Buildfile:
 > C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
 > .xml

...

 > forrest:
 >      [echo] Building website via Apache Forrest!
 > BUILD SUCCESSFUL
 > Total time: 19 seconds
 >
 > but in $PROJECT/build/site/
 > there is no *new* output...

Lets start at the beginning. What happens if you run Forrest site from 
the command line in the directory which you seeded?

Ross

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
Steve,

thanks for your replay.

forrest seed is allready done.
Yesterday I only installed 0.6 and migrating
to ant.

here is the output ($PROJECT/build/build,xml):


Buildfile:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
.xml
init-props:
     [echo] Loading project specific properties from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\forre
st.properties
     [echo] Loading user specific properties from C:\Dokumente und
Einstellungen\Administrator\forrest.properties
     [echo] Loading default properties from
C:\java_libs\apache-forrest-0.6\src\core\context\default-forrest.propert
ies
   [filter] Reading filters from
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\MyFaces\build\build
\tmp\projfilters.properties
echo-settings:
check-skin:
fetch-skins-descriptors:
fetch-skin:
unpack-skins:
init-skins:
init:
-prepare-classpath:
check-contentdir:
examine-proj:
validation-props:
validate-xdocs:
validate-skinconf:
validate-sitemap:
validate-skins-stylesheets:
validate-skins:
validate-skinchoice:
     [echo] ...validated existence of skin 'pelt'
validate-stylesheets:
validate:
site:
forrest:
     [echo] Building website via Apache Forrest!
BUILD SUCCESSFUL
Total time: 19 seconds

but in $PROJECT/build/site/
there is no *new* output...

did I missed something???

Regards,
Matthias




> -----Original Message-----
> From: steve beattie [mailto:stevanbt@yahoo.co.uk] 
> Sent: Tuesday, November 30, 2004 3:39 PM
> To: user@forrest.apache.org
> Subject: RE: ANT-integration
> 
> 
> Hi,
> You need to run 'forrest seed' ideally in a new
> directory - this should create a new site which will
> be 'seeded' by forrest.
> 
> What command are you running and what directory are
> you running it in?  Are there any error messages?
> 
> Thanks, Steve.
> 
>  --- Matthias Wessendorf
> <ma...@matthias-wessendorf.de> wrote: 
> > okay, yesterday my $FORREST_HOME was wrong
> > 
> > now it is correct. but on
> > using forrest-task, there is no *new* site
> > in my current Eclipse_Project.
> > 
> > Any ideas?
> > 
> > > -----Original Message-----
> > > From: Matthias Wessendorf
> > [mailto:mailings@matthias-wessendorf.de]
> > > Sent: Monday, November 29, 2004 1:14 PM
> > > To: user@forrest.apache.org
> > > Subject: ANT-integration
> > > 
> > > 
> > > Hi,
> > > 
> > > I tried to use forrest inside of ant.
> > > I followed the web-docs, but got this error:
> > > 
> > > BUILD FAILED:
> > C:\java_libs\apache-forrest-0.6\build.xml:56:
> > >
> >
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\Test\buil
> > > d\etc\buil
> > > d.number doesn't exist and new file can't be
> > created.
> > > 
> > > 
> > > Any ideas?
> > > 
> > > 
> > > Best regards
> > > Mit freundlichen Grüßen
> > > --
> > > Matthias Weßendorf
> > > Aechterhoek 18
> > > DE-48282 Emsdetten
> > > Germany
> > > 
> > 
> >  
> 
> 
> 		
> ___________________________________________________________ 
> Moving house? Beach bar in Thailand? New Wardrobe? Win £10k 
> with Yahoo! Mail to make your dream a reality. 
> Get Yahoo! Mail www.yahoo.co.uk/10k
> 


RE: ANT-integration

Posted by steve beattie <st...@yahoo.co.uk>.
Hi,
You need to run 'forrest seed' ideally in a new
directory - this should create a new site which will
be 'seeded' by forrest.

What command are you running and what directory are
you running it in?  Are there any error messages?

Thanks, Steve.

 --- Matthias Wessendorf
<ma...@matthias-wessendorf.de> wrote: 
> okay, yesterday my $FORREST_HOME was wrong
> 
> now it is correct. but on
> using forrest-task, there is no *new* site
> in my current Eclipse_Project.
> 
> Any ideas?
> 
> > -----Original Message-----
> > From: Matthias Wessendorf
> [mailto:mailings@matthias-wessendorf.de] 
> > Sent: Monday, November 29, 2004 1:14 PM
> > To: user@forrest.apache.org
> > Subject: ANT-integration
> > 
> > 
> > Hi, 
> > 
> > I tried to use forrest inside of ant.
> > I followed the web-docs, but got this error:
> > 
> > BUILD FAILED:
> C:\java_libs\apache-forrest-0.6\build.xml:56:
> >
>
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\Test\buil
> > d\etc\buil
> > d.number doesn't exist and new file can't be
> created.
> > 
> > 
> > Any ideas?
> > 
> > 
> > Best regards
> > Mit freundlichen Grüßen
> > --
> > Matthias Weßendorf
> > Aechterhoek 18
> > DE-48282 Emsdetten
> > Germany
> > 
> 
>  


		
___________________________________________________________ 
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to make your dream a reality. 
Get Yahoo! Mail www.yahoo.co.uk/10k

RE: ANT-integration

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
okay, yesterday my $FORREST_HOME was wrong

now it is correct. but on
using forrest-task, there is no *new* site
in my current Eclipse_Project.

Any ideas?

> -----Original Message-----
> From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de] 
> Sent: Monday, November 29, 2004 1:14 PM
> To: user@forrest.apache.org
> Subject: ANT-integration
> 
> 
> Hi, 
> 
> I tried to use forrest inside of ant.
> I followed the web-docs, but got this error:
> 
> BUILD FAILED: C:\java_libs\apache-forrest-0.6\build.xml:56:
> C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\Test\buil
> d\etc\buil
> d.number doesn't exist and new file can't be created.
> 
> 
> Any ideas?
> 
> 
> Best regards
> Mit freundlichen Grüßen
> --
> Matthias Weßendorf
> Aechterhoek 18
> DE-48282 Emsdetten
> Germany
>