You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "Tawfik, Sameh E" <Sa...@fairisaac.com> on 2008/02/21 00:41:56 UTC
Continuum report incorrect build results?
When Continuum runs my maven 2 project, it send an email: [continuum]
BUILD SUCCESSFUL:, but when I checked the build results I found out the
build failed when it was building the last component, so why is
Continuum is reporting success when the build failed?
Does anyone know how to make Continuum detect this failure and correctly
report back this result?
The following is the build failed error messages:
[javac] 33. ERROR in C:\Auto_Builds\working-directory\12\
csvimport\job\DelimImportJob.java (at line 128)
[javac]
ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC);
[javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved
BUILD FAILED
C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed;
see the compiler error output for details.
Total time: 13 seconds
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing command line. Exit code:13
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25 minutes 14 seconds
[INFO] Finished at: Wed Feb 20 15:23:17 PST 2008
[INFO] Final Memory: 23M/63M
[INFO]
------------------------------------------------------------------------
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
RE: Continuum report incorrect build results?
Posted by "Tawfik, Sameh E" <Sa...@fairisaac.com>.
I'm using the following parameters when I run a build:
"-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
install"
So is that is why Continuum is reporting success instead of failure?
Do I need to set any flags or settings to Continuum?
Sameh
-----Original Message-----
From: Tawfik, Sameh E [mailto:SamehTawfik@fairisaac.com]
Sent: Wednesday, February 20, 2008 3:42 PM
To: continuum-users@maven.apache.org
Subject: Continuum report incorrect build results?
When Continuum runs my maven 2 project, it send an email: [continuum]
BUILD SUCCESSFUL:, but when I checked the build results I found out the
build failed when it was building the last component, so why is
Continuum is reporting success when the build failed?
Does anyone know how to make Continuum detect this failure and correctly
report back this result?
The following is the build failed error messages:
[javac] 33. ERROR in C:\Auto_Builds\working-directory\12\
csvimport\job\DelimImportJob.java (at line 128)
[javac]
ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC);
[javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved
BUILD FAILED
C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following
error occurred while executing this line:
C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed;
see the compiler error output for details.
Total time: 13 seconds
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing command line. Exit code:13
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25 minutes 14 seconds
[INFO] Finished at: Wed Feb 20 15:23:17 PST 2008
[INFO] Final Memory: 23M/63M
[INFO]
------------------------------------------------------------------------
This email and any files transmitted with it are confidential,
proprietary
and intended solely for the individual or entity to whom they are
addressed.
If you have received this email in error please delete it immediately.
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
Re: Continuum does not launch a build as scheduled?
Posted by Emmanuel Venisse <em...@gmail.com>.
Your project in trunk and branch must be different. I mean that the couple
groupId/artifactId/version must be different and scm definition too of
course.
Emmanuel
On Fri, Feb 22, 2008 at 11:37 PM, Tawfik, Sameh E <Sa...@fairisaac.com>
wrote:
>
> I've two maven 2.0.8 projects that relate to the same product, one is
> set to retrieve and build from a branch, and the other one is set to
> retrieve and build from the trunk in Subversion.
>
> When I set the schedule to launch the build for each project, Continuum
> runs the build for the branch project, but when it attempts to launch
> the build as scheduled for the trunk project nothing happens, the build
> does not run?
>
> Instead of running the build, Continuum displays a message indicating
> that the project is duplicated in the reactor? But interestingly, I can
> force the build to run by clicking on the "Build Now" icon!
>
> Does anyone knows what is wrong?
>
> Here is the message that gets displayed in Apache Continuum command line
> screen:
>
> jvm 1 | 2008-02-22 13:32:58,246 [SocketListener0-1] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
> Activating schedule MBCD 1.0 trunk Schedule
> jvm 1 | 2008-02-22 13:32:58,261 [SocketListener0-1] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
> MBCD 1.0 trunk Schedule: next fire time ->Fri Feb 22 13:34:00 PST 2008
> jvm 1 | There was no such logger
> 'com.opensymphony.xwork.Action:schedule' 6666040.
> jvm 1 | 2008-02-22 13:34:00,014 [defaultScheduler_Worker-0] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
> >>>>>>>>>>>>>>>>>>>
> >> Executing build job (MBCD 1.0 trunk Schedule)...
> jvm 1 | 2008-02-22 13:34:00,029 [defaultScheduler_Worker-0] WARN
> org.apache.maven.continuum.Continuum:default - Project
> 'com.fairisaac.MBCD:MBCD:4.0' is duplicated in the reactor
>
> I Also, I'm using the following maven version:
>
> C:\Auto_Builds>mvn -v
> Maven version: 2.0.8
> Java version: 1.6.0_01
> OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows"
>
> Sameh
> This email and any files transmitted with it are confidential, proprietary
> and intended solely for the individual or entity to whom they are
> addressed.
> If you have received this email in error please delete it immediately.
>
>
Continuum does not launch a build as scheduled?
Posted by "Tawfik, Sameh E" <Sa...@fairisaac.com>.
I've two maven 2.0.8 projects that relate to the same product, one is
set to retrieve and build from a branch, and the other one is set to
retrieve and build from the trunk in Subversion.
When I set the schedule to launch the build for each project, Continuum
runs the build for the branch project, but when it attempts to launch
the build as scheduled for the trunk project nothing happens, the build
does not run?
Instead of running the build, Continuum displays a message indicating
that the project is duplicated in the reactor? But interestingly, I can
force the build to run by clicking on the "Build Now" icon!
Does anyone knows what is wrong?
Here is the message that gets displayed in Apache Continuum command line
screen:
jvm 1 | 2008-02-22 13:32:58,246 [SocketListener0-1] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default -
Activating schedule MBCD 1.0 trunk Schedule
jvm 1 | 2008-02-22 13:32:58,261 [SocketListener0-1] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default -
MBCD 1.0 trunk Schedule: next fire time ->Fri Feb 22 13:34:00 PST 2008
jvm 1 | There was no such logger
'com.opensymphony.xwork.Action:schedule' 6666040.
jvm 1 | 2008-02-22 13:34:00,014 [defaultScheduler_Worker-0] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>>>>>>>>>>>>>>>>>>>
>> Executing build job (MBCD 1.0 trunk Schedule)...
jvm 1 | 2008-02-22 13:34:00,029 [defaultScheduler_Worker-0] WARN
org.apache.maven.continuum.Continuum:default - Project
'com.fairisaac.MBCD:MBCD:4.0' is duplicated in the reactor
I Also, I'm using the following maven version:
C:\Auto_Builds>mvn -v
Maven version: 2.0.8
Java version: 1.6.0_01
OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows"
Sameh
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
Re: Continuum report incorrect build results?
Posted by Emmanuel Venisse <em...@gmail.com>.
If you use maven 2.0.7, you must patch mvn.bat. It is explains in continuum
FAQs
Emmanuel
On Thu, Feb 21, 2008 at 12:41 AM, Tawfik, Sameh E <Sa...@fairisaac.com>
wrote:
>
>
> When Continuum runs my maven 2 project, it send an email: [continuum]
> BUILD SUCCESSFUL:, but when I checked the build results I found out the
> build failed when it was building the last component, so why is
> Continuum is reporting success when the build failed?
>
> Does anyone know how to make Continuum detect this failure and correctly
> report back this result?
>
> The following is the build failed error messages:
>
> [javac] 33. ERROR in C:\Auto_Builds\working-directory\12\
> csvimport\job\DelimImportJob.java (at line 128)
> [javac]
> ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC);
> [javac]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved
>
>
> BUILD FAILED
> C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following
> error occurred while executing this line:
> C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following
> error occurred while executing this line:
> C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following
> error occurred while executing this line:
> C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed;
> see the compiler error output for details.
>
> Total time: 13 seconds
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing command line. Exit code:13
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25 minutes 14 seconds
> [INFO] Finished at: Wed Feb 20 15:23:17 PST 2008
> [INFO] Final Memory: 23M/63M
> [INFO]
> ------------------------------------------------------------------------
> This email and any files transmitted with it are confidential, proprietary
> and intended solely for the individual or entity to whom they are
> addressed.
> If you have received this email in error please delete it immediately.
>
>