Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#104 Support multiple launchers (entry points) #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

donmendelson
Copy link

Plugin configuration changed to support multiple instances of launcher. Also, field mainClass is added to the launcher.

Example:

<launchers>
	<launcher>
		<name>xmldiff</name>
		<module>diff.merge</module>
		<mainClass>io.fixprotocol.xml.XmlDiff</mainClass>
	</launcher>
	<launcher>
		<name>xmlmerge</name>
		<module>diff.merge</module>
		<mainClass>io.fixprotocol.xml.XmlMerge</mainClass>
	</launcher>
</launchers>

This configuration adds these parameters to the jlink command line:
--launcher xmldiff=diff.merge/io.fixprotocol.xml.XmlDiff --launcher xmlmerge=diff.merge/io.fixprotocol.xml.XmlMerge

@gunnarmorling
Copy link
Member

@donmendelson, thanks a lot. Feeling really bad about ignoring this for so long :(

Good change overall, one question only: will the previous single launcher configuration still be working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants