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

Support for various JNLP tags, like <icon> and <shortcut> #52

Open
TurekBot opened this issue Jul 18, 2017 · 0 comments
Open

Support for various JNLP tags, like <icon> and <shortcut> #52

TurekBot opened this issue Jul 18, 2017 · 0 comments

Comments

@TurekBot
Copy link
Contributor

TurekBot commented Jul 18, 2017

I've finally got this wonderful plugin configured to create a JNLP file for my application.

I noticed that most of the elements under the <information> tag, like <offline-allowed>, and <homepage> are included by default.

Is there a way to configure the plugin to add an icon?

I've added the following to the default template,

...
#if($project.Description)
    <description>$project.Description</description>
#end
#if($icon.Href)
    <icon href="$icon.Href"/>
#end
#if($offlineAllowed)
    <offline-allowed/>
#end
...

But when I give that template to the plugin, I get
[ERROR] Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-inline (default) on project purchase-order-arrivals: Unable to parse configuration of mojo org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-inline for parameter icon: Cannot find 'icon' in class org.codehaus.mojo.webstart.JnlpConfig -> [Help 1]

I think I'm on the right track. I looked at the source and thought maybe it would need to be updated to support icons as well; if so, here's what I've managed so far: #51
Can anyone help?

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

No branches or pull requests

1 participant