You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Michael Rimov <ri...@centercomp.com> on 2006/06/17 11:46:11 UTC

Windows and Continuum Items

First off,

 

I want to thank you guys for making a great product like this --   so far I
have 15 projects set up on it and probably have another 10-20 to go.  Its
great!

 

What's even better is because I'm running a multi-CPU system with RAID 0+1
drives, I can actually run Continuum ON MY DEVELOPMENT MACHINE.  I don't
even notice when straight compiles and unit tests are running after a
checkin.  Its just... awesome!   I'm really happy with it.

 

I'm having one minor issue that I wanted to ask about:

 

Maven 1 Builds are not failing when they should.

 

 

Here's sample output:  (Slightly censored)

 

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
 
build:start:
 
clean:clean:
    [delete] Deleting directory D:\continuum\wrk\31\target
 
clean:
 
java:prepare-filesystem:
    [mkdir] Created dir: D:\continuum\wrk\31\target\classes
 
java:compile:
    [echo] Compiling to D:\continuum\wrk\31/target/classes
    [javac] Compiling 182 source files to D:\continuum\wrk\31\target\classes
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:30: 'class' or
'interface' expected
whoderwhicher
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:32: 'class' or
'interface' expected
import com.sri.emo.dbobj.*;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:33: 'class' or
'interface' expected
import com.sri.emo.wizard.WizardRepository;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:34: 'class' or
'interface' expected
import com.sri.emo.wizard.completion.CompletionRepository;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:35: 'class' or
'interface' expected
import com.sri.emo.wizard.completion.management.CompletionBeanManager;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:36: 'class' or
'interface' expected
import com.sri.emo.wizard.completion.management.CompletionEditor;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:37: 'class' or
'interface' expected
import com.sri.emo.wizard.completion.management.ICompletionBeanManager;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:38: 'class' or
'interface' expected
import com.sri.emo.wizard.completion.persistence.*;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:39: 'class' or
'interface' expected
import com.sri.emo.wizard.defaults.ExpressoAwareWizardRepository;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:40: 'class' or
'interface' expected
import com.sri.emo.wizard.selection.WizardAction;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:41: 'class' or
'interface' expected
import com.sri.emo.wizard.selection.management.WizardStepController;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:42: 'class' or
'interface' expected
import com.sri.emo.wizard.wizardgateway.WizardGatewayController;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:43: 'class' or
'interface' expected
import org.picocontainer.MutablePicoContainer;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:44: 'class' or
'interface' expected
import org.picocontainer.PicoContainer;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:45: 'class' or
'interface' expected
import org.picocontainer.defaults.DefaultPicoContainer;
^
D:\continuum\wrk\31\src\java\com\sri\emo\EmoSchema.java:47: 'class' or
'interface' expected
import java.util.*;
^
16 errors
 
BUILD FAILED
File...... C:\[Path to Maven Repository Plugins]\plugin.jelly
Element... ant:javac
Line...... 63
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 4 seconds
Finished at: Sat Jun 17 02:32:44 PDT 2006
 

 

BUT, for some reason Continuum is saying that the build was successful.  ??
Just in case the problem was that I was sending it two commands (clean AND
test), I tried removing the clean command and got the same thing.

 

I poked around JIRA to see if I could find anything like this but couldn't,
so I decided to ask here.

 

Any knowledge of this or workarounds?

 

Thanks!

 

 
-Mike

 


RE: Windows and Continuum Items

Posted by Michael Rimov <ri...@centercomp.com>.
> See [1], you need to make sure that the Maven process properly returns
> the exit code.
> 
> [1]:
> http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-
> successful-build

Duh -- And I had even used the FAQ to fix CVS issues. <blush-sigh>

Thank you very very much!!
								-Mike

P.S. Perhaps changing the title of the FAQ entry from: 
"How does Continuum detect a successful build?"

To something more along the lines of:

"Why doesn't Continuum detect my Maven 1 Build Results?"

Might make the purpose of the FAQ more clear? I must have seen that entry
20-30 times as I worked through the other issues, but it just never
registered in my brain cells.  

(Of course, there could be other reasons... :) )







Re: Windows and Continuum Items

Posted by Trygve Laugstøl <tr...@apache.org>.
On Sat, 2006-06-17 at 02:46 -0700, Michael Rimov wrote:
> First off,
> 
>  
> 
> I want to thank you guys for making a great product like this --   so far I
> have 15 projects set up on it and probably have another 10-20 to go.  Its
> great!
> 
>  
> 
> What's even better is because I'm running a multi-CPU system with RAID 0+1
> drives, I can actually run Continuum ON MY DEVELOPMENT MACHINE.  I don't
> even notice when straight compiles and unit tests are running after a
> checkin.  Its just... awesome!   I'm really happy with it.
> 
>  
> 
> I'm having one minor issue that I wanted to ask about:
> 
>  
> 
> Maven 1 Builds are not failing when they should.

See [1], you need to make sure that the Maven process properly returns
the exit code.

[1]:
http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build

--
Trygve