unable to have results when build is cancelled

2007-08-30 Thread remi . chevalier
Hi,
I work on Continuum-1.1-beta-2 (thanks for this tool) and when I just 
noticed that when a build is cancelled, I only obtain this result:

org.apache.maven.continuum.execution.ContinuumBuildCancelledException: The 
build was cancelled
 at 
org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:215)
 at 
org.apache.maven.continuum.execution.ant.AntBuildExecutor.build(AntBuildExecutor.java:106)
 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:595)
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while 
executing external command, process killed.
 at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:164)
 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:203)
 ... 11 more
Caused by: java.lang.InterruptedException
 at java.lang.ProcessImpl.waitFor(Native Method)
 at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:128)
 ... 15 more

Is it the normal works? Because if the build was cancelled by a timeout 
that I defined, I would like to see which test is looping.
When I run manualy the build I can see what happens in the build results 
as one goes along, but just after I cancelled the build, these results are 
subsituted by the error above.
Can someone tell me if it's normal and if not, what's the problem?

Thank you,
Rémi.
+-+
Combining consulting and technology solutions offers enables Devoteam
to provide its customers with independent advice and effective solutions
that meet their strategic objectives (IT performance and optimisation)
in complementary areas: networks, systems infrastructure, security
and e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros
and an operating margin of 7%. The group counts 2,400 employees through
sixteen countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of
Euronext Paris
ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+


Re: unable to have results when build is cancelled

2007-08-30 Thread Emmanuel Venisse

Please file an issue, a build result must be saved with the process output it 
it is available.

Emmanuel

[EMAIL PROTECTED] a écrit :

Hi,
I work on Continuum-1.1-beta-2 (thanks for this tool) and when I just 
noticed that when a build is cancelled, I only obtain this result:


org.apache.maven.continuum.execution.ContinuumBuildCancelledException: The 
build was cancelled
 at 
org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:215)
 at 
org.apache.maven.continuum.execution.ant.AntBuildExecutor.build(AntBuildExecutor.java:106)
 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:595)
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while 
executing external command, process killed.
 at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:164)
 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:203)

 ... 11 more
Caused by: java.lang.InterruptedException
 at java.lang.ProcessImpl.waitFor(Native Method)
 at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:128)

 ... 15 more

Is it the normal works? Because if the build was cancelled by a timeout 
that I defined, I would like to see which test is looping.
When I run manualy the build I can see what happens in the build results 
as one goes along, but just after I cancelled the build, these results are 
subsituted by the error above.

Can someone tell me if it's normal and if not, what's the problem?

Thank you,
Rémi.
+-+
Combining consulting and technology solutions offers enables Devoteam
to provide its customers with independent advice and effective solutions
that meet their strategic objectives (IT performance and optimisation)
in complementary areas: networks, systems infrastructure, security
and e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros
and an operating margin of 7%. The group counts 2,400 employees through
sixteen countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of 
Euronext Paris

ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+





the last build is successful but the project shows as build in error

2007-08-30 Thread Ionut S
Hi,
I don't know for what reason one of our projects (shown when you hit Show 
projects link) show as Build in error although the last 10 or so builds are 
successful.

Did anybody had this problem ?

Ionut

   
-
Shape Yahoo! in your own image.  Join our Network Research Panel today!

Re: the last build is successful but the project shows as build in error

2007-08-30 Thread Emmanuel Venisse

1.1 or 1.0.3?

Maybe you have something that can help in your logs? an exception or something 
else?

Emmanuel

Ionut S a écrit :

Hi,
I don't know for what reason one of our projects (shown when you hit Show projects 
link) show as Build in error although the last 10 or so builds are successful.

Did anybody had this problem ?

Ionut

   
-

Shape Yahoo! in your own image.  Join our Network Research Panel today!




Re: the last build is successful but the project shows as build in error

2007-08-30 Thread Julien Stern
On Thu, Aug 30, 2007 at 03:23:13AM -0700, Ionut S wrote:
 Hi,
 I don't know for what reason one of our projects (shown when you hit Show 
 projects link) show as Build in error although the last 10 or so builds 
 are successful.
 
 Did anybody had this problem ?

Yes, this happens to us about twice a day with 1.1
It may be related to http://jira.codehaus.org/browse/CONTINUUM-1384

You may want to check your logs to see if this is the same issue
or a different one.

--
Julien


Re: the last build is successful but the project shows as build in error

2007-08-30 Thread Emmanuel Venisse



Julien Stern a écrit :

On Thu, Aug 30, 2007 at 03:23:13AM -0700, Ionut S wrote:

Hi,
I don't know for what reason one of our projects (shown when you hit Show projects 
link) show as Build in error although the last 10 or so builds are successful.

Did anybody had this problem ?


Yes, this happens to us about twice a day with 1.1
It may be related to http://jira.codehaus.org/browse/CONTINUUM-1384

You may want to check your logs to see if this is the same issue
or a different one.


Do you have it with beta-2 too?
What is your default schedule?

What is the max path length for your files?

Emmanuel



RE: Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread mfs

is it...how can i verify..


LAMY Olivier wrote:
 
 Hi,
 Not really sure 
 connectionscm:svn://localhost/svn/repos/pdfp/connection is a valid
 url.
 The scheme is missing. 
 
 --
 Olivier
 
 -Message d'origine-
 De : mfs [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 30 août 2007 18:39
 À : continuum-users@maven.apache.org
 Objet : Cannot checkout sourcesInvalid SCM URL
 
 
 Hello Everyone,
 
 I am getting this error on a build done through continuum...
 
 Exception:
 Cannot checkout sources.//localhost/pdfp url isn't a valid svn URL.
 The scm url is invalid.
 
 which i am not able to figure out why...any help is much appreciated..am
 using maven 2 with sub-version..nyways have also pasted the contents of
 the pom files below..Let me add that i am getting a build-fail email, on
 the emails configured in my pom.xml..
 
 Thanks in advance and Regards,
 
 Farhan.
 
 
 --
 
 ?xml version=1.0 encoding=UTF-8?
 
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
 
 modelVersion4.0.0/modelVersion
 
 
 
 groupIdcompany.share/groupId
 artifactIdpdfp/artifactId
 version1.X-SNAPSHOT/version
 
 nameShare : PDFP/name
 packagingjar/packaging
 
 scm 
   !--connectionscm:svn:svn://localhost/pdfp/connection-- 
   connectionscm:svn://localhost/svn/repos/pdfp/connection 
 
 !--developerConnectionscm:svn:svn://localhost/pdfp/developerConnection-- 
   developerConnectionscm:svn://localhost/pdfp/developerConnection 
   urlhttp://localhost/svn/repos/pdfp/url
 /scm
 
 developers 
   developer 
   idradams/id 
   nameRobert/name 
   [EMAIL PROTECTED] 
   /developer
 /developers
 
 ciManagement
   systemcontinuum/system
   notifiers
notifier
  typemail/type
  configuration
 address[EMAIL PROTECTED]/address
  /configuration
 /notifier
   /notifiers
 /ciManagement
 
 
  
 dependencies
dependency
 groupIditext/groupId
 artifactIditext/artifactId
 version2.0.4/version
/dependency
dependency
 groupIdlog4j/groupId
 artifactIdlog4j/artifactId
 version1.2.14/version
/dependency
 /dependencies
 
 build
  plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
  source1.5/source
  target1.5/target
   /configuration
/plugin
  /plugins
 /build
 
 /project
 
 
 
 
 
 
 
 
 
 --
 View this message in context:
 http://www.nabble.com/Cannot-checkout-sourcesInvalid-SCM-URL-tf4355448.html#a12411221
 Sent from the Continuum - Users mailing list archive at Nabble.com.
 
 
 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.
 ** 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cannot-checkout-sourcesInvalid-SCM-URL-tf4355448.html#a12411480
Sent from the Continuum - Users mailing list archive at Nabble.com.



RE: Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread LAMY Olivier
Have a look here http://maven.apache.org/scm/subversion.html


 

-Message d'origine-
De : mfs [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 30 août 2007 18:52
À : continuum-users@maven.apache.org
Objet : RE: Cannot checkout sourcesInvalid SCM URL


is it...how can i verify..


LAMY Olivier wrote:
 
 Hi,
 Not really sure
 connectionscm:svn://localhost/svn/repos/pdfp/connection is a valid 
 url.
 The scheme is missing. 
 
 --
 Olivier
 
 -Message d'origine-
 De : mfs [mailto:[EMAIL PROTECTED] Envoyé : jeudi 30 août 2007 
 18:39 À : continuum-users@maven.apache.org Objet : Cannot checkout 
 sourcesInvalid SCM URL
 
 
 Hello Everyone,
 
 I am getting this error on a build done through continuum...
 
 Exception:
 Cannot checkout sources.//localhost/pdfp url isn't a valid svn URL.
 The scm url is invalid.
 
 which i am not able to figure out why...any help is much 
 appreciated..am using maven 2 with sub-version..nyways have also 
 pasted the contents of the pom files below..Let me add that i am 
 getting a build-fail email, on the emails configured in my pom.xml..
 
 Thanks in advance and Regards,
 
 Farhan.
 
 
 --
 
 ?xml version=1.0 encoding=UTF-8?
 
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
 
 modelVersion4.0.0/modelVersion
 
 
 
 groupIdcompany.share/groupId
 artifactIdpdfp/artifactId
 version1.X-SNAPSHOT/version
 
 nameShare : PDFP/name
 packagingjar/packaging
 
 scm 
   !--connectionscm:svn:svn://localhost/pdfp/connection-- 
   connectionscm:svn://localhost/svn/repos/pdfp/connection
 
 !--developerConnectionscm:svn:svn://localhost/pdfp/developerConnection-- 
   developerConnectionscm:svn://localhost/pdfp/developerConnection 
   urlhttp://localhost/svn/repos/pdfp/url
 /scm
 
 developers 
   developer 
   idradams/id 
   nameRobert/name 
   [EMAIL PROTECTED] 
   /developer
 /developers
 
 ciManagement
   systemcontinuum/system
   notifiers
notifier
  typemail/type
  configuration
 address[EMAIL PROTECTED]/address
  /configuration
 /notifier
   /notifiers
 /ciManagement
 
 
  
 dependencies
dependency
 groupIditext/groupId
 artifactIditext/artifactId
 version2.0.4/version
/dependency
dependency
 groupIdlog4j/groupId
 artifactIdlog4j/artifactId
 version1.2.14/version
/dependency
 /dependencies
 
 build
  plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
  source1.5/source
  target1.5/target
   /configuration
/plugin
  /plugins
 /build
 
 /project
 
 
 
 
 
 
 
 
 
 --
 View this message in context:
 http://www.nabble.com/Cannot-checkout-sourcesInvalid-SCM-URL-tf435
 5448.html#a12411221 Sent from the Continuum - Users mailing list 
 archive at Nabble.com.
 
 
 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.
 **
 
 
 

--
View this message in context: 
http://www.nabble.com/Cannot-checkout-sourcesInvalid-SCM-URL-tf4355448.html#a12411480
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread mfs

Thanks man..got it fixed...thats the url i used ...

scm:svn:http://localhost/svn/repos/pdfp in the
connection/developerConnection

Actually i did try this earlier as well but the reason it wasnt working
was..after uploading the project pom the first time..i was just updating the
pom.xml and committing the changes which never took effect..and this time i
re-added the m2 project and the url worked.

Thanks and Regards,
Farhan.



mfs wrote:
 
 Hello Everyone,
 
 I am getting this error on a build done through continuum...
 
 Exception:
 Cannot checkout sources.//localhost/pdfp url isn't a valid svn URL.
 The scm url is invalid.
 
 which i am not able to figure out why...any help is much appreciated..am
 using maven 2 with sub-version..nyways have also pasted the contents of
 the pom files below..Let me add that i am getting a build-fail email, on
 the emails configured in my pom.xml..
 
 Thanks in advance and Regards,
 
 Farhan.
 
 
 --
 
 ?xml version=1.0 encoding=UTF-8?
 
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
 
 modelVersion4.0.0/modelVersion
 
 
 
 groupIdcompany.share/groupId
 artifactIdpdfp/artifactId
 version1.X-SNAPSHOT/version
 
 nameShare : PDFP/name
 packagingjar/packaging
 
 scm 
   !--connectionscm:svn:svn://localhost/pdfp/connection-- 
   connectionscm:svn://localhost/svn/repos/pdfp/connection 
 
 !--developerConnectionscm:svn:svn://localhost/pdfp/developerConnection-- 
   developerConnectionscm:svn://localhost/pdfp/developerConnection 
   urlhttp://localhost/svn/repos/pdfp/url
 /scm
 
 developers 
   developer 
   idradams/id 
   nameRobert/name 
   [EMAIL PROTECTED] 
   /developer 
 /developers
 
 ciManagement
   systemcontinuum/system
   notifiers
notifier
  typemail/type
  configuration
 address[EMAIL PROTECTED]/address
  /configuration
 /notifier
   /notifiers
 /ciManagement
 
 
  
 dependencies
dependency
 groupIditext/groupId
 artifactIditext/artifactId
 version2.0.4/version
/dependency
dependency
 groupIdlog4j/groupId
 artifactIdlog4j/artifactId
 version1.2.14/version
/dependency
 /dependencies
 
 build
  plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
  source1.5/source
  target1.5/target
   /configuration
/plugin
  /plugins
 /build
 
 /project
 
 
 
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cannot-checkout-sourcesInvalid-SCM-URL-tf4355448.html#a12411955
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs

I just upgraded to the 1.1-beta and still the same problem...


mfs wrote:
 
 Dear All,
 
 I am getting this strange behavior where even on a build-failure (as
 below) as shown in the Result, the success icon is shown against the
 project on show-project screen and same is the case with history screen
 against a project...and even no emails are sent as its intrepreting that
 the build is a success (dont know why) and no state change since last
 build..
 
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Share : PDFP
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean]
 [INFO] Deleting directory C:\continuum\continuum_wd\8\target
 [INFO] Deleting directory C:\continuum\continuum_wd\8\target\classes
 [INFO] Deleting directory C:\continuum\continuum_wd\8\target\test-classes
 [INFO] Deleting directory C:\continuum\continuum_wd\8\target\site
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:compile]
 [INFO] Compiling 18 source files to
 C:\continuum\continuum_wd\8\target\classes
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 C:\continuum\continuum_wd\8\src\main\java\vaudit\pdfp\PdfField.java:[1,0]
 'class' or 'interface' expected
 
 
 
 C:\continuum\continuum_wd\8\src\main\java\vaudit\pdfp\PdfField.java:[1,0]
 'class' or 'interface' expected
 
 
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Thu Aug 30 11:01:50 PDT 2007
 [INFO] Final Memory: 4M/8M
 [INFO]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Strange---Success-icon-shown-and-no-emails-sent-in-case-of-build-failure-tf4355976.html#a12416144
Sent from the Continuum - Users mailing list archive at Nabble.com.



Trying to run both Archiva and Continuum

2007-08-30 Thread Hilco Wijbenga
Hi all,

I'm trying to set up both Archiva and Continuum on the same box. I
would like to have them run in the same Plexus instance and on the
same port number but that seems too complicated to accomplish (for me
:-) ).

I found an email by Arnaud Bailly (Continuum+archiva in same
application) but the information seems out of date.

Giving up on one Plexus instance and a single port number ... how
about sharing the user database?

I changed the database location in plexus.conf (both in Archiva and
Continuum) and now both Continuum and Archiva use the same database
... but apparently not at the same time. I can run either Archiva *or*
Continuum but not both. The app that gets started last fails to
connect to the user database.

I had a look on the Plexus site to see if I could find anything there
(I assume I have to configure Plexus somehow to get this to work) but
no luck.

Would anyone be able to shed some light on this and/or point me in the
right direction?

Cheers,
Hilco


Re: Trying to run both Archiva and Continuum

2007-08-30 Thread Hilco Wijbenga
P.S. I'm using the latests releases: Archiva 1.0-beta-1 and Continuum
1.1-beta-2.

On 8/30/07, Hilco Wijbenga [EMAIL PROTECTED] wrote:
 Hi all,

 I'm trying to set up both Archiva and Continuum on the same box. I
 would like to have them run in the same Plexus instance and on the
 same port number but that seems too complicated to accomplish (for me
 :-) ).

 I found an email by Arnaud Bailly (Continuum+archiva in same
 application) but the information seems out of date.

 Giving up on one Plexus instance and a single port number ... how
 about sharing the user database?

 I changed the database location in plexus.conf (both in Archiva and
 Continuum) and now both Continuum and Archiva use the same database
 ... but apparently not at the same time. I can run either Archiva *or*
 Continuum but not both. The app that gets started last fails to
 connect to the user database.

 I had a look on the Plexus site to see if I could find anything there
 (I assume I have to configure Plexus somehow to get this to work) but
 no luck.

 Would anyone be able to shed some light on this and/or point me in the
 right direction?

 Cheers,
 Hilco



RE: Trying to run both Archiva and Continuum

2007-08-30 Thread LAMY Olivier
Hi,
Have a look here 
https://svn.apache.org/repos/asf/maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml
 .

This is a project which build this type of distrib.

Use the correct version for war dependencies 
(org.apache.maven.continuum:continuum-webapp and 
org.apache.maven.archiva:archiva-webapp).

Look at the plexus.xml file [1] and add a component :

component
  roleorg.codehaus.plexus.contextualizer.Contextualizer/role
  role-hintjettyConfiguration/role-hint
  
implementationorg.codehaus.plexus.contextualizer.DefaultContextualizer/implementation
  configuration
contextValues
  !-- shared http port --
  jetty.port8080/jetty.port
/contextValues
  /configuration
/component

HTH,

--
Olivier

[1]https://svn.apache.org/repos/asf/maven/sandbox/trunk/enterprise/enterprise-runtime/src/conf/plexus.xml
 

-Message d'origine-
De : Hilco Wijbenga [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 30 août 2007 23:08
À : Archiva Users; Continuum Users
Objet : Re: Trying to run both Archiva and Continuum

P.S. I'm using the latests releases: Archiva 1.0-beta-1 and Continuum 
1.1-beta-2.

On 8/30/07, Hilco Wijbenga [EMAIL PROTECTED] wrote:
 Hi all,

 I'm trying to set up both Archiva and Continuum on the same box. I 
 would like to have them run in the same Plexus instance and on the 
 same port number but that seems too complicated to accomplish (for me
 :-) ).

 I found an email by Arnaud Bailly (Continuum+archiva in same
 application) but the information seems out of date.

 Giving up on one Plexus instance and a single port number ... how 
 about sharing the user database?

 I changed the database location in plexus.conf (both in Archiva and
 Continuum) and now both Continuum and Archiva use the same database 
 ... but apparently not at the same time. I can run either Archiva *or* 
 Continuum but not both. The app that gets started last fails to 
 connect to the user database.

 I had a look on the Plexus site to see if I could find anything there 
 (I assume I have to configure Plexus somehow to get this to work) but 
 no luck.

 Would anyone be able to shed some light on this and/or point me in the 
 right direction?

 Cheers,
 Hilco



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: Deployment Repository Directory in case of artifactory ?

2007-08-30 Thread Brett Porter
You should change the Maven goals to be deploy instead of install,
and configuration the distributionManagement appropriately. It's best
to just let Maven handle it :)

Cheers,
Brett

On 31/08/2007, mfs [EMAIL PROTECTED] wrote:

 Hello Guys,

 I am using artifactory as the repository manager and would want to configure
 continuum such that the build(s) done by it (for m2 projects) are deployed
 on the artifactory m2 repository. Now as you would know artifactory uses the
 derby db to store the artifacts (rather than in the file-system) and hence i
 cant give a directory path to the artifactory repository ... anyone has any
 idea as to how to make it work...gave a try though to give the http url to
 artifactory repo but that rather was appended in the form
 c:\appl\..\http://localhost/svn/repos..so that obviously isnt the way
 to go about it...?

 Thanks in advance and Regards,

 Farhan.


 --
 View this message in context: 
 http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a12417891
 Sent from the Continuum - Users mailing list archive at Nabble.com.




-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/