Skip to content

Multi-module build and main classes #3

@ekis

Description

@ekis

According to existing sbt-launch4j documentation, there is no way to configure underlying launch4j so it is unclear what defaults are being used and how - except relying on defaults from Launch4jPlugin.scala.

Since documentation doesn't mention it, it is not clear to me how multi-module builds should be set up or is it even possible - currently, it seems to me sbt-launch4j expects each module to have its own main class, since after executing sbt build-launcher I am seeing error No main classes were found on all modules, except the one bootstrap module which legitimately has mainClass defined.

How can I setup a multi-module build with this plugin? How can I configure the underlying launch4j and where do I need to place the XML file in?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions