Sbt: warning for multiple/no main class in module

Created on 28 Feb 2015  路  2Comments  路  Source: sbt/sbt

For me this should not be a warning. I think it is normal to have no- or multiple main classes in a module.

[warn] No main class detected
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list

I like to have my builds 'warningfree'

Duplicate

Most helpful comment

Can we reopen this?

1766 only fixed the "No main class detected" warning, not "Multiple main classes".

I just rolled back to 0.13.7 so I don't have to see this.

All 2 comments

Duplicate of #1766.
Could you test sbt 0.13.8-M6 and see if it still happens?

Can we reopen this?

1766 only fixed the "No main class detected" warning, not "Multiple main classes".

I just rolled back to 0.13.7 so I don't have to see this.

Was this page helpful?
0 / 5 - 0 ratings