I'm trying to integrate maven with gump. I am using one script for each project in my
workspace to do the builds with maven. The gump called correctly the builds scripts,
but when I forces the build to result in error, it simple ignores it and signalize
that the build was sucessful, Like this:
C:\temp\workspace>gmp build
INFO:gump:Use text (not forrest).
INFO:gump:Perform task [preprocess]
INFO:gump:Perform task [loadStatistics]
INFO:gump:*New* Statistics Database:c:\sys\gump\work\stats.db
INFO:gump:Perform task [build]
INFO:gump: Project: #[1] of [1] : menu
Project [menu] State: Success
- Error:Unable to complete project.home for: menu
- Error:Found a <jar with no name...
- Info:Enable "verbose" output, due to 0 previous error(s).
Work [1] [6] secs.
Work : Success
Work Name : buildscript_menu_menu
Work Cmd : c:\temp\workspace\menu\build.bat
Work Cwd : c:\temp\workspace\menu
Work Env : CLASSPATH : ;c:\temp\workspace\menu\target\classes Work Exit : 0
---------------------------------------------------------------- GUMP
c:\temp\workspace\tmp\buildscript_menu_menu.txt
c:\temp\workspace\menu>maven build -d c:\temp\workspace\menu
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc3
build:start:
build:
java:prepare-filesystem:
java:compile:
[echo] Compiling to c:\temp\workspace\menu/target/classes
[javac] Compiling 1 source file to C:\temp\workspace\menu\target\classes
C:\temp\workspace\menu\implementacao\src\java\com\cpqd\util\presentation\menu\MenuDefinition.java:4:
';' expected
import java.util.Collections;
^
1 error
BUILD FAILED
File...... C:\Documents and
Settings\rsilva\.maven\plugins\maven-java-plugin-1.4\plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 5 seconds
Finished at: Mon May 24 14:45:50 BRT 2004
---------------------------------------------------------------- GUMP
INFO:gump:Perform task [prepareDocumentation]
INFO:gump:Perform task [gatherResults]
INFO:gump:Perform task [updateStatistics]
INFO:gump:*New* Statistics Database:c:\sys\gump\work\stats.db
INFO:gump:Perform task [document]
Workspace State : Success
Workspace Secs : 6
Gump Environment
Modules: 1
Module [menu] State: Unset
Projects: 1
Project [menu] State: Success
- Error:Unable to complete project.home for: menu
- Error:Found a <jar with no name...
- Info:Enable "verbose" output, due to 0 previous error(s).
Work [1] [6] secs.
Work : Success
Work Name : buildscript_menu_menu
Work Cmd : c:\temp\workspace\menu\build.bat
Work Cwd : c:\temp\workspace\menu
Work Env : CLASSPATH : ;c:\temp\workspace\menu\target\classes Work Exit : 0
INFO:gump:Gump Build complete. Exit code:0
Note that there are some errors that i can't solve and don't know what mean:
Project [menu] State: Success
- Error:Unable to complete project.home for: menu
- Error:Found a <jar with no name...
- Info:Enable "verbose" output, due to 0 previous error(s)
All this is correct? Can scripts generate errors?
Gump needs a mail server to send e-mails?? if yes, how i configure it?
How i generate reports?
Someone can help-me? I'm new on gump.
Raphael Philipe Mendes da Silva
DSB - Diretoria de Solu��es em Billing
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-6957
www.cpqd.com.br
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]