+ getClass().getResource( "izpack_install_shortcuts_windows.xml" )
+ getClass().getResource( WINDSOWS_SHORTCUTS )
    private void doIzPackFiles() throws MojoFailureException    {        // -------------------------------------------------------------------        // For windows we include use a different template file than for unix        // if the project does not supply one.  We also add the windows short-        // cuts file template as well in the same fashion.  Also a native dll        // is deposited outside of the image folder to create windows shortcuts        // -------------------------------------------------------------------        if ( target.getOsFamily().equals( "windows" ) )        {            // handle the installer file            if ( target.getIzPackInstallFile().exists() )            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         target.getIzPackInstallFile(), izPackInput, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy project supplied izpack install file template "                          + target.getIzPackInstallFile() + " into position " + izPackInput, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using project supplied installer configuration file: "                         + target.getIzPackInstallFile() );                }            }            else            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         getClass().getResourceAsStream( "izpack_install_windows_template.xml" ), izPackInput, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy bundled izpack windows install file "                          + getClass().getResource( "izpack_install_windows_template.xml" )                        + " into position " + izPackInput, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using bundled installer configuration file: "                         + getClass().getResource( "izpack_install_windows_template.xml" ) );                }            }            // handle the windows shortcuts file             if ( target.getIzPackShortcutsWindowsFile().exists() )            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         target.getIzPackShortcutsWindowsFile(), izPackWindowsShortcuts, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy project supplied izpack windows shortcuts file "                          + target.getIzPackShortcutsWindowsFile()                        + " into position " + izPackWindowsShortcuts, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using project supplied windows shortcuts configuration file: "                         + target.getIzPackShortcutsWindowsFile() );                }            }            else            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         getClass().getResourceAsStream( "izpack_install_shortcuts_windows.xml" ), izPackWindowsShortcuts, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy bundled izpack windows shortcuts file "                          + getClass().getResource( "izpack_install_shortcuts_windows.xml" )                        + " into position " + izPackWindowsShortcuts, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using bundled windows shortcuts configuration file: "                         + getClass().getResource( "izpack_install_shortcuts_windows.xml" ) );                }            }                        // copy the ShellLink creation dll into the images folder            try            {                MojoHelperUtils.copyBinaryFile( getClass().getResourceAsStream( "ShellLink.dll" ), shellLinkDll );            }            catch ( IOException e )            {                mymojo.getLog().error( "Failed to copy izpack shellLinkDll file "                      + getClass().getResource( "ShellLink.dll" )                    + " into position " + shellLinkDll, e );            }        }        else if ( target.getOsFamily().equals( "unix" ) || target.getOsFamily().equals( "mac" ) )        {            if ( target.getIzPackInstallFile().exists() )            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         target.getIzPackInstallFile(), izPackInput, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy project supplied izpack input file "                          + target.getIzPackInstallFile()                        + " into position " + izPackInput, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using project supplied installer configuration file: "                         + target.getIzPackInstallFile() );                }            }            else            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         getClass().getResourceAsStream( "izpack_install_unix_template.xml" ), izPackInput, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy bundled izpack input file for unix "                          + getClass().getResource( "izpack_install_unix_template.xml" )                        + " into position " + izPackInput, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using bundled installer configuration file: "                         + getClass().getResource( "izpack_install_unix_template.xml" ) );                }            }            if ( target.getIzPackShortcutsUnixFile().exists() )            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         target.getIzPackShortcutsUnixFile(), izPackUnixShortcuts, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy project supplied izpack unix shortcuts file "                          + target.getIzPackShortcutsUnixFile()                        + " into position " + izPackUnixShortcuts, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using project supplied unix shortcuts configuration file: "                         + target.getIzPackShortcutsUnixFile() );                }            }            else            {                try                {                    MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                         getClass().getResourceAsStream( "izpack_install_shortcuts_unix.xml" ), izPackUnixShortcuts, true );                }                catch ( IOException e )                {                    mymojo.getLog().error( "Failed to copy bundled izpack unix shortcuts file "                          + getClass().getResource( "izpack_install_shortcuts_unix.xml" )                        + " into position " + izPackUnixShortcuts, e );                }                                if ( mymojo.getLog().isInfoEnabled() )                {                    mymojo.getLog().info( "Using bundled unix shortcuts configuration file: "                         + getClass().getResource( "izpack_install_shortcuts_unix.xml" ) );                }            }            try            {                MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                     getClass().getResourceAsStream( "../template.init" ), layout.getInitScript(), true );            }            catch ( IOException e )            {                mymojo.getLog().error( "Failed to copy init script "                      + getClass().getResource( "../template.init" )                    + " into position " + layout.getInitScript(), e );            }        }        if ( target.getIzPackUserInputFile().exists() )        {            try            {                MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                     target.getIzPackUserInputFile(), izPackUserInput, true );            }            catch ( IOException e )            {                mymojo.getLog().error( "Failed to copy project supplied izpack input file "                      + target.getIzPackUserInputFile()                    + " into position " + izPackUserInput, e );            }                        if ( mymojo.getLog().isInfoEnabled() )            {                mymojo.getLog().info( "Using project supplied user input configuration file: "                     + target.getIzPackUserInputFile() );            }        }        else        {            try            {                MojoHelperUtils.copyAsciiFile( mymojo, filterProperties,                     getClass().getResourceAsStream( "izpack_install_user_input.xml" ), izPackUserInput, true );            }            catch ( IOException e )            {                mymojo.getLog().error( "Failed to copy bundled izpack input file "                      + getClass().getResource( "izpack_install_user_input.xml" )                    + " into position " + izPackUserInput, e );            }                        if ( mymojo.getLog().isInfoEnabled() )            {                mymojo.getLog().info( "Using bundled user input configuration file: "                     + target.getIzPackUserInputFile() );            }        }    }