HTML panels problem with css style and $APP_NAME, $APP_VER in console installer

Description

Step to reproduce:
1. Create hello.html with the following content
<html>
<head>
<title>Welcome</title>
<style>

  • { font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;}
    h1 { font-size: 20pt; }
    span.text { font-size: 14pt; }
    span.footer { display: block; font-size: 12pt; }
    body { background-color: #EDEDED; }
    </style>
    </head>
    <body>
    <table width="100%" cellpadding=10 border=0>
    <tr>
    <td align="right" valign="top">
    <h1>Welcome to $APP_NAME $APP_VER</h1>
    </td>
    </tr>
    </table>
    </body>
    </html>

2. Add this file like a resource of HTMLHelloPanel into install.xml
<resources>
<res id="HTMLHelloPanel.info" src="resources/hello.html" />
</resources>

3. Add HTMLHelloPanel into panels section
<panels>
<panel classname="HTMLHelloPanel" id="HTMLHelloPanel" />
</panels>

4. Build installer

5. Launch jar with console key

The console installation looks odd, see pic1.jpg (attached to this issue).

But when installer is started without console mode, all is ok.

Environment

Linux Ubuntu 12.10, MS Windows 7

Assignee

Patrick Reinhart

Reporter

Former user

Impact

None

Components

Affects versions

Priority

Medium
Configure