Re: EMMA + Sonar

Update: I think it might have something to do with the fact that the code I'm instrumenting for coverage is located in a different directory from the source/compiled code that Sonar is analyzing.  I'm going to take a look at the plugin's source code and see what I can find.

 

On September 27, 2010 at 5:09 PM Neil Shannon <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:

> Yes...
>
> Sent from my iPhone
>
> On Sep 27, 2010, at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > Are you using Sonar's Emma plugin?
> >
> > Summers Pittman
> > ~Java Developer
> >>> Phone:912 293 2314
> >>> Website:www.sagaoftherealms.net
> >
> >
> >
> >
> > On Mon, Sep 27, 2010 at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> Perhaps you could set up a build profile for Sonar which doesn't use Emma?
> >>
> >> It seems weird that using Emma would mess with its code coverage.
> >>
> >> Summers Pittman
> >> ~Java Developer
> >>>> Phone:912 293 2314
> >>>> Website:www.sagaoftherealms.net
> >>
> >>
> >>
> >>
> >> On Mon, Sep 27, 2010 at 9:57 AM, Neil Shannon <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>> Yes, my Junit results are reported correctly.  I've run it without EMMA with normal results.
> >>>
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On Sep 27, 2010, at 9:09 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >>>
> >>>> Does Sonar report your unit test results?
> >>>>
> >>>> Have you tried running Sonar without running Emma?
> >>>>
> >>>> Summers Pittman
> >>>> ~Java Developer
> >>>>>> Phone:912 293 2314
> >>>>>> Website:www.sagaoftherealms.net
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Mon, Sep 27, 2010 at 8:50 AM, nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org
> >>>> <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>>>> Is anyone using EMMA successfully with Sonar?  I have an ant build that
> >>>>> instruments our code with EMMA and collects coverage information for the
> >>>>> unit tests.  The Hudson EMMA plugin picks up the coverage information from
> >>>>> the XML file generated by EMMA fine--but I'm having trouble getting the
> >>>>> Sonar EMMA plugin to show coverage information.
> >>>>>
> >>>>>
> >>>>>
> >>>>> During the Sonar maven goal I can see the EMMA sensor running (it even takes
> >>>>> a few seconds so I know it's finding the .ec and .em report files), but when
> >>>>> I view the project in Sonar the coverage is always 0.0%.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>>
> >>>>>
> >>>>> Neil
> >>>>>
> >>>>> _______________________________________________
> >>>>> ajug-members mailing list
> >>>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>>>
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> ajug-members mailing list
> >>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>> _______________________________________________
> >>> ajug-members mailing list
> >>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>
> >
> > _______________________________________________
> > ajug-members mailing list
> > ajug-members-4vciHtwbE8s@public.gmane.org
> > http://www.ajug.org/mailman/listinfo/ajug-members
>
> _______________________________________________
> ajug-members mailing list
> ajug-members-4vciHtwbE8s@public.gmane.org
> http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
Jay Zimmerman | 5 Oct 18:35 2010

Last Call...Two Day Gradle Training - Next Gen Build System coming Oct 11-12th to ATL (JUG Discount)

TWO DAY GRADLE TRAINING with Hans Dockter, creator of Gradle

Date:  October 11-12th
City: Atlanta
Venue: Hyatt Place Perimeter Center
Discount:  $50 off JUG Members, use promo code: nfjsusergroup50
Offers: Register 4 individuals, get a 5th pass free! & Special Registration package including NFJS pass

Rate:  $1,450/person 


Gradle (www.gradle.org) Training Overview: 

In this intensive and highly practical 2-day Gradle course, you will become familiar with all major concepts of Gradle and how to best use Gradle for simple as well as complex build scenarios. This course is packed with hands-on exercises. You will learn about the basic language elements of the Gradle Domain Specific Language (DSL), how to use Gradle's build-by-convention for plain Java and Java web projects, and how to use the Gradle plugin system. You will find out how easy it is to customize your build. You will learn about Gradle's mighty dependency management. And much more ...


Gradle Training Course Description:

Gradle Introduction

  • What is Gradle
  • Some background information about the Gradle project
  • Installing Gradle
  • Using Gradle via the command-line, the stand alone GUI and the IDE.
  • Gradle build scripts
  • A very short introduction to Groovy

The Core of Gradle - A general purpose build system

  • Background: Directed Acyclic Graphs (DAG) - The heart of (almost) every build system.
  • How to work with Gradle tasks
  • How to create custom task types.
  • Task Dependencies
  • Smart merging when executing multiple tasks.
  • Smart exclusion.
  • How to access and work with the DAG.
  • Hooking into the Gradle build lifecycle.
  • Using the Gradle logging infrastructure.

Introduction to Plugins

  • How do Gradle plugins work. 
  • The different ways of applying plugins to your build.
  • Writing your own plugin.
  • A short overview of available plugins. 

Gradle and the File System

  • The mighty copy functionality. 
  • Archive handling
  • Custom Gradle file types: FileTree and FileCollection 

Using Ant from Gradle

  • The relationship between Ant and Gradle.
  • Using Ant tasks.
  • Deep import of Ant projects.

Dependency Management

  • Overview.
  • Accessing Maven and Ivy repositories.
  • Transitive dependency handling.
  • Using repository-less dependencies.
  • Publishing artifacts.

Maven Integration

  • Pom generation and customization.
  • Publishing to a Maven repository.
  • The Maven2Gradle converter.

Gradle's Deep API

  • Gradle's domain objects are extensible.
  • How to avoid global properties with dynamic properties.
  • Powerful construction rules for Tasks, Dependencies, ...

Gradle's Rich Model for Inputs and Outputs.

  • Gradle's autowiring of task dependencies.
  • Buildable File Collections.
  • Automatic validation of task properties.
  • Declaring your inputs and outputs.
  • Incremental Build

Working with Source Sets

  • What are source set's and why we love them.
  • Declaring and configuring source sets.
  • Using the source set API.

The Java Plugin

  • The Java Plugin tasks: Clean, Javadoc, Compile, Archives
  • Configuring test tasks (A truly rich API in action).

Task Rules

  • What are task rules.
  • Working with task rules.

The Gradle Way

  • The declarative nature of Gradle.
  • Avoiding rigidity.
  • Providing a build language vs. being a framework.
  • All requirements are equal: Custom declarative elements.
  • XML, Groovy and putting lipstick on a pig.

Multi-Project Builds

  • Configuration Injection
  • Filtered Injection
  • Project Dependencies
  • Gradle follows your layout not vice versa.
  • Task and Project paths
  • Lifecycle Tasks and partial builds.
  • Reports
  • The settings.gradle

How to organize your Build Logic

  • Best practices.
  • Using jars, build sources or script plugins in your build script.
  • The gradle.properties
  • Init scripts.

The Gradle Wrapper

  • Why and when to use the Gradle wrapper.
  • Applying the wrapper to your build.
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
Burr Sutter | 12 Oct 15:32 2010
Picon

Today's Java News

http://www.oracle.com/us/corporate/press/176988

and

http://www.sutor.com/c/2010/10/ibm-joins-the-openjdk-community/

Sound great? or sound scary? :-)
Brian Lee | 12 Oct 16:08 2010
Picon

Re: Today's Java News

Scary.  Just finished reading Paul Querna's response (by way of Jim
Jagielski's twitter):
http://journal.paul.querna.org/articles/2010/10/12/java-trap-2010-edition/

Harmony has much better licensing than OpenJDK and this announcement
really cripples Harmony. Java really needs to make up its mind. If
they are open, then open themselves up. If they are proprietary (which
is their right, they did create Java after all), then close up. But
pretending to be open is only going to cause a lot of headaches for
Java developers in the future.

BAL

On Tue, Oct 12, 2010 at 9:32 AM, Burr Sutter <burrsutter@...> wrote:
> http://www.oracle.com/us/corporate/press/176988
>
> and
>
> http://www.sutor.com/c/2010/10/ibm-joins-the-openjdk-community/
>
> Sound great? or sound scary? :-)
>
> _______________________________________________
> ajug-members mailing list
> ajug-members@...
> http://www.ajug.org/mailman/listinfo/ajug-members
>
Vincent | 12 Oct 16:55 2010

Re: Today's Java News

This sounds hopeful on paper, will be looking to see how things change
going forward.
I do feel bad for the Apache Harmony project though.
--
biz: http://www.linkedin.com/in/vincentstoessel/
personal: http://www.xaymaca-studios.com/

On Tue, Oct 12, 2010 at 9:32 AM, Burr Sutter <burrsutter@...> wrote:
> http://www.oracle.com/us/corporate/press/176988
>
> and
>
> http://www.sutor.com/c/2010/10/ibm-joins-the-openjdk-community/
>
> Sound great? or sound scary? :-)
>
> _______________________________________________
> ajug-members mailing list
> ajug-members@...
> http://www.ajug.org/mailman/listinfo/ajug-members
>
JLarrazabal | 12 Oct 22:01 2010

Larrazabal, Jose is out of the office.


I will be out of the office starting  10/11/2010 and will not return until
10/25/2010.

I will respond to your message when I return.
gunnar | 13 Oct 22:18 2010

NoSQL - Projects/Experiences in Atlanta/South-East

Hi everybody,

Is anybody of you working on projects using any of the so-called
"NoSQL" databases?

If so:

- What products are you using? (CouchDB, MongoDB, Cassandra, Voldemort, etc.)
- What are the use-cases you're trying to solve?
- How well did it work for you?
etc.

And even better - Would you be willing to give a mini-session
(10-20min) at one of our AJUG meetings?

At AJUG we never covered that subject explicitly (We touched it
somewhat at the Google AppEngine sessions, we had at the past DevNexus
conference).

Furthermore, at one of our future meetings (Or DevNexus 2011) I would
like to have that subject covered as a general session, providing an
overview of different of the different types of NoSQL implementations
such as document-based, graph-based, key/value, object-based etc.)

Do you have any speakers in mind that would be able to do that in a
vendor neutral way? (Preferably from a Java/JVM-developer's
perspective)

Thanks!

Cheers,

Gunnar
Chris Curtin | 14 Oct 02:30 2010

Re: NoSQL - Projects/Experiences in Atlanta/South-East

Hi Gunnar,

We're using Hadoop and Cascading, so I can give an introduction to that. I did a full presentation about 18 months ago, but I can put together a 15 minute intro.

I'll ask the guys I know doing CouchDB if they would also be interested in a short session.

Let me get some names for you from the NoSQLEast conference that was last October and see if any are local or interested in coming into town to present.

Thanks,

Chris

On Wed, Oct 13, 2010 at 4:18 PM, <gunnar-zbbu/9+EyUFBDgjK7y7TUQ@public.gmane.org> wrote:
Hi everybody,

Is anybody of you working on projects using any of the so-called
"NoSQL" databases?

If so:

- What products are you using? (CouchDB, MongoDB, Cassandra, Voldemort, etc.)
- What are the use-cases you're trying to solve?
- How well did it work for you?
etc.

And even better - Would you be willing to give a mini-session
(10-20min) at one of our AJUG meetings?

At AJUG we never covered that subject explicitly (We touched it
somewhat at the Google AppEngine sessions, we had at the past DevNexus
conference).

Furthermore, at one of our future meetings (Or DevNexus 2011) I would
like to have that subject covered as a general session, providing an
overview of different of the different types of NoSQL implementations
such as document-based, graph-based, key/value, object-based etc.)

Do you have any speakers in mind that would be able to do that in a
vendor neutral way? (Preferably from a Java/JVM-developer's
perspective)

Thanks!

Cheers,

Gunnar


_______________________________________________
ajug-members mailing list
ajug-members-4vciHtwbE8s@public.gmane.org
http://www.ajug.org/mailman/listinfo/ajug-members



--
Thanks,

Chris
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
Casey Dement | 14 Oct 17:01 2010
Picon

Re: NoSQL - Projects/Experiences in Atlanta/South-East

Hi all,

We're currently running Hadoop/Pig in production and in testing with Riak.

For Hadoop, the use case is log processing.  We ingest and parse about 1TB of Apache logs a day via a 12-node cluster (and keep 60 days of parsed data).  We've been in production with the environment since January and have experienced no serious issues.

For Riak...  for years we have been wrestling with how to effectively run multi-master data infrastructures across multiple datacenters.  It can be done with traditional RDBMS' of course, but the cost and effort has always been very difficult to justify.  We're looking at Riak as a much simpler alternative for storing and updating user profile information that will address this limitation.  Still very much in-process, but I'd be glad to present the results when we reach a logical conclusion (either way) in a few months.

Casey



On Oct 13, 2010, at 8:30 PM, Chris Curtin wrote:

Hi Gunnar,

We're using Hadoop and Cascading, so I can give an introduction to that. I did a full presentation about 18 months ago, but I can put together a 15 minute intro.

I'll ask the guys I know doing CouchDB if they would also be interested in a short session.

Let me get some names for you from the NoSQLEast conference that was last October and see if any are local or interested in coming into town to present.

Thanks,

Chris

On Wed, Oct 13, 2010 at 4:18 PM, <gunnar-zbbu/9+EyUFBDgjK7y7TUQ@public.gmane.org> wrote:
Hi everybody,

Is anybody of you working on projects using any of the so-called
"NoSQL" databases?

If so:

- What products are you using? (CouchDB, MongoDB, Cassandra, Voldemort, etc.)
- What are the use-cases you're trying to solve?
- How well did it work for you?
etc.

And even better - Would you be willing to give a mini-session
(10-20min) at one of our AJUG meetings?

At AJUG we never covered that subject explicitly (We touched it
somewhat at the Google AppEngine sessions, we had at the past DevNexus
conference).

Furthermore, at one of our future meetings (Or DevNexus 2011) I would
like to have that subject covered as a general session, providing an
overview of different of the different types of NoSQL implementations
such as document-based, graph-based, key/value, object-based etc.)

Do you have any speakers in mind that would be able to do that in a
vendor neutral way? (Preferably from a Java/JVM-developer's
perspective)

Thanks!

Cheers,

Gunnar


_______________________________________________
ajug-members mailing list
ajug-members-4vciHtwbE8s@public.gmane.org
http://www.ajug.org/mailman/listinfo/ajug-members



--
Thanks,

Chris
_______________________________________________
ajug-members mailing list
ajug-members-4vciHtwbE8s@public.gmane.org
http://www.ajug.org/mailman/listinfo/ajug-members

-------------------------------------------------------
Casey Dement
Architecture Manager
The Weather Channel
770-226-2360

_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
Gunnar Hillert | 14 Oct 21:50 2010

Re: NoSQL - Projects/Experiences in Atlanta/South-East

Hi Casey,

Nice stuff - And sounds like a great AJUG presentation in the making - Let me know which month you would like to present and you get the slot ;-)

It is interesting how 'crowded' the NoSQL space is - Riak (http://wiki.basho.com/display/RIAK/Riak) wasn't even on my radar. I would certainly be interested to hear why you considered it over Cassandra (which in my very high-level understanding is quite similar)...

Chris, yes I remember - That was a great presentation, by the way. Matthew McCullough also did 2 excellent sessions on the Hadoop ecosystem (incl. Pig, HBase, Hive etc.) at NoFluffJustStuff here in Atlanta a few weeks ago. I would certainly be interested in hearing from any CouchDB users.

Cheers,

Gunnar


On 10/14/10 11:01 AM, Casey Dement wrote:
Hi all,

We're currently running Hadoop/Pig in production and in testing with Riak.

For Hadoop, the use case is log processing.  We ingest and parse about 1TB of Apache logs a day via a 12-node cluster (and keep 60 days of parsed data).  We've been in production with the environment since January and have experienced no serious issues.

For Riak...  for years we have been wrestling with how to effectively run multi-master data infrastructures across multiple datacenters.  It can be done with traditional RDBMS' of course, but the cost and effort has always been very difficult to justify.  We're looking at Riak as a much simpler alternative for storing and updating user profile information that will address this limitation.  Still very much in-process, but I'd be glad to present the results when we reach a logical conclusion (either way) in a few months.

Casey



On Oct 13, 2010, at 8:30 PM, Chris Curtin wrote:

Hi Gunnar,

We're using Hadoop and Cascading, so I can give an introduction to that. I did a full presentation about 18 months ago, but I can put together a 15 minute intro.

I'll ask the guys I know doing CouchDB if they would also be interested in a short session.

Let me get some names for you from the NoSQLEast conference that was last October and see if any are local or interested in coming into town to present.

Thanks,

Chris

On Wed, Oct 13, 2010 at 4:18 PM, <gunnar-zbbu/9+EyUFBDgjK7y7TUQ@public.gmane.org> wrote:
Hi everybody,

Is anybody of you working on projects using any of the so-called
"NoSQL" databases?

If so:

- What products are you using? (CouchDB, MongoDB, Cassandra, Voldemort, etc.)
- What are the use-cases you're trying to solve?
- How well did it work for you?
etc.

And even better - Would you be willing to give a mini-session
(10-20min) at one of our AJUG meetings?

At AJUG we never covered that subject explicitly (We touched it
somewhat at the Google AppEngine sessions, we had at the past DevNexus
conference).

Furthermore, at one of our future meetings (Or DevNexus 2011) I would
like to have that subject covered as a general session, providing an
overview of different of the different types of NoSQL implementations
such as document-based, graph-based, key/value, object-based etc.)

Do you have any speakers in mind that would be able to do that in a
vendor neutral way? (Preferably from a Java/JVM-developer's
perspective)

Thanks!

Cheers,

Gunnar


_______________________________________________
ajug-members mailing list
ajug-members-4vciHtwbE8s@public.gmane.org
http://www.ajug.org/mailman/listinfo/ajug-members



--
Thanks,

Chris
_______________________________________________
ajug-members mailing list
ajug-members-4vciHtwbE8s@public.gmane.org
http://www.ajug.org/mailman/listinfo/ajug-members

-------------------------------------------------------
Casey Dement
Architecture Manager
The Weather Channel
770-226-2360

_______________________________________________ ajug-members mailing list ajug-members-4vciHtwbE8s@public.gmane.org http://www.ajug.org/mailman/listinfo/ajug-members

_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members

Gmane