Tanya Error pada Compile install.Xml di IzPack

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Tanya Error pada Compile install.Xml di IzPack

syarif_0077
Dear Master,

Saya sedang mencoba tuk membuat installer dari program database saya dengan menggunakan Izpack 4.3.5. Setelah install Izpack, pada bagian compile terjadi error sbb:   (Mohon petunjuk untuk cara perbaikannya)

 C:\Program Files (x86)\IzPack\sample\simple>..\..\bin\compile install.xml
 
 .::  IzPack - Version 4.3.5 ::.
 
 < compiler specifications version: 1.0 >
 
 - Copyright (c) 2001-2008 Julien Ponge
 - Visit http://izpack.org/ for the latest releases
 - Released under the terms of the Apache Software License version 2.0.
 
 -> Processing  : install.xml
 -> Output      : install.jar
 -> Base path   : .
 -> Kind        : standard
 -> Compression : default
 -> Compr. level: -1
 -> IzPack home : C:\Program Files (x86)\IzPack\bin\..
 
 Adding resource: IzPack.uninstaller
 Setting the installer information
 Setting the GUI preferences
 Adding langpack: eng
 Adding resource: flag.eng
 Adding langpack: fra
 Adding resource: flag.fra
 Adding resource: LicencePanel.licence
 Adding resource: InfoPanel.info
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/HelloPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/InfoPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/LicencePanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/TargetPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/PacksPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/InstallPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/FinishPanel.jar
 Building installer jar: C:\Program Files (x86)\IzPack\sample\simple\install.jar
 -> Fatal error :
    install.jar (Access is denied)
 java.io.FileNotFoundException: install.jar (Access is denied)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
         at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:250)
 
         at com.izforge.izpack.util.JarOutputStream.<init>(Unknown Source)
         at com.izforge.izpack.compiler.Packager.getJarOutputStream(Unknown Sourc
 e)
         at com.izforge.izpack.compiler.Packager.createInstaller(Unknown Source)
         at com.izforge.izpack.compiler.Compiler.createInstaller(Unknown Source)
         at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown So
 urce)
         at com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
         at com.izforge.izpack.compiler.Compiler.main(Unknown Source)
 
 (tip : use -? to get the commmand line parameters)
 


Mohon bantuan Master apa yang salah, bagaimana memperbaikinya

Terima kasih
Syarif
Reply | Threaded
Open this post in threaded view
|

Re: Tanya Error pada Compile install.Xml di IzPack

Ikhsan Tama
bismillah, ane cuba jawab

itu sepertinya karena ini install.jar (Access
is denied), coba user permissionnya diganti, biar bisa diakses


CMIIW :D





On Wednesday, October 30, 2013 1:56 PM, "[hidden email]" <[hidden email]> wrote:
 
 
Dear Master,

Saya sedang mencoba tuk membuat installer dari program database saya dengan menggunakan Izpack 4.3.5. Setelah install Izpack, pada bagian compile terjadi error sbb:   (Mohon petunjuk untuk cara perbaikannya)


C:\Program Files
(x86)\IzPack\sample\simple>..\..\bin\compile install.xml
 
.::  IzPack - Version
4.3.5 ::.
 
< compiler specifications version: 1.0 >
 
- Copyright (c) 2001-2008 Julien Ponge
- Visit http://izpack.org/ for the latest releases
- Released under the terms of the Apache Software License
version 2.0.
 
-> Processing  :
install.xml
-> Output      :
install.jar
-> Base path   : .
-> Kind        :
standard
-> Compression : default
-> Compr. level: -1
-> IzPack home : C:\Program Files (x86)\IzPack\bin\..
 
Adding resource: IzPack.uninstaller
Setting the installer information
Setting the GUI preferences
Adding langpack: eng
Adding resource: flag.eng
Adding langpack: fra
Adding resource: flag.fra
Adding resource: LicencePanel.licence
Adding resource: InfoPanel.info
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/HelloPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/InfoPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/LicencePanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/TargetPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/PacksPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/InstallPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/FinishPanel.jar
Building installer jar: C:\Program Files
(x86)\IzPack\sample\simple\install.jar
-> Fatal error :
   install.jar (Access
is denied)
java.io.FileNotFoundException: install.jar (Access is
denied)
        at
java.io.FileOutputStream.open(Native Method)
        at
java.io.FileOutputStream.<init>(FileOutputStream.java:212)
        at
java.io.FileOutputStream.<init>(FileOutputStream.java:165)
        at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:250)
 
        at
com.izforge.izpack.util.JarOutputStream.<init>(Unknown Source)
        at
com.izforge.izpack.compiler.Packager.getJarOutputStream(Unknown Sourc
e)
        at
com.izforge.izpack.compiler.Packager.createInstaller(Unknown Source)
        at
com.izforge.izpack.compiler.Compiler.createInstaller(Unknown Source)
        at
com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown So
urce)
        at
com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
        at
com.izforge.izpack.compiler.Compiler.main(Unknown Source)
 
(tip : use -? to get the commmand line parameters)


Mohon bantuan Master apa yang salah, bagaimana memperbaikinya

Terima kasih
Syarif
Reply | Threaded
Open this post in threaded view
|

Bls: [netbeans-indonesia] Tanya Error pada Compile install.Xml di IzPack

syarif_0077
Terima kasih Mas Ikhsan,

Saya sudah perbaiki user control nya, kemudian yang pesan yang muncul adalah file doesn't exist:
-> Fatal error :
   Configuration file
does not exist: C:\Program Files (x86)\IzPack\sample\simple\install.jar
com.izforge.izpack.compiler.CompilerException: Configuration
file does not exist
: C:\Program Files (x86)\IzPack\sample\simple\install.jar
        at
com.izforge.izpack.compiler.CompilerConfig.assertIsNormalReadableFile
(Unknown Source)
        at
com.izforge.izpack.compiler.CompilerConfig.getXMLTree(Unknown Source)
        at
com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown Source)
        at
com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
        at
com.izforge.izpack.compiler.Compiler.main(Unknown Source)

bukankah pada perintah ini untuk membuat install.jar? tapi yg keluar install.jar doesn't exist.
Saya pakai perintah di manual izpack:
 ..\..\bin\compile
install.xml -b . -o install.jar -k standard
kemudian yang muncul message pertama install.jar Access is Denied

Berharap bantuannya dari Master2 sekalian.
Terima kasih



Pada Rabu, 30 Oktober 2013 14:11, Ikhsan Tama <[hidden email]> menulis:
 
 
bismillah, ane cuba jawab

itu sepertinya karena ini install.jar (Access
is denied), coba user permissionnya diganti, biar bisa diakses


CMIIW :D





On Wednesday, October 30, 2013 1:56 PM, "[hidden email]" <[hidden email]> wrote:
 
 
Dear Master,

Saya sedang mencoba tuk membuat installer dari program database saya dengan menggunakan Izpack 4.3.5. Setelah install Izpack, pada bagian compile terjadi error sbb:   (Mohon petunjuk untuk cara perbaikannya)


C:\Program Files
(x86)\IzPack\sample\simple>..\..\bin\compile install.xml
 
.::  IzPack - Version
4.3.5 ::.
 
< compiler specifications version: 1.0 >
 
- Copyright (c) 2001-2008 Julien Ponge
- Visit http://izpack.org/ for the latest releases
- Released under the terms of the Apache Software License
version 2.0.
 
-> Processing  :
install.xml
-> Output      :
install.jar
-> Base path   : .
-> Kind        :
standard
-> Compression : default
-> Compr. level: -1
-> IzPack home : C:\Program Files (x86)\IzPack\bin\..
 
Adding resource: IzPack.uninstaller
Setting the installer information
Setting the GUI preferences
Adding langpack: eng
Adding resource: flag.eng
Adding langpack: fra
Adding resource: flag.fra
Adding resource: LicencePanel.licence
Adding resource: InfoPanel.info
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/HelloPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/InfoPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/LicencePanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/TargetPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/PacksPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/InstallPanel.jar
Adding content of jar:
file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
mpiler.jar!/bin/panels/FinishPanel.jar
Building installer jar: C:\Program Files
(x86)\IzPack\sample\simple\install.jar
-> Fatal error :
   install.jar (Access
is denied)
java.io.FileNotFoundException: install.jar (Access is
denied)
        at
java.io.FileOutputStream.open(Native Method)
        at
java.io.FileOutputStream.<init>(FileOutputStream.java:212)
        at
java.io.FileOutputStream.<init>(FileOutputStream.java:165)
        at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:250)
 
        at
com.izforge.izpack.util.JarOutputStream.<init>(Unknown Source)
        at
com.izforge.izpack.compiler.Packager.getJarOutputStream(Unknown Sourc
e)
        at
com.izforge.izpack.compiler.Packager.createInstaller(Unknown Source)
        at
com.izforge.izpack.compiler.Compiler.createInstaller(Unknown Source)
        at
com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown So
urce)
        at
com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
        at
com.izforge.izpack.compiler.Compiler.main(Unknown Source)
 
(tip : use -? to get the commmand line parameters)


Mohon bantuan Master apa yang salah, bagaimana memperbaikinya

Terima kasih
Syarif


Reply | Threaded
Open this post in threaded view
|

RE: Re: [netbeans-indonesia] Tanya Error pada Compile install.Xml di IzPack

syarif_0077
In reply to this post by Ikhsan Tama


 

 Saya sudah perbaiki user control nya, kemudian pesan error lain yang muncul adalah file doesn't exist:


 
 -> Fatal error :
    Configuration file does not exist: C:\Program Files (x86)\IzPack\sample\simple\install.jar
 com.izforge.izpack.compiler.CompilerException: Configuration file does not exist
 : C:\Program Files (x86)\IzPack\sample\simple\install.jar
         at com.izforge.izpack.compiler.CompilerConfig.assertIsNormalReadableFile
 (Unknown Source)
         at com.izforge.izpack.compiler.CompilerConfig.getXMLTree(Unknown Source)
         at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown Source)
         at com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
         at com.izforge.izpack.compiler.Compiler.main(Unknown Source)
 

 bukankah pada perintah ini untuk membuat install.jar? tapi yg keluar install.jar doesn't exist.
 Saya juga coba pakai perintah menurut manual izpack, sbb:

  ..\..\bin\compile install.xml -b . -o install.jar -k standard
 kemudian yang muncul message pertama install.jar Access is Denied
 

 Berharap bantuannya dari Master2 sekalian.
 Terima kasih
 
 

---In [hidden email], <[hidden email]> wrote:

 bismillah, ane cuba jawab
 

 itu sepertinya karena ini install.jar (Access is denied), coba user permissionnya diganti, biar bisa diakses

 

 CMIIW :D


 
 
 On Wednesday, October 30, 2013 1:56 PM, "syarif_0077@..." <syarif_0077@...> wrote:
 
   Dear Master,

Saya sedang mencoba tuk membuat installer dari program database saya dengan menggunakan Izpack 4.3.5. Setelah install Izpack, pada bagian compile terjadi error sbb:   (Mohon petunjuk untuk cara perbaikannya)

 
 C:\Program Files (x86)\IzPack\sample\simple>..\..\bin\compile install.xml
 
 .::  IzPack - Version 4.3.5 ::.
 
 < compiler specifications version: 1.0 >
 
 - Copyright (c) 2001-2008 Julien Ponge
 - Visit http://izpack.org/ for the latest releases
 - Released under the terms of the Apache Software License version 2.0.
 
 -> Processing  : install.xml
 -> Output      : install.jar
 -> Base path   : .
 -> Kind        : standard
 -> Compression : default
 -> Compr. level: -1
 -> IzPack home : C:\Program Files (x86)\IzPack\bin\..
 
 Adding resource: IzPack.uninstaller
 Setting the installer information
 Setting the GUI preferences
 Adding langpack: eng
 Adding resource: flag.eng
 Adding langpack: fra
 Adding resource: flag.fra
 Adding resource: LicencePanel.licence
 Adding resource: InfoPanel.info
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/HelloPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/InfoPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/LicencePanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/TargetPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/PacksPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/InstallPanel.jar
 Adding content of jar: file:/C:/Program%20Files%20(x86)/IzPack/lib/standalone-co
 mpiler.jar!/bin/panels/FinishPanel.jar
 Building installer jar: C:\Program Files (x86)\IzPack\sample\simple\install.jar
 -> Fatal error :
    install.jar (Access is denied)
 java.io.FileNotFoundException: install.jar (Access is denied)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
         at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:250)
 
         at com.izforge.izpack.util.JarOutputStream.<init>(Unknown Source)
         at com.izforge.izpack.compiler.Packager.getJarOutputStream(Unknown Sourc
 e)
         at com.izforge.izpack.compiler.Packager.createInstaller(Unknown Source)
         at com.izforge.izpack.compiler.Compiler.createInstaller(Unknown Source)
         at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown So
 urce)
         at com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
         at com.izforge.izpack.compiler.Compiler.main(Unknown Source)
 
 (tip : use -? to get the commmand line parameters)
 


Mohon bantuan Master apa yang salah, bagaimana memperbaikinya

Terima kasih
Syarif