You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Udo Wendler <ud...@web.de> on 2005/06/15 18:54:53 UTC

build.sh fail

Hallo,

my forrest version 0.6 is working wonderful. Now I try 0.7 (Rev: 190747  
from
http://svn.apache.org/repos/asf/forrest/trunk). When I do

     ./build.sh clean

in forrest/main it works, but when I do

     ./build.sh

it fail. Can you tell me why? My Computer is an Apple with MacOSX  
10.3.9. The Error is:

> Using classpath:  
> ../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta- 
> regexp-1.3.jar:../lib/endorsed/xalan-2.6.1-dev-20041008T0304.jar:../ 
> lib/endorsed/xercesImpl-2.6.2.jar:../lib/endorsed/xml-apis.jar
> Buildfile: build.xml
>
> init:
> Created dir: /Users/udo/forrest/build
>
>       --------------------------------------------------------------
>
>       Using Apache Ant version 1.6.2 compiled on July 16 2004
>       Build file /Users/udo/forrest/main/build.xml
>       Use 'build.[sh|bat] -projecthelp' to see other options.
>       Build system home /Users/udo/forrest/tools/ant
>       Build number 0
>       Project Name Forrest build file
>       Java Version 1.4
>       Timestamp 200506151703
>       This is: apache-forrest 0.7
>
>       --------------------------------------------------------------
>
>
> compile:
> Created dir: /Users/udo/forrest/build/classes
> Compiling 54 source files to /Users/udo/forrest/build/classes
> /Users/udo/forrest/main/java/org/apache/cocoon/components/modules/ 
> input/lm/AbstractNode.java:75:  
> getResolver(java.lang.String,org.apache.avalon.framework.service.Servic 
> eManager) in  
> org.apache.cocoon.components.treeprocessor.variables.VariableResolverFa 
> ctory cannot be applied to  
> (java.lang.String,org.apache.avalon.framework.component.WrapperComponen 
> tManager)
>                     VariableResolverFactory.getResolver(name, new  
> WrapperComponentManager(m_manager)),
>                                            ^

<snip/>

> /Users/udo/forrest/main/java/org/apache/cocoon/transformation/ 
> XPathTransformer.java:106: cannot resolve symbol
> symbol  : method compose  
> (org.apache.avalon.framework.component.ComponentManager)
> location: class org.apache.cocoon.transformation.AbstractDOMTransformer
>         super.compose(manager);
>              ^
> 6 errors
> 3 warnings
>
> BUILD FAILED
> /Users/udo/forrest/main/build.xml:337: Compile failed; see the  
> compiler error output for details.
>
> Total time: 17 seconds


Re: build.sh fail

Posted by Udo Wendler <ud...@web.de>.
Am 16. Jun 2005 um 01:31 schrieb Børre Gaup:

> LANG=C ./build.sh

I tested it, but it has no affect. I think I found my error.
Udo Wendler


Re: build.sh fail

Posted by Børre Gaup <bo...@skolelinux.no>.
Gaskavahkku, geassemánu 15. b.  2005 18:54, Udo Wendler čálii:
> Hallo,
>
> my forrest version 0.6 is working wonderful. Now I try 0.7 (Rev: 190747
> from
> http://svn.apache.org/repos/asf/forrest/trunk). When I do
>
>      ./build.sh clean
>
> in forrest/main it works, but when I do
>
>      ./build.sh
>
> it fail. Can you tell me why? My Computer is an Apple with MacOSX
>
Building forrest using Linux/PowerPC, IBM java 1.4.2 and a UTF-8 locale, I 
have to issue the following command to make forrest build:
LANG=C ./build.sh

I don't know if this solves your issue, though.

Regards,
Børre Gaup

Re: build.sh fail

Posted by Udo Wendler <ud...@web.de>.
Am 16. Jun 2005 um 12:18 schrieb Thorsten Scherler:
>
> I reckon Udo does not have any problems either with head anymore. Like
> you said that means it will be fixed for the release as well and Udo 
> can
> use the official 0.7 release.

I think it was my error. I had copy the files to another place. Now I
use the trunk files directly and it works :-)
Udo Wendler


Re: build.sh fail

Posted by Thorsten Scherler <th...@apache.org>.
On Thu, 2005-06-16 at 20:00 +1000, David Crossley wrote:
> Udo Wendler wrote:
...
> > Now I get it from: svn co 
> > 'http://svn.apache.org/repos/asf/forrest/branches/forrest_07_branch/' 
> > forrest
> > I hope this is the right. It works fine :-)
> > 
> > 
...

> I still have no such problems with the current trunk.
> All that i can suggest is that you do a fresh checkout of trunk.
> 
> -David

I reckon Udo does not have any problems either with head anymore. Like
you said that means it will be fixed for the release as well and Udo can
use the official 0.7 release.

salu2
-- 
thorsten

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


Re: build.sh fail

Posted by David Crossley <cr...@apache.org>.
Udo Wendler wrote:
> schrieb David Crossley:
> 
> >I am also on Mac OS X 10.3.9 and i get no such problems. The build
> >is fine for me. What is your version of Java? Here is mine:
> >
> >[site-author]$ java -version
> >java version "1.4.2_05"
> >Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4)
> >Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
> 
> It's exactly the same java.
> 
> >Have you changed anything in the sources? Please do this to be sure ...
> 
> I changed nothing.
> 
> >cd /Users/udo/forrest
> >svn status --no-ignore
> >... it should reveal only the top-level "build" directory as extra.
> 
> Its OK.
> 
> >Really we would prefer people to be testing the "release candidate"
> >as requested rather than testing the current trunk.
> 
> I only followed http://forrest.apache.org/0.7/docs/build.html
> 
> Now I get it from: svn co 
> 'http://svn.apache.org/repos/asf/forrest/branches/forrest_07_branch/' 
> forrest
> I hope this is the right. It works fine :-)
> 
> I am interesting on 0.7 not the absolute latest trunk. I am Happy. 
> Thanks for the help.
> Udo Wendler

The final release is made from the trunk on Friday (as long as there
are no major issues) and the changes are merged into the branch.

I still have no such problems with the current trunk.
All that i can suggest is that you do a fresh checkout of trunk.

-David

Re: build.sh fail

Posted by Udo Wendler <ud...@web.de>.
Am 16. Jun 2005 um 02:18 schrieb David Crossley:

> I am also on Mac OS X 10.3.9 and i get no such problems. The build
> is fine for me. What is your version of Java? Here is mine:
>
> [site-author]$ java -version
> java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4)
> Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)

It's exactly the same java.

> Have you changed anything in the sources? Please do this to be sure ...

I changed nothing.

> cd /Users/udo/forrest
> svn status --no-ignore
> ... it should reveal only the top-level "build" directory as extra.

Its OK.

> Really we would prefer people to be testing the "release candidate"
> as requested rather than testing the current trunk.

I only followed http://forrest.apache.org/0.7/docs/build.html

Now I get it from: svn co 
'http://svn.apache.org/repos/asf/forrest/branches/forrest_07_branch/' 
forrest
I hope this is the right. It works fine :-)

I am interesting on 0.7 not the absolute latest trunk. I am Happy. 
Thanks for the help.
Udo Wendler


Re: build.sh fail

Posted by David Crossley <cr...@apache.org>.
Udo Wendler wrote:
> Hallo,
> 
> my forrest version 0.6 is working wonderful. Now I try 0.7 (Rev: 190747  
> from
> http://svn.apache.org/repos/asf/forrest/trunk). When I do
> 
>     ./build.sh clean
> 
> in forrest/main it works, but when I do
> 
>     ./build.sh
> 
> it fail. Can you tell me why? My Computer is an Apple with MacOSX  
> 10.3.9. The Error is:

I am also on Mac OS X 10.3.9 and i get no such problems. The build
is fine for me. What is your version of Java? Here is mine:

[site-author]$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)

Have you changed anything in the sources? Please do this to be sure ...
cd /Users/udo/forrest
svn status --no-ignore
... it should reveal only the top-level "build" directory as extra.
If you had got past the build stage and 

I get something different to you at  the "compile" target below.
I get ...
compile:
Created dir: /svn/asf/forrest/build/classes
Compiling 31 source files to /svn/asf/forrest/build/classes

Really we would prefer people to be testing the "release candidate"
as requested rather than testing the current trunk.

-David

> >Using classpath:  
> >../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta- 
> >regexp-1.3.jar:../lib/endorsed/xalan-2.6.1-dev-20041008T0304.jar:../ 
> >lib/endorsed/xercesImpl-2.6.2.jar:../lib/endorsed/xml-apis.jar
> >Buildfile: build.xml
> >
> >init:
> >Created dir: /Users/udo/forrest/build
> >
> >      --------------------------------------------------------------
> >
> >      Using Apache Ant version 1.6.2 compiled on July 16 2004
> >      Build file /Users/udo/forrest/main/build.xml
> >      Use 'build.[sh|bat] -projecthelp' to see other options.
> >      Build system home /Users/udo/forrest/tools/ant
> >      Build number 0
> >      Project Name Forrest build file
> >      Java Version 1.4
> >      Timestamp 200506151703
> >      This is: apache-forrest 0.7
> >
> >      --------------------------------------------------------------
> >
> >
> >compile:
> >Created dir: /Users/udo/forrest/build/classes
> >Compiling 54 source files to /Users/udo/forrest/build/classes
> >/Users/udo/forrest/main/java/org/apache/cocoon/components/modules/ 
> >input/lm/AbstractNode.java:75:  
> >getResolver(java.lang.String,org.apache.avalon.framework.service.Servic 
> >eManager) in  
> >org.apache.cocoon.components.treeprocessor.variables.VariableResolverFa 
> >ctory cannot be applied to  
> >(java.lang.String,org.apache.avalon.framework.component.WrapperComponen 
> >tManager)
> >                    VariableResolverFactory.getResolver(name, new  
> >WrapperComponentManager(m_manager)),
> >                                           ^
> 
> <snip/>
> 
> >/Users/udo/forrest/main/java/org/apache/cocoon/transformation/ 
> >XPathTransformer.java:106: cannot resolve symbol
> >symbol  : method compose  
> >(org.apache.avalon.framework.component.ComponentManager)
> >location: class org.apache.cocoon.transformation.AbstractDOMTransformer
> >        super.compose(manager);
> >             ^
> >6 errors
> >3 warnings
> >
> >BUILD FAILED
> >/Users/udo/forrest/main/build.xml:337: Compile failed; see the  
> >compiler error output for details.
> >
> >Total time: 17 seconds