I've actually had the same problem and tried re-installing/downloading using svn and never got it to work.

I'm also using Windows xp2 and trying to get Lenya 1.4

It seems most people not using Windows on this list, there may be a problem on Windows machines,

just a guess though.

Tim


Gav.... wrote:

-----Original Message-----
From: Michael Wechner [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 April 2006 4:52 PM
To: [email protected]
Subject: Re: Build Fails

Gav... wrote:

<quote who="Jim Douglas">


I downloaded to my Linux box from subversion and I can't get the
./build.sh
to work.

I get this error,
Building jar
:/root/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-
dev/blocks/captcha-block.jar
BUILD FAILED
/root/lenya-1.4.x/src/targets/init-build.xml:47 : The following error
occurred while executing this line:
/root/lenya-1.4.x/src/targets/init-build.xml:56 : The following error
occurred while executing this line:
/root/lenya-1.4.x/src/externals/cocoon_2_1_x/tools/targets/compile-
build.xml:254
: The following error occurred while executing this line:



java.lang.NoClassDefFoundError: org/aopache/xpath/XPathAPI


it seems like Cocoon was broken ...

I just did another update and a fresh/clean install:

svn up
./build.sh clean-all
./configure.sh
./build.sh
./lenya.sh

HTH

Michi

Thanks for the reply, it has not worked for me however.
I did as above but again got the same java.lang.NoClassDefFoundError:
org/apache/xpath/XPathAPI error and then the Build Fails at that point.

So I deleted the whole thing and re-downloaded the whole lot from SVN and
did a configure first and then build  - with the same failure results.



So people know my environment and steps I did :-\

Windows XP SP2.

1) - I downloaded using svn co http://svn.apache.org/repos/asf/lenya/trunk
lenya-1.4.x and this created the lenya-1.4.x directory directly off off root
D: Drive.

2) - I then executed configure.bat. I accepted all the defaults by answering
'L' to every question. This creates a 'local.build.properties' file in the
$LENYA_HOME.

3) - It then says to " Copy $LENYA_HOME/src/cocoon/local.blocks.properties
and local.build.properties to $COCOON_HOME."

So I did what it says, but what it says is ambiguous. Copy
local.block.properties from /src/cocoon into $COCOON_HOME, fine did that.
Next I copied the local.build.properties also from /src/cocoon/ into
$COCOON_HOME. But what about the 'other' local.build.properties file we just
created into $LENYA_HOME ??

4) - I then did build.bat, and this is where I am at, with above build
failure.

What to do next?

Thanks

Gav...


Just noticed this probable path error : org/aopache/
.............................................^.....

Extra 'o' in there, will check if that was in my failure too when
I get back.

Gav...



I have followed the directions available, suggestions greatly
appreciated...

Is ther a WAR file availabe for Lenya 1.4.x?


Jim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 8/04/2006



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to