You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Antoine Lévy-Lambert <an...@antbuild.com> on 2004/03/01 23:32:21 UTC

[Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Can someone please check in the patch of Stefan ?

Thanks in advance.

Antoine

-------- Original Message --------
Subject: 	[GUMP][PATCH] this should make avalon compile in Gump
Date: 	Mon, 01 Mar 2004 15:26:00 +0100
From: 	Stefan Bodewig <bo...@apache.org>
Reply-To: 	Gump code and data <ge...@gump.apache.org>
CC: 	general@gump.apache.org



Hi,

when I looked at the difference between the builds on LSD and those on
gump.covalent.net I was simply searching for the wrong thing, sorry.
Whether framework/target/classes exists at the start of compilation or
not is completely irrelevant as there is never anything getting
compiled to that directory anyway.

The rsync command used by "traditional" Gump doesn't remove
directories that are listed in .cvsignore and thus compiled the tests
against some old classes that have been compiled before you
restructured your build system.  LSD either uses a different rsync
command line or simply has been set up aftre you've changed your
setup.

It turns out that none of the directories listed in <work> entries
actually gets used.  And the ones that are really needed are missing.

The appended patch should fix the problems and enable avalon's build
inside Gump on LSD.

Cheers

        Stefan

--- cache/http___cvs.apache.org_viewcvs.cgi__checkout__avalon_buildsystem_gump-integration_project_avalon.xml.xml	Mon Mar  1 09:19:56 2004
+++ project/avalon.xml	Mon Mar  1 15:16:01 2004
@@ -12,8 +12,11 @@
         because we go from 1 to multiple jars. This is a copied
         descriptor. -->
 
+        <mkdir dir="framework/api/target/classes"/>
+        <mkdir dir="framework/api/target/test-classes"/>
+        <mkdir dir="framework/impl/target/classes"/>
+        <mkdir dir="framework/impl/target/test-classes"/>
         <package>org.apache.avalon</package>
-        <mkdir dir="framework/target/classes"/>
         <ant basedir="framework" target="dist">
             <property name="project.version" value="@@DATE@@"/>
         </ant>
@@ -26,14 +29,14 @@
         <depend project="jakarta-log4j" runtime="true"/>
         <depend project="avalon-logkit" runtime="true"/>
 
-        <work nested="framework/target/classes"/>
-        <work nested="framework/target/api-classes"/>
-        <work nested="framework/target/impl-classes"/>
-        <work nested="framework/target/test-classes"/>
+        <work nested="framework/api/target/classes"/>
+        <work nested="framework/api/target/test-classes"/>
+        <work nested="framework/impl/target/classes"/>
+        <work nested="framework/impl/target/test-classes"/>
 
         <home nested="framework"/>
         <jar id="combined" name="target/avalon-framework-@@DATE@@.jar"/>
-        <javadoc nested="framework/target/docs/apidocs"/>
+        <javadoc nested="framework/api/target/docs/apidocs"/>
 
         <nag from="Gump Integration Build &lt;dev@avalon.apache.org&gt;" to="dev@avalon.apache.org"/>
     </project>


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





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Spare the beer for a hot summer day... Try to provide a little bit more
> guidance, because I think that most people here (except LSD) are pretty
> scared of Gump.

I don't think a Gump descriptor is any more complex than an ant build
script, or a Maven project file, and it is documented (if imperfectly,
http://gump.apache.org/metadata/index.html) -- but I think it is something
so infrequently visited that folks don't understand it. Maybe somebody
creates it, it works faultlessly for eons [only nagging occasionally], and
then when it breaks perhaps the author is unavailable. Folks don't touch it
every day, in order to get used to it.

What has occur (to me) out of this is the need more annotations in Gump
descriptors, and (I'd like to add) a page per descriptor where Gump
annotates the descriptor it has. I.e. lot of "this was set in this project
therefore (based on doc reference blah) this will occur...".

Gumpy is a lot more transparent than it was, but needs to be even more
transparent to appeal to the general community.

regards

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Spare the beer for a hot summer day... Try to provide a little bit more
> guidance, because I think that most people here (except LSD) are pretty
> scared of Gump.

I don't think a Gump descriptor is any more complex than an ant build
script, or a Maven project file, and it is documented (if imperfectly,
http://gump.apache.org/metadata/index.html) -- but I think it is something
so infrequently visited that folks don't understand it. Maybe somebody
creates it, it works faultlessly for eons [only nagging occasionally], and
then when it breaks perhaps the author is unavailable. Folks don't touch it
every day, in order to get used to it.

What has occur (to me) out of this is the need more annotations in Gump
descriptors, and (I'd like to add) a page per descriptor where Gump
annotates the descriptor it has. I.e. lot of "this was set in this project
therefore (based on doc reference blah) this will occur...".

Gumpy is a lot more transparent than it was, but needs to be even more
transparent to appeal to the general community.

regards

Adam


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


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 02 March 2004 07:03, Antoine Lévy-Lambert wrote:
> Niclas Hedhman wrote:
> >On Tuesday 02 March 2004 06:32, Antoine Lévy-Lambert wrote:
> >>Can someone please check in the patch of Stefan ?
> >
> >Done.
>
> I think the gump team will have to buy beer to the avalon team for the
> trouble.

Spare the beer for a hot summer day... Try to provide a little bit more 
guidance, because I think that most people here (except LSD) are pretty 
scared of Gump.


Niclas
-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by Leo Simons <le...@apache.org>.
Antoine Lévy-Lambert wrote:
> I think the gump team will have to buy beer to the avalon team for the 
> trouble.

beers on me! Mail me for my address ;)

-- 
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
  people wouldn't obey the rules."
                                                         -- Alan Bennett



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by Leo Simons <le...@apache.org>.
Antoine Lévy-Lambert wrote:
> I think the gump team will have to buy beer to the avalon team for the 
> trouble.

beers on me! Mail me for my address ;)

-- 
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
  people wouldn't obey the rules."
                                                         -- Alan Bennett


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Niclas Hedhman wrote:

>On Tuesday 02 March 2004 06:32, Antoine Lévy-Lambert wrote:
>  
>
>>Can someone please check in the patch of Stefan ?
>>    
>>
>
>Done.
>
>
>  
>
I think the gump team will have to buy beer to the avalon team for the 
trouble.

Cheers,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [Fwd: [GUMP][PATCH] this should make avalon compile in Gump]

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 02 March 2004 06:32, Antoine Lévy-Lambert wrote:
> Can someone please check in the patch of Stefan ?

Done.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org