Re: [RT] Let each project run using the last successfull jar from each dependency

2004-03-28 Thread Michael Davey

Let's attempt to learn as much as possible on each run.  And that 
means using the newest build available.
I do see one possible   problem we could face
From above let project A and project B both depend on Project Z
Project Z makes a change and project B  makes a change to match.
Now since project A is not building Project C will use the old version 
of Project A with new version of Project B. If they are incompatible  
Project C will see the error not Project A. But we still learn 
something  as early as possible just not in the desired place.
If the cascading errors/warnings idea from another RT thread, or the 
list of all changes idea from another RT thread still, were implemented 
too, this wouldn't be an issue.  We would end up with something like:

Error: 'A' failed to build because of Exception  
[EMAIL PROTECTED], possible causes:
 'A':src/java/org/apache/a/foo.java changes to lines 34, 36, 144 
[EMAIL PROTECTED]
 'Z':/src/java/org/apache/z/bar.java changes to lines 244-268 
[EMAIL PROTECTED]
Warning: 'C' requires failed prerequisite 'A' - using build from 
2004-03-27 instead
Error: 'C' failed to build because of Exception  
[EMAIL PROTECTED], possible causes:
 'C':/src/java/org/apache/c/baz.java changes to lines 640-699 
[EMAIL PROTECTED]
 'A':src/java/org/apache/a/foo.java (inherited from 'A') changes to 
lines 34, 36, 144 [EMAIL PROTECTED]
 'Z':/src/java/org/apache/z/bar.java (inherited from 'A') changes to 
lines 244-268 [EMAIL PROTECTED]

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


[RT] Let each project run using the last successfull jar from each dependency

2004-03-27 Thread Nick Chalko
Here is an idea to let gump build 100% every time. 

Keep the jars from the last success full build of each project. Then a 
project fails it will not stop the rest of the tree from building. 

Of course it becomse a little more complicated to know what jars were 
used for what. But I think we could keep track of that.

Hmm almost like a gump repostory.



R,
Nick


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


Re: [RT] Let each project run using the last successfull jar from each dependency

2004-03-27 Thread Martin Cooper
On Sat, 27 Mar 2004, Nick Chalko wrote:

 Here is an idea to let gump build 100% every time.

 Keep the jars from the last success full build of each project. Then a
 project fails it will not stop the rest of the tree from building.

I'm just a lurker here, but this seems to defeat the whole purpose of
Gump. Gump's purpose in life is to let people know as soon as possible
when changes in one place break things in other places.

The change you are suggesting would at best delay the guilty party from
being notified of the issues, and at worst result in everything building
successfully every time.

Of course, I may be misinterpreting you entirely...

--
Martin Cooper


 Of course it becomse a little more complicated to know what jars were
 used for what. But I think we could keep track of that.

 Hmm almost like a gump repostory.



 R,
 Nick



 -
 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]