You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2004/12/07 20:32:40 UTC

lenya gump build is close..

http://brutus.apache.org/gump/public/lenya/lenya/gump_work/build_lenya_lenya.html

BUILD FAILED
/home/gump/workspaces2/public/workspace/lenya/src/targets/init-build.xml:88: 
The following error occurred while executing this line:
java.io.FileNotFoundException: 
/usr/local/gump/public/workspace/cocoon/build/cocoon-07122004/build.xml 
(No such file or directory)

it seems gump is set to look for cocoon.src.dir in a directory that only 
has the build, not the original source tree (including build.xml).

the lenya build triggers the cocoon build process (with lenya-supplied 
local.build.properties and local.block.properties) to make sure cocoon 
is built with the components lenya needs.

is it possible to set cocoon.src.dir to the actual cocoon source tree 
for that day?

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: lenya gump build is close..

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 12 Dec 2004, Gregor J. Rothfuss <gr...@apache.org> wrote:
> Gregor J. Rothfuss wrote:
> 
>>>> the lenya build triggers the cocoon build process (with
>>>> lenya-supplied local.build.properties and local.block.properties)
>>>> to make sure cocoon is built with the components lenya needs.
> 
> i changed the lenya project descriptor to have the necessary cocoon
> blocks

Looks fine, they are on the build classpath.

I tweaked the property definition a little to say what I think you
intended it to say.

Looking at the current build errors, the build file still wants a
reference to Cocoon?  Is this because the definition of
gump.skipcocoonbuild didn't work as expected or do we need to add some
more magic?

The build directory in Gump's Cocoon workspace would be

<property name="your.choice" project="cocoon" reference="home"/>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: lenya gump build is close..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Gregor J. Rothfuss wrote:

>>> the lenya build triggers the cocoon build process (with
>>> lenya-supplied local.build.properties and local.block.properties) to
>>> make sure cocoon is built with the components lenya needs.

i changed the lenya project descriptor to have the necessary cocoon 
blocks and added a property to allow the gump build to sidestep building 
cocoon. i hope this gets us closer..

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: lenya gump build is close..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Gregor J. Rothfuss wrote:

>>> the lenya build triggers the cocoon build process (with
>>> lenya-supplied local.build.properties and local.block.properties) to
>>> make sure cocoon is built with the components lenya needs.

i changed the lenya project descriptor to have the necessary cocoon 
blocks and added a property to allow the gump build to sidestep building 
cocoon. i hope this gets us closer..

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: lenya gump build is close..

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 08 Dec 2004, Gregor J. Rothfuss <gr...@apache.org> wrote:

> ok, i will take a look at that. it might be enough to replace the
> cocoon dependency by the appropriate cocoon-block dependencies.

That would be great.

> in addition, i presume there would have to be a special gump target
> that assumes that the necessary cocoon block jars are on the
> classpath, and attempts the build that way.

This is not strictly necessary since Gump knows of ways to make Ant
ignore all <classpath> settings you add.  It may be necessary if there
is no other way to prevent compiling Cocoon.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: lenya gump build is close..

Posted by Antonio Gallardo <ag...@agssa.net>.
On Mie, 8 de Diciembre de 2004, 16:32, Gregor J. Rothfuss dijo:
> Stefan Bodewig wrote:
>>
>>>the lenya build triggers the cocoon build process (with
>>>lenya-supplied local.build.properties and local.block.properties) to
>>>make sure cocoon is built with the components lenya needs.
>>
>>
>> Where would the results of that Cocoon build end up?  Inside of the
>> original Cocoon source tree or inside of the lenya source tree?
>>
>> The "Gump way" would be that lenya depends on the Cocoon component
>> builds it needs and doesn't try to build them at all.
>>
>> Stefan
>
> ok, i will take a look at that. it might be enough to replace the cocoon
> dependency by the appropriate cocoon-block dependencies.
>
> in addition, i presume there would have to be a special gump target that
> assumes that the necessary cocoon block jars are on the classpath, and
> attempts the build that way.
>
> did i get that right?

Yes.

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: lenya gump build is close..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Stefan Bodewig wrote:
> 
>>the lenya build triggers the cocoon build process (with
>>lenya-supplied local.build.properties and local.block.properties) to
>>make sure cocoon is built with the components lenya needs.
> 
> 
> Where would the results of that Cocoon build end up?  Inside of the
> original Cocoon source tree or inside of the lenya source tree?
> 
> The "Gump way" would be that lenya depends on the Cocoon component
> builds it needs and doesn't try to build them at all.
> 
> Stefan

ok, i will take a look at that. it might be enough to replace the cocoon 
dependency by the appropriate cocoon-block dependencies.

in addition, i presume there would have to be a special gump target that 
assumes that the necessary cocoon block jars are on the classpath, and 
attempts the build that way.

did i get that right?

-gregor

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: lenya gump build is close..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Stefan Bodewig wrote:
> 
>>the lenya build triggers the cocoon build process (with
>>lenya-supplied local.build.properties and local.block.properties) to
>>make sure cocoon is built with the components lenya needs.
> 
> 
> Where would the results of that Cocoon build end up?  Inside of the
> original Cocoon source tree or inside of the lenya source tree?
> 
> The "Gump way" would be that lenya depends on the Cocoon component
> builds it needs and doesn't try to build them at all.
> 
> Stefan

ok, i will take a look at that. it might be enough to replace the cocoon 
dependency by the appropriate cocoon-block dependencies.

in addition, i presume there would have to be a special gump target that 
assumes that the necessary cocoon block jars are on the classpath, and 
attempts the build that way.

did i get that right?

-gregor

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: lenya gump build is close..

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 07 Dec 2004, Gregor J. Rothfuss <gr...@apache.org> wrote:

> the lenya build triggers the cocoon build process (with
> lenya-supplied local.build.properties and local.block.properties) to
> make sure cocoon is built with the components lenya needs.

Where would the results of that Cocoon build end up?  Inside of the
original Cocoon source tree or inside of the lenya source tree?

The "Gump way" would be that lenya depends on the Cocoon component
builds it needs and doesn't try to build them at all.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org