You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Paloma Gomez <pa...@gmail.com> on 2006/05/26 13:50:02 UTC
Lenya 1.4.x and eclipse: build fails
Hi all,
I'm trying to set up Lenya 1.4 in Eclipse but I haven't succeeded so
far. I've made a fresh checkout this morning and then I've run ant
eclipse-project in the externals/cocoon_2_1_x directory but the build
fails.
I get the following message:
[quote]
init:
[copy] Copying 1 file to
/usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp
cocoon-block-fop-eclipseclasspath:
BUILD FAILED
/usr/local/lenya-1.4.x/externals/cocoon_2_1_x/tools/targets/ide-build.xml:41:
The following error occurred while executing this line:
/usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp/blocks-eclipse.xml:219:
The following error occurred while executing this line:
/usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp/blocks-eclipse.xml:30:
Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[/quote]
I don't know if this block is really necessary. Is there a way to
exclude it from the build?. Any hints would be appreciated.
Thanks,
Paloma
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Lenya 1.4.x and eclipse: build fails
Posted by Paloma Gomez <pa...@gmail.com>.
Thank you, that was it!
Cheers,
Paloma
--
Paloma Gomez
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Lenya 1.4.x and eclipse: build fails
Posted by Renaud Richardet <re...@wyona.com>.
Paloma Gomez wrote:
> Hi all,
>
> I'm trying to set up Lenya 1.4 in Eclipse but I haven't succeeded so
> far. I've made a fresh checkout this morning and then I've run ant
> eclipse-project in the externals/cocoon_2_1_x directory but the build
> fails.
> I get the following message:
> [quote]
> init:
> [copy] Copying 1 file to
> /usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp
>
>
> cocoon-block-fop-eclipseclasspath:
>
> BUILD FAILED
> /usr/local/lenya-1.4.x/externals/cocoon_2_1_x/tools/targets/ide-build.xml:41:
>
> The following error occurred while executing this line:
> /usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp/blocks-eclipse.xml:219:
>
> The following error occurred while executing this line:
> /usr/local/lenya-1.4.x/externals/cocoon_2_1_x/build/cocoon-2.1.10-dev/temp/blocks-eclipse.xml:30:
>
> Problem: failed to create task or type if
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
> place.
> [/quote]
>
> I don't know if this block is really necessary. Is there a way to
> exclude it from the build?. Any hints would be appreciated.
Your local ant is missing an additional "if" custom task. You can:
1) install it locally
2) run ./build.sh eclipse-project, that uses lenya's ant
HTH,
Renaud
>
> Thanks,
> Paloma
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Renaud Richardet
COO America
Wyona Inc. - Open Source Content Management - Apache Lenya
office +1 857 776-3195 mobile +1 617 230 9112
renaud.richardet <at> wyona.com http://www.wyona.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org