You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Ray Allis <ra...@boeing.com> on 2005/08/02 22:07:29 UTC

Re: Building Lenya 1.4 under Solaris: taskdef class XConfToolTaskcannot be found

Michael Wechner wrote:

> the build process should actually fail if no Cocoon source dir exists.
> Also within the build.properties the branch of Cocoon 2.1.X is listed,
> so I am not sure why you didn't become aware of this. I don't want
> criticize you, but rather learn what we need to do to make this more 
> clear.
>
> Any feedack welcome ... 


Glad you asked ... ;-)  My problem was ( 
http://lenya.apache.org/1_4/installation/source_version.html ) where it 
says:

"In 1.4, the Lenya build process takes care of building Cocoon as well."

That is not quite accurate.  You MUST build cocoon first, before 
building lenya.  The lenya build will fail because the cocoon anttask 
.class  files do not exist yet.

BUILD FAILED
/export/home/ray/src/lenya/build.xml:49: The following error occurred 
while executing this line:
/export/home/ray/src/lenya/src/targets/properties-build.xml:114: taskdef 
class XConfToolTask cannot be found

After you build cocoon, lenya will build cocoon again ;-).
--
Ray Allis wrote:

>> I don't understand how this is supposed to work
>
>> Here is lenya: 5346629 Jul 23 14:03 apache-lenya-1.4alpha1-src.tar.gz
>> Here is cocoon: 41950734 Jul 24 22:08 cocoon-2.1.7-src.tar.gz
>>
>> ... unpacked into $HOME/src
>> 586     gzip -dc ../cocoon-2.1.7-src.tar.gz | gtar xvf -
>>
>> Here is the find on the result:
>> 588 metaphor /export/home/ray/src:find . -name anttasks
>> ./lenya/tools/anttasks
>> ./cocoon-2.1.7/tools/src/anttasks
>> 589 metaphor /export/home/ray/src:
>>
>> There is no cocoon/tools/anttasks, and tools/src/anttasks contains no 
>> class files.
>>
>> ... so this error is exactly correct, isn't it?
>>
>> 595 metaphor /export/home/ray/src/lenya:./build.sh
>> Buildfile: build.xml
>>
>> BUILD FAILED
>> /export/home/ray/src/lenya/build.xml:49: The following error occurred 
>> while executing this line:
>> /export/home/ray/src/lenya/src/targets/properties-build.xml:114: 
>> taskdef class XConfToolTask cannot be found
>>
>> Total time: 4 seconds
>> -- 
>> In fact, there is no XConfToolTask.class anywhere in the cocoon 
>> directory.  So, how do I fix this?
>> -- 
>> Ray Allis
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Building Lenya 1.4 under Solaris: taskdef class XConfToolTaskcannot be found

Posted by Oliver Schalch <ol...@wyona.com>.
Ray Allis wrote:

> "In 1.4, the Lenya build process takes care of building Cocoon as well."

This is not only wrong on Solaris, I noticed it also on other OS.
Anyway the install documentation for 1.4.x need some more tweaking,
as soon I'm more familiar with 1.4.x I'll look at it.

--
Oliver


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org