[prev in list] [next in list] [prev in thread] [next in thread]
List: dart
Subject: RE: [Dart] Some questions
From: "Tobias Kaupp" <t.kaupp () cas ! edu ! au>
Date: 2006-04-05 11:53:10
Message-ID: 20060405115310.A9C13D59C6C () lhasa ! ucc ! usyd ! edu ! au
[Download RAW message or body]
Olivier,
we've just upgraded to version 0.8.5 and got the emailing working out of the
box (both types: late submitted nightly builds and developer notification
after build errors).
Here are our settings in the Project.xml:
mail.host: mail.usyd.edu.au (our smtp server)
mail.port: 25
mail.from: dart@opium.acfr.usyd.edu.au (where dart server is running)
mail.transport.protocol: smtp
When configuring yourself through the web interface specify <yourProject> as
Project and <yourCvsUsername> (*no* domain, so e.g. only "daffy") as
Repository Id.
Cheers, Tobias
--------------------------------------------------------------
Tobias Kaupp
PhD student
ARC Centre of Excellence for Autonomous Systems
(Australian Centre for Field Robotics)
The Rose St Building, J04
The University of Sydney, NSW 2006
Australia
Phone: +61 2 9351 7154
Fax: +61 2 9351 7474
Email: t.kaupp@cas.edu.au
Web: http://www.acfr.usyd.edu.au/people/postgrads/t.kaupp/
--------------------------------------------------------------
-----Original Message-----
From: dart-bounces+t.kaupp=cas.edu.au@public.kitware.com
[mailto:dart-bounces+t.kaupp=cas.edu.au@public.kitware.com] On Behalf Of
Olivier Warin
Sent: Wednesday, 5 April 2006 2:32 AM
To: Blezek, Daniel J (GE, Research)
Cc: Dart ((E-mail))
Subject: Re: [Dart] Some questions
Le 4 avr. 06 à 17:15, Blezek, Daniel J (GE, Research) a écrit :
> Olivier,
>
> See below for the (slightly edited) log4j.properties file that we
> use on the NAMIC Dart server (www.na-mic.org:8081). It's started with
> this command line:
>
> nohup java -Xmx512M -jar DartServer.jar -l RollingLog.properties
> --refreshServer --refresh NAMICServer Insight CMake Public
> NAMICSandbox Dart &
>
>
> 3) Any changes to Project.xml require a server restart, did you do
> that? Jim implemented this feature, he may chime in. Some day we may
> make a hup option... Generally, the settings stabilize over time.
>
> 4) Funny you should ask... In 0.8.5, Jim put in methods to send
> messages to interested parties when a build breaks. Have a look at
> the latest Dart manual, if it's not in there, we can document it.
> Basically, when a particular server or Project event happens, a
> registered Listener grabs it and decides what to do. We have a build
> errors/warnings Listener that is configured to send email to
> developers who registered with the Dart Server. The mechanism is
> flexible: a text message or IM could be sent as well. The
> configuration isn't the most straightforward, but I think the manual
> should help. We've not yet started using this on NAMIC, but I suspect
> we will in the next few weeks to get the bugs out.
I conf the smtp server in Project.xml then add a mapping project -> owner in
the user interface, is that all ?
Example:
Project UserId
projet daffy@xview.com
> dart@na-mic1:/projects/Dart$ more RollingLog.properties
> log4j.rootLogger=WARN, dailylog # Dart standard?
> # ConversionPattern=<%d{DATE}> [%t] %p %c %n\t%m%n
>
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=<%d{DATE}> [%t] %p % c
> %n\t%m%n
>
> log4j.appender.dailylog=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.dailylog.layout=org.apache.log4j.PatternLayout
> log4j.appender.dailylog.layout.ConversionPattern=<%d{DATE}> [%t] %p %c
> %n\t%m%n log4j.appender.dailylog.File=Dart.log
> log4j.appender.dailylog.DatePattern='.'yyyy-MM-dd
>
>
> -----Original Message-----
> From: Olivier Warin [mailto:daffy@xview.net]
> Sent: Tuesday, April 04, 2006 10:42 AM
> To: Blezek, Daniel J (GE, Research)
> Cc: Dart ((E-mail))
> Subject: Re: [Dart] Some questions
>
>
> Le 4 avr. 06 à 14:53, Blezek, Daniel J ((GE, Research)) a écrit :
>
>> Olivier,
>>
>> 1) The Server doesn't need to handle as many concurrent DB
>> connections. Feel free to bump it up if you need to.
>
> Ok I was just wondering :-)
>
>> 2) I'm assuming you are using the "-l,--logconfiguration File
>> to configure log4j from, defaults are used" command line argument for
>> a custom log4j.properties file? If so, then I would refer you to the
>> log4j documentation. If you do figure this out, please let me know,
>> I've wanted to do exactly the same thing!!!
>
> I have looked at this some weeks ago, without any results, I will
> investigate this tonight.
>
>> 3) RepositoryURL is (poorly) documented on page 26 of Dart.pdf.
>> It's designed to be the base of a Dart constructed URL to go directly
>> to the source code repository entry for files that have changed. By
>> giving the first part of the URL, and telling Dart what type of
>> repository it is, Dart can construct the proper URL to deep-link into
>> ViewCVS, etc...
>
> I understood the concept, I was requesting some informations on its
> effect.
> I do not see any changes when I set those "variables".
>
> 4) Is there a way to advertise some developers via email when a build
> failed ? (some kind of blaming mecanism). If I remember well, I have
> seen such code commented in Server.java or something like this some
> times ago.
> This feature would be really interesting.
>
> Regards,
>
>> -----Original Message-----
>> From: dart-bounces+blezek=crd.ge.com@public.kitware.com
>> [mailto:dart-bounces+blezek=crd.ge.com@public.kitware.com]On
>> Behalf Of
>> Olivier Warin
>> Sent: Tuesday, April 04, 2006 8:15 AM
>> To: Dart ((E-mail))
>> Subject: [Dart] Some questions
>>
>>
>> Hi,
>> 1- Why is Server's MaxActive lower (10) than the projects MaxActive
>> (20) ?
>>
>> 2- Since log4j rotates Dart.log in the DartServer.jar directory, this
>> creates a lot of files, I would like to see them in logs/, changing
>> log4j.appender.dailylog.File=Dart.log
>> to
>> log4j.appender.dailylog.File=logs/Dart.log
>> Does not help, any idea ?
>>
>> 3- What is the aim for <Property name="RepositoryURL">https://</
>> Property>
>> since we can use direct <a href> ?
>>
>> Regards,
>> --
>> Olivier Warin - http://xview.net
>> Stay connected !
>>
>>
>> _______________________________________________
>> Dart mailing list
>> Dart@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/dart
>
> --
> Olivier Warin - http://xview.net
> Stay connected !
>
>
> _______________________________________________
> Dart mailing list
> Dart@public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart
>
--
Olivier Warin - http://xview.net
Stay connected !
_______________________________________________
Dart mailing list
Dart@public.kitware.com
http://public.kitware.com/mailman/listinfo/dart
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic