Re: clover issue when executing from a high level multi modules pom.xml?

2007-08-16 Thread Baz
Anyone? I try to add ${basedir} in various places but still not working.
What changes should I make?

On 8/15/07, Baz <[EMAIL PROTECTED]> wrote:
>
> It seems like the paths are set in the parent pom.xml for clover
> implementation:
>
> build/clover/src/**/*.java
>  implementation="java.lang.String">build/clover/src/something/**/*.java
>
>
> build directory is the local output directory - product_A/module/build
> directory
>
> So my guess is: When executing in a few directories level up, the clover
> is still looking for ./build directory and hence it failed.
>
> What can i do so that the clover is looking for relative path? So that it
> will work locally or using high level multi modules pom file?
>
> Thanks.
>
> B.
>
>
>  On 8/15/07, Baz <[EMAIL PROTECTED]> wrote:
> >
> > All,
> >
> > I am having issues when running clover through a high level multi module
> > pom.xml.
> >
> > Here are the directory structure:
> >
> > products/
> >pom.xml
> >/product_A/module/pom.xml
> >/product_B/module/pom.xml
> >
> > Here are the symptoms:
> >
> > 1. products/pom.xml will run "mvn clean install" with
> > product_A/module/pom.xml and product_B/module/pom.xml. It works fine.
> >
> > 2. If I change the command to "mvn clean install -Dclover.skip=false"
> > then it will failed.
> >
> > 3. If I go into product_A/module/ and product_B/module individually and
> > type "mvn clean install -Dclover.skip=false" then it works fine.
> >
> > Error message:
> >
> > [INFO] [clover:instrumentInternal]
> >
> >   *** ERROR: No source files specified
> >
> >   USAGE: com.cenqua.clover.CloverInstr [OPTIONS] PARAMS [FILES...]
> >
> >   PARAMS:
> > -i, --initstring   Clover initstring. This is the path to
> > the dbfi
> > le that
> >
> > Blah blah blah...
> >
> > Can anyone help? I suspect is the path of the source files mixed up
> > since I am not executing in the local directory anymore. But how can i fix
> > it?
> >
> > Thanks.
> >
> >
> >
> >
>
>


Re: clover issue when executing from a high level multi modules pom.xml?

2007-08-15 Thread Baz
It seems like the paths are set in the parent pom.xml for clover
implementation:

build/clover/src/**/*.java
build/clover/src/something/**/*.java

build directory is the local output directory - product_A/module/build
directory

So my guess is: When executing in a few directories level up, the clover is
still looking for ./build directory and hence it failed.

What can i do so that the clover is looking for relative path? So that it
will work locally or using high level multi modules pom file?

Thanks.

B.


On 8/15/07, Baz <[EMAIL PROTECTED]> wrote:
>
> All,
>
> I am having issues when running clover through a high level multi module
> pom.xml.
>
> Here are the directory structure:
>
> products/
>pom.xml
>/product_A/module/pom.xml
>/product_B/module/pom.xml
>
> Here are the symptoms:
>
> 1. products/pom.xml will run "mvn clean install" with
> product_A/module/pom.xml and product_B/module/pom.xml. It works fine.
>
> 2. If I change the command to "mvn clean install -Dclover.skip=false" then
> it will failed.
>
> 3. If I go into product_A/module/ and product_B/module individually and
> type "mvn clean install -Dclover.skip=false" then it works fine.
>
> Error message:
>
> [INFO] [clover:instrumentInternal]
>
>   *** ERROR: No source files specified
>
>   USAGE: com.cenqua.clover.CloverInstr [OPTIONS] PARAMS [FILES...]
>
>   PARAMS:
> -i, --initstring   Clover initstring. This is the path to
> the dbfi
> le that
>
> Blah blah blah...
>
> Can anyone help? I suspect is the path of the source files mixed up since
> I am not executing in the local directory anymore. But how can i fix it?
>
> Thanks.
>
>
>
>


clover issue when executing from a high level multi modules pom.xml?

2007-08-15 Thread Baz
All,

I am having issues when running clover through a high level multi module
pom.xml.

Here are the directory structure:

products/
   pom.xml
   /product_A/module/pom.xml
   /product_B/module/pom.xml

Here are the symptoms:

1. products/pom.xml will run "mvn clean install" with
product_A/module/pom.xml and product_B/module/pom.xml. It works fine.

2. If I change the command to "mvn clean install -Dclover.skip=false" then
it will failed.

3. If I go into product_A/module/ and product_B/module individually and type
"mvn clean install -Dclover.skip=false" then it works fine.

Error message:

[INFO] [clover:instrumentInternal]

  *** ERROR: No source files specified

  USAGE: com.cenqua.clover.CloverInstr [OPTIONS] PARAMS [FILES...]

  PARAMS:
-i, --initstring   Clover initstring. This is the path to the
dbfi
le that

Blah blah blah...

Can anyone help? I suspect is the path of the source files mixed up since I
am not executing in the local directory anymore. But how can i fix it?

Thanks.