java.lang.NullPointerException: groupId was null

2007-08-06 Thread Otto Kolsi

Hi!

I'm testing Continuum 1.1 beta 1 with Ant projects. So far it seems to 
work fine. I noticed following minor issue and thought to mention.


I haven't yet created any Project Groups, so my Ant project is in the 
Default Group. The Release functionality is new so without configuring 
it, I just tried it.


When Release is pressed, Continuum gives error (see below). NullPointers 
are generally a bad thing, so even though Release should not work 
without proper configurations.. maybe instead of NullPointer a more 
informative error message could be given?


Best Regards,
--
  Otto



INFO   | jvm 1| 2007/08/07 09:25:59 | 2007-08-07 09:25:59,184 
[SocketListener0-1] INFO  Interceptor:exceptionLogging   - Error ocurred 
during execution
INFO   | jvm 1| 2007/08/07 09:25:59 | 
java.lang.NullPointerException: groupId was null
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.apache.maven.artifact.ArtifactUtils.versionlessKey(ArtifactUtils.java:54)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.apache.maven.continuum.web.action.ReleaseProjectAction.promptReleaseGoal(ReleaseProjectAction.java:72)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
java.lang.reflect.Method.invoke(Method.java:585)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:103)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:178)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:58)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
INFO   | jvm 1| 2007/08/07 09:25:59 |   at 
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
INFO   | jvm 1| 2007/0

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-06 Thread LAMY Olivier
Afert adding installations to a profile don't use save but go to the profile 
list page.
In fact, the workflow is a litte bit confusing here.

It will be fixed in beta-2 ( you have patch here : 
http://jira.codehaus.org/browse/CONTINUUM-1361 )

Concerning IE, it's an issue (I have only tested with Firefox ;-) ), could you 
add an issue ?



--
Olivier

-Message d'origine-
De : L. J. [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 7 août 2007 02:24
À : continuum-users
Objet : Continuum 1.1-beta-1 profile does not seem to work

Hi,

When using IE 6, I click the add button to add the installation in the profile, 
it does not do anything.
When using Firefox, the add button works, but after save the profile and go 
back to check the profile, the installation isn't included in the profile.
I am running in AIX, Is this because of my OS or has this happened to anyone 
else?

Thanks.

LJ


This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 



Build Fresh option

2007-08-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
It appears that the Build Fresh option does not fully work.  I found a
Jira issue #1156.  Is it recommended to not use the Build Fresh option
until later?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Continuum 1.1-beta-1 shell project does not run but runs from command line

2007-08-06 Thread L. J.
Ok, turns out that it it the bug in beta-1 Profile. After I click "save",
the JDK installation is removed from the profile.
However, I can only add installation into profile using Firefox, not IE6.

Thanks.

LJ

On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
>
> Can you do :
> - remove the SNAPSHOT version in the compiler (2.0.2 has been released)
> - give os information
> - the JAVA_HOME value in your system env (if a *n*x the value in the
> .profile )
> - have you played with profile and attached a jdk to your build definition
>
> Thanks,
> --
> Olivier
>
> -Message d'origine-
> De : L. J. [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 7 août 2007 01:23
> À : continuum-users@maven.apache.org
> Objet : Re: Continuum 1.1-beta-1 shell project does not run but runs from
> command line
>
> Sure,
>
> 
> 
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 2.0.1-SNAPSHOT
> 
> 1.3
> 1.3
> 
> true
> 
> 
> org.apache.maven.plugins
> maven-jar-plugin
> 
> 
> true
> 
> true
> 
> 
> 
> 
> ${
> project.scm.connection} ${project.scm.tag}
> 
> 
> 
> true
> 
> 
> 
>
> Thanks.
>
> LJ
>
>
> On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
> >
> > Could you show your maven-compiler-plugin configuration.
> > What are you target/source values ?
> >
> >
> >
> > -Message d'origine-
> > De : L. J. [mailto:[EMAIL PROTECTED]
> > Envoyé : mardi 7 août 2007 01:06
> > À : continuum-users
> > Objet : Continuum 1.1-beta-1 shell project does not run but runs from
> > command line
> >
> > Using a shell script /usr/bin/sh build.sh (the script runs mvn -U -
> > Dmaven.test.skip clean install), it works fine from the command line,
> > but if I put in continuum beta-1 as a shell project, it fails. I tried
> > adding the profile but does not help.
> >
> > Any suggestion or idea?
> >
> > Compiling 65 source files to
> > /apps/build/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/working
> > -directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminC
> > ache/target/classes
> > [INFO]
> > --
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > --
> > --
> > [INFO] Compilation failure
> >
> > Failure executing javac, but could not parse the error:
> > javac: target release 1.3 conflicts with default source release 1.5
> >
> >
> > [INFO]
> > --
> > -- [INFO] For more information, run Maven with the -e switch [INFO]
> > --
> > --
> > [INFO] Total time: 27 seconds
> > [INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007 [INFO] Final Memory:
> > 10M/28M [INFO]
> > --
> > --
> >
> > Thanks.
> >
> > LJ
> >
> >
> > This e-mail, any attachments and the information contained therein
> > ("this
> > message") are confidential and intended solely for the use of the
> > addressee(s). If you have received this message in error please send
> > it back to the sender and delete it. Unauthorized publication, use,
> > dissemination or disclosure of this message, either in whole or in
> > part is strictly prohibited.
> > **
> > Ce message électronique et tous les fichiers joints ainsi que  les
> > informations contenues dans ce message ( ci après "le message" ), sont
> > confidentiels et destinés exclusivement à l'usage de la  personne à
> > laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
> > merci  de le renvoyer à son émetteur et de le détruire. Toutes
> > diffusion, publication, totale ou partielle ou divulgation sous
> > quelque forme que se soit non expressément autorisées de ce message,
> sont interdites.
> > **
> >
> >
>


continuum-1.1-beta-1: Error while generating mail contents.

2007-08-06 Thread Andreas Guther
Hi,

After installing continuum-1.1-beta-1 last week all went fine and I was
very pleased with the changes and new features.  

We just discovered that since a few days we do not get email messages
anymore.

The logs say: Error while generating mail contents. (Stack trace below)

I can send email from the Linux box continuum is running.  I also got
emails in the beginning.  I also restarted the server.

Where should I look to find out what causes the problem?

Andreas




285551 [pool-1-thread-1] INFO
org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
Working directory:
/opt/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/working-director
y/40
288618 [pool-1-thread-1] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
Exit code: 1
288753 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action deploy-artifact
288863 [pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
default  - Error while trying to use the mailnotifier.
org.codehaus.plexus.notification.NotificationException: Error while
generating mail contents.
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:335)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
otification(MailContinuumNotifier.java:227)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:219)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:173)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at
org.apache.maven.continuum.installation.DefaultInstallationService.getJd
kInformations(DefaultInstallationService.java:245)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.getJa
vaHomeInformations(MailContinuumNotifier.java:363)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:308)
... 13 more
288870 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Same state,
not sending message.


Continuum 1.1-beta-1 profile does not seem to work

2007-08-06 Thread L. J.
Hi,

When using IE 6, I click the add button to add the installation in the
profile, it does not do anything.
When using Firefox, the add button works, but after save the profile and go
back to check the profile, the installation isn't included in the profile.
I am running in AIX, Is this because of my OS or has this happened to anyone
else?

Thanks.

LJ


Re: Continuum 1.1-beta-1 shell project does not run but runs from command line

2007-08-06 Thread L. J.
- remove the SNAPSHOT version in the compiler (2.0.2 has been released)
Does not fix it, get the same error

- give os information
my os is AIX

- the JAVA_HOME value in your system env (if a *n*x the value in the
.profile )
in the .profile, JAVA_HOME is jdk1.4

- have you played with profile and attached a jdk to your build definition
I did, but still get the same error. I have the profile using jdk1.3

It runs fine from the command line tho

Thanks.

LJ

On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
>
> Can you do :
> - remove the SNAPSHOT version in the compiler (2.0.2 has been released)
> - give os information
> - the JAVA_HOME value in your system env (if a *n*x the value in the
> .profile )
> - have you played with profile and attached a jdk to your build definition
>
> Thanks,
> --
> Olivier
>
> -Message d'origine-
> De : L. J. [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 7 août 2007 01:23
> À : continuum-users@maven.apache.org
> Objet : Re: Continuum 1.1-beta-1 shell project does not run but runs from
> command line
>
> Sure,
>
> 
> 
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 2.0.1-SNAPSHOT
> 
> 1.3
> 1.3
> 
> true
> 
> 
> org.apache.maven.plugins
> maven-jar-plugin
> 
> 
> true
> 
> true
> 
> 
> 
> 
> ${
> project.scm.connection} ${project.scm.tag}
> 
> 
> 
> true
> 
> 
> 
>
> Thanks.
>
> LJ
>
>
> On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
> >
> > Could you show your maven-compiler-plugin configuration.
> > What are you target/source values ?
> >
> >
> >
> > -Message d'origine-
> > De : L. J. [mailto:[EMAIL PROTECTED]
> > Envoyé : mardi 7 août 2007 01:06
> > À : continuum-users
> > Objet : Continuum 1.1-beta-1 shell project does not run but runs from
> > command line
> >
> > Using a shell script /usr/bin/sh build.sh (the script runs mvn -U -
> > Dmaven.test.skip clean install), it works fine from the command line,
> > but if I put in continuum beta-1 as a shell project, it fails. I tried
> > adding the profile but does not help.
> >
> > Any suggestion or idea?
> >
> > Compiling 65 source files to
> > /apps/build/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/working
> > -directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminC
> > ache/target/classes
> > [INFO]
> > --
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > --
> > --
> > [INFO] Compilation failure
> >
> > Failure executing javac, but could not parse the error:
> > javac: target release 1.3 conflicts with default source release 1.5
> >
> >
> > [INFO]
> > --
> > -- [INFO] For more information, run Maven with the -e switch [INFO]
> > --
> > --
> > [INFO] Total time: 27 seconds
> > [INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007 [INFO] Final Memory:
> > 10M/28M [INFO]
> > --
> > --
> >
> > Thanks.
> >
> > LJ
> >
> >
> > This e-mail, any attachments and the information contained therein
> > ("this
> > message") are confidential and intended solely for the use of the
> > addressee(s). If you have received this message in error please send
> > it back to the sender and delete it. Unauthorized publication, use,
> > dissemination or disclosure of this message, either in whole or in
> > part is strictly prohibited.
> > **
> > Ce message électronique et tous les fichiers joints ainsi que  les
> > informations contenues dans ce message ( ci après "le message" ), sont
> > confidentiels et destinés exclusivement à l'usage de la  personne à
> > laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
> > merci  de le renvoyer à son émetteur et de le détruire. Toutes
> > diffusion, publication, totale ou partielle ou divulgation sous
> > quelque forme que se soit non expressément autorisées de ce message,
> sont interdites.
> > **
> >
> >
>


RE: Continuum 1.1-beta-1 shell project does not run but runs from command line

2007-08-06 Thread LAMY Olivier
Can you do :
- remove the SNAPSHOT version in the compiler (2.0.2 has been released)
- give os information
- the JAVA_HOME value in your system env (if a *n*x the value in the .profile )
- have you played with profile and attached a jdk to your build definition

Thanks,
--
Olivier

-Message d'origine-
De : L. J. [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 7 août 2007 01:23
À : continuum-users@maven.apache.org
Objet : Re: Continuum 1.1-beta-1 shell project does not run but runs from 
command line

Sure,




org.apache.maven.plugins
maven-compiler-plugin
2.0.1-SNAPSHOT

1.3
1.3

true


org.apache.maven.plugins
maven-jar-plugin


true

true




${ 
project.scm.connection} ${project.scm.tag}



true




Thanks.

LJ


On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
>
> Could you show your maven-compiler-plugin configuration.
> What are you target/source values ?
>
>
>
> -Message d'origine-
> De : L. J. [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 7 août 2007 01:06
> À : continuum-users
> Objet : Continuum 1.1-beta-1 shell project does not run but runs from 
> command line
>
> Using a shell script /usr/bin/sh build.sh (the script runs mvn -U - 
> Dmaven.test.skip clean install), it works fine from the command line, 
> but if I put in continuum beta-1 as a shell project, it fails. I tried 
> adding the profile but does not help.
>
> Any suggestion or idea?
>
> Compiling 65 source files to 
> /apps/build/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/working
> -directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminC
> ache/target/classes
> [INFO]
> --
> --
> [ERROR] BUILD FAILURE
> [INFO]
> --
> --
> [INFO] Compilation failure
>
> Failure executing javac, but could not parse the error:
> javac: target release 1.3 conflicts with default source release 1.5
>
>
> [INFO]
> --
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007 [INFO] Final Memory:
> 10M/28M [INFO]
> --
> --
>
> Thanks.
>
> LJ
>
>
> This e-mail, any attachments and the information contained therein 
> ("this
> message") are confidential and intended solely for the use of the 
> addressee(s). If you have received this message in error please send 
> it back to the sender and delete it. Unauthorized publication, use, 
> dissemination or disclosure of this message, either in whole or in 
> part is strictly prohibited.
> **
> Ce message électronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message ( ci après "le message" ), sont 
> confidentiels et destinés exclusivement à l'usage de la  personne à 
> laquelle ils sont adressés. Si vous avez reçu ce message par erreur, 
> merci  de le renvoyer à son émetteur et de le détruire. Toutes 
> diffusion, publication, totale ou partielle ou divulgation sous 
> quelque forme que se soit non expressément autorisées de ce message, sont 
> interdites.
> **
>
>


RE: Continuum 1.1-beta-1 shell project does not run but runs from command line

2007-08-06 Thread LAMY Olivier
Could you show your maven-compiler-plugin configuration.
What are you target/source values ?

 

-Message d'origine-
De : L. J. [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 7 août 2007 01:06
À : continuum-users
Objet : Continuum 1.1-beta-1 shell project does not run but runs from command 
line

Using a shell script /usr/bin/sh build.sh (the script runs mvn -U - 
Dmaven.test.skip clean install), it works fine from the command line, but if I 
put in continuum beta-1 as a shell project, it fails. I tried adding the 
profile but does not help.

Any suggestion or idea?

Compiling 65 source files to /apps/build/continuum-1.1-beta-1 
/apps/continuum/webapp/WEB-INF/working-directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminCache/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5


[INFO]

[INFO] For more information, run Maven with the -e switch [INFO]

[INFO] Total time: 27 seconds
[INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007 [INFO] Final Memory: 10M/28M 
[INFO]


Thanks.

LJ


This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 



Continuum 1.1-beta-1 shell project does not run but runs from command line

2007-08-06 Thread L. J.
Using a shell script /usr/bin/sh build.sh (the script runs mvn -U -
Dmaven.test.skip clean install), it works fine from the command line, but if
I put in continuum beta-1 as a shell project, it fails. I tried adding the
profile but does not help.

Any suggestion or idea?

Compiling 65 source files to /apps/build/continuum-1.1-beta-1
/apps/continuum/webapp/WEB-INF/working-directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminCache/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 27 seconds
[INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007
[INFO] Final Memory: 10M/28M
[INFO]


Thanks.

LJ


RE: shell execution from 1.1-beta-1

2007-08-06 Thread LAMY Olivier
Ok.
There is an issue in plexus-utils concerning this trouble.
http://jira.codehaus.org/browse/PLXUTILS-34 

Need to be fixed (but I don't have AIX here to test ;-) )


--
Olivier 


-Message d'origine-
De : L. J. [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 6 août 2007 23:11
À : continuum-users@maven.apache.org
Objet : Re: shell execution from 1.1-beta-1

Yes, AIX.

Thanks.

LJ

On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
>
> Hi,
> What is your ? AIX ?
>
> --
> Olivier
>
> -Message d'origine-
> De : L. J. [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 6 août 2007 22:11
> À : continuum-users
> Objet : shell execution from 1.1-beta-1
>
> I have a build definition:
> Build File /usr/bin/sh
> Arguments buildAdmin.sh"
>
> It works in alpha and earlier version of continuum. Is the way that 
> the shell script gets executed changed since beta? I got the following 
> error, and wonder why continuum is calling /bin/bash at the very 
> beginning
>
> 1705563 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Executing: /bin/bash -c "cd
> /apps/build/continuum-1.1-beta-1
> /apps/continuum/webapp/WEB-INF/working-directory/2
> && /usr/bin/sh buildAdmin.sh"
> 1705563 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - 
> Working
> directory: /apps/build/continuum-1.1-beta-1
> /apps/continuum/webapp/WEB-INF/working-directory/2
> 1706375 [pool-1-thread-1] ERROR
> org.codehaus.plexus.action.Action:execute-builder  - Error running 
> buildResult
> org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
> Error while executing shell command. The most common error is that 
> '/usr/bin/sh'
> is not in your path.
> at
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShel
> lCommand
> (AbstractBuildExecutor.java:218)
> at
> org.apache.maven.continuum.execution.shell.ShellBuildExecutor.build(
> ShellBuildExecutor.java:74)
> at
>
> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.e
> xecute
> (ExecuteBuilderContinuumAction.java:140)
> at
>
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.perf
> ormAction
> (DefaultBuildController.java:406)
> at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
> d(
> DefaultBuildController.java:145)
> at
>
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
> ecuteTask
> (BuildProjectTaskExecutor.java:50)
> at
>
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec
> utorRunnable$1.run
> (ThreadedTaskQueueExecutor.java:116)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapt
> er.call
> (Executors.java:442)
> at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(
> FutureTask.java:176)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> er.runTask
> (ThreadPoolExecutor.java:665)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> er.run
> (ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:801)
> Caused by:
> org.codehaus.plexus.util.cli.CommandLineException: Error while 
> executing process.
> at org.codehaus.plexus.util.cli.Commandline.execute(
> Commandline.java
> :652)
> at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(
> CommandLineUtils.java:102)
> at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(
> CommandLineUtils.java:89)
> at
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu
> teShellCommand
> (DefaultShellCommandHelper.java:114)
> at
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu
> teShellCommand
> (DefaultShellCommandHelper.java:59)
> at
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShel
> lCommand
> (AbstractBuildExecutor.java:202)
> ... 11 more
> Caused by:
> java.io.IOException: /bin/bash: not found
> at java.lang.UNIXProcess.fullPath(UNIXProcess.java:365)
> at java.lang.UNIXProcess.(UNIXProcess.java:172)
> at java.lang.ProcessImpl.start(ProcessImpl.java:114)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:466)
> at java.lang.Runtime.exec(Runtime.java:607)
> at org.codehaus.plexus.util.cli.Commandline.execute(
> Commandline.java
> :647)
> ... 16 more
> 1706710 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  - 
> Performing action deploy-artifac
>
> Thanks.
>
> LJ
>
>
> This e-mail, any attachments and the information contained therein 
> ("this
> message") are confidential and intended solely for the use of the 
> addressee(s). If you have received this message in error please send 
> it back to the sender and delete it. Unauthorized publication, use, 
> diss

Re: shell execution from 1.1-beta-1

2007-08-06 Thread L. J.
Yes, AIX.

Thanks.

LJ

On 8/6/07, LAMY Olivier <[EMAIL PROTECTED]> wrote:
>
> Hi,
> What is your ? AIX ?
>
> --
> Olivier
>
> -Message d'origine-
> De : L. J. [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 6 août 2007 22:11
> À : continuum-users
> Objet : shell execution from 1.1-beta-1
>
> I have a build definition:
> Build File /usr/bin/sh
> Arguments buildAdmin.sh"
>
> It works in alpha and earlier version of continuum. Is the way that the
> shell script gets executed changed since beta? I got the following error,
> and wonder why continuum is calling /bin/bash at the very beginning
>
> 1705563 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Executing: /bin/bash -c "cd
> /apps/build/continuum-1.1-beta-1
> /apps/continuum/webapp/WEB-INF/working-directory/2
> && /usr/bin/sh buildAdmin.sh"
> 1705563 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Working
> directory: /apps/build/continuum-1.1-beta-1
> /apps/continuum/webapp/WEB-INF/working-directory/2
> 1706375 [pool-1-thread-1] ERROR
> org.codehaus.plexus.action.Action:execute-builder  - Error running
> buildResult
> org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
> Error while executing shell command. The most common error is that
> '/usr/bin/sh'
> is not in your path.
> at
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand
> (AbstractBuildExecutor.java:218)
> at
> org.apache.maven.continuum.execution.shell.ShellBuildExecutor.build(
> ShellBuildExecutor.java:74)
> at
>
> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute
> (ExecuteBuilderContinuumAction.java:140)
> at
>
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction
> (DefaultBuildController.java:406)
> at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
> DefaultBuildController.java:145)
> at
>
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
> (BuildProjectTaskExecutor.java:50)
> at
>
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run
> (ThreadedTaskQueueExecutor.java:116)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call
> (Executors.java:442)
> at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(
> FutureTask.java:176)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:665)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:801)
> Caused by:
> org.codehaus.plexus.util.cli.CommandLineException: Error while executing
> process.
> at org.codehaus.plexus.util.cli.Commandline.execute(
> Commandline.java
> :652)
> at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(
> CommandLineUtils.java:102)
> at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(
> CommandLineUtils.java:89)
> at
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand
> (DefaultShellCommandHelper.java:114)
> at
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand
> (DefaultShellCommandHelper.java:59)
> at
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand
> (AbstractBuildExecutor.java:202)
> ... 11 more
> Caused by:
> java.io.IOException: /bin/bash: not found
> at java.lang.UNIXProcess.fullPath(UNIXProcess.java:365)
> at java.lang.UNIXProcess.(UNIXProcess.java:172)
> at java.lang.ProcessImpl.start(ProcessImpl.java:114)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:466)
> at java.lang.Runtime.exec(Runtime.java:607)
> at org.codehaus.plexus.util.cli.Commandline.execute(
> Commandline.java
> :647)
> ... 16 more
> 1706710 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action deploy-artifac
>
> Thanks.
>
> LJ
>
>
> This e-mail, any attachments and the information contained therein ("this
> message") are confidential and intended solely for the use of the
> addressee(s). If you have received this message in error please send it back
> to the sender and delete it. Unauthorized publication, use, dissemination or
> disclosure of this message, either in whole or in part is strictly
> prohibited.
>
> --
> Ce message électronique et tous les fichiers joints ainsi que  les
> informations contenues dans ce message ( ci après "le message" ), sont
> confidentiels et destinés exclusivement à l'usage de la  personne 

Re: M2 POM Url protected

2007-08-06 Thread Emmanuel Venisse

you can use an url like that: http:username:[EMAIL PROTECTED]:port/path/pom.xml

Oscar Picasso a écrit :

Hi,

On continuum 1.0.3, I want to add a project using M2 POM Url. The urls point
to a svn http server which is protected (using basic authenfication I
think).

When I try to add the M2 POM Url I get [ The URL you provided doesn't exist
]
and the logs show:
jvm 2| 2007-08-06 14:07:33,204 [SocketListener0-1] INFO
Validator:url-source   - An error is occurred.
jvm 2| java.io.IOException: Server returned HTTP response code: 401 for
URL: http://vcs/svn/sandbox/One/trunk/pom.xml
[...]

How to tell continuum to send the username and the password in order to
avoid the 401 error ?

Thanks.





M2 POM Url protected

2007-08-06 Thread Oscar Picasso
Hi,

On continuum 1.0.3, I want to add a project using M2 POM Url. The urls point
to a svn http server which is protected (using basic authenfication I
think).

When I try to add the M2 POM Url I get [ The URL you provided doesn't exist
]
and the logs show:
jvm 2| 2007-08-06 14:07:33,204 [SocketListener0-1] INFO
Validator:url-source   - An error is occurred.
jvm 2| java.io.IOException: Server returned HTTP response code: 401 for
URL: http://vcs/svn/sandbox/One/trunk/pom.xml
[...]

How to tell continuum to send the username and the password in order to
avoid the 401 error ?

Thanks.


Re: Continuum does not run Schduled Builds

2007-08-06 Thread Mac-Systems

Anyone can help on this Issue ?
Someone running more than one Build ?

I am using version 1.0.3.


regards,
Jens
I have 3 Projects running with Continuum. Two of them are Branches. 
Actually i

use onyl the Default Schedule (build each hour once).
Only the Project which was first Configured in Continuum is build 
Automaticly.
If i commit to a Branch Continuum should build at least after apx. one 
hour, but nothing happens..



If i force the Build via the "Build Now" Button i see after the build 
succeed the change log. So It seem i have configured

all right.

Anyone can help me ?

regards,
Jens