Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Multiple output folders & Sonar/Findbugs

It is possible to produce different nested jars from different source
directories. I don't recall if Tycho exposes per-nested-jar classes
directory via project properties, but this seems like a reasonable
enhancement request if it does not.


On 2013-07-24 6:30 PM, Jeff MAURY wrote:

I don't get your point. Do you refer to the fact that the bundle has
several source folders and each of them has a specific output folder ?
In that case, I suppose that Tycho will generate all the classes in the
standard target/classes folder, no ? In that case, I don't see why the
Findbugs plugin will be in trouble. Unless I missed something.


On Wed, Jul 24, 2013 at 4:02 PM, Mickael Istria <mistria@xxxxxxxxxx
<mailto:mistria@xxxxxxxxxx>> wrote:

    Hi all,

    Some context: I'd like to run Findbugs analysis on Platform code,
    and I'm having an issue with some Platform bundle building nested
    jars. Cf

    As far as I know of Maven, it seems to me that it only support a
    single output folder for classes, and that the Tycho way to have
    multiple output folder is totally independent from Maven
    conventions? Am I right?
    If yes, that would mean that the Findbugs plugin has no way to know
    that there are other class folders, so no chance that it could
    consume them without telling it. However, I'm wondering whether
    Tycho uses a "standard" way to deal with this, which could be
    consumed by Sonar/Findbugs plugins. I'm thinking that maybe those
    directories are stored in a Maven session/project attribute that
    could be consumed by Findbugs.

    Any hint?
    Mickael Istria
    Eclipse developer at JBoss, by Red Hat <>
    My blog <> - My Tweets

    tycho-dev mailing list
    tycho-dev@xxxxxxxxxxx <mailto:tycho-dev@xxxxxxxxxxx>


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
  - Bjarne Stroustrup

tycho-dev mailing list

Back to the top