[sip-comm-dev] Problems to create a SC installer


#1

Hi everybody!!
I would like to create an SC installer to probe the changes I've made on
other computers. I've read all the post you have posted here.
I have a problem, when I build the build-installation-window, I have this:
build-installation-windows:
[propertyfile] Creating new property file:
C:\eclipse\Workspace\sip-communicator\release\windows\versionupdate.properties
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\jre
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
   [izpack] Warning:
C:\eclipse\Workspace\sip-communicator/release/windows/tmp/tmp-installer-windows.xml:75:
Panel jar file not found: \Program Files\IzPack\bin\panels\HelloPanel2.jar
   [izpack] Building installer jar:
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\sip-communicator-windows.jar
   [izpack] Copying 62 files into installer
   [izpack] Merging 7 jars into installer
   [izpack] Writing 5 Packs into installer
      [zip] Building zip:
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN-windows.zip
* [exec] Execute failed: java.io.IOException: Cannot run program "7z"
(in directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
CreateProcess error=2, The system cannot find the file specified*
     [copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
   [concat] Binary concatenation of 2 resources to
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN.exe
   [delete] Deleting directory
C:\eclipse\Workspace\sip-communicator\release\windows\tmp

I have installed 7z C:\Program Files\7z.... I don´t know what can be the
problem... any idea???
Thanks in advanced!!

Marta


#2

I think you have to put 7z.exe in your path because
resources\install\build.xml looks for it there. For example, I have
7z.exe installed in C:\Program Files\7-Zip so I execute the following
in Command Prompt prior to running resources\install\build.xml (in the
same Command Prompt):

set PATH=C:\PROGRA~1\7-Zip;%PATH%

I hope it helps.

Regards,
Lubo

···

On Thu, Mar 12, 2009 at 1:53 PM, Marta Luna Serrano <martalun@gmail.com> wrote:

Hi everybody!!
I would like to create an SC installer to probe the changes I've made on
other computers. I've read all the post you have posted here.
I have a problem, when I build the build-installation-window, I have this:
build-installation-windows:
[propertyfile] Creating new property file:
C:\eclipse\Workspace\sip-communicator\release\windows\versionupdate.properties
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\jre
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
[izpack] Warning:
C:\eclipse\Workspace\sip-communicator/release/windows/tmp/tmp-installer-windows.xml:75:
Panel jar file not found: \Program Files\IzPack\bin\panels\HelloPanel2.jar
[izpack] Building installer jar:
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\sip-communicator-windows.jar
[izpack] Copying 62 files into installer
[izpack] Merging 7 jars into installer
[izpack] Writing 5 Packs into installer
[zip] Building zip:
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN-windows.zip
[exec] Execute failed: java.io.IOException: Cannot run program "7z" (in
directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
CreateProcess error=2, The system cannot find the file specified
[copy] Copying 1 file to
C:\eclipse\Workspace\sip-communicator\release\windows\tmp
[concat] Binary concatenation of 2 resources to
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN.exe
[delete] Deleting directory
C:\eclipse\Workspace\sip-communicator\release\windows\tmp

I have installed 7z C:\Program Files\7z.... I don´t know what can be the
problem... any idea???
Thanks in advanced!!

Marta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Thanks Lubo!!
I have put 7z.exe in my path, but I still have the same error...
[exec] Execute failed: java.io.IOException: Cannot run program "7z" (in
directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
CreateProcess error=2, The system cannot find the file specified.
Regards,
Marta

···

2009/3/12 Lubomir Marinov <lubomir.marinov@gmail.com>

I think you have to put 7z.exe in your path because
resources\install\build.xml looks for it there. For example, I have
7z.exe installed in C:\Program Files\7-Zip so I execute the following
in Command Prompt prior to running resources\install\build.xml (in the
same Command Prompt):

set PATH=C:\PROGRA~1\7-Zip;%PATH%

I hope it helps.

Regards,
Lubo

On Thu, Mar 12, 2009 at 1:53 PM, Marta Luna Serrano <martalun@gmail.com> > wrote:
> Hi everybody!!
> I would like to create an SC installer to probe the changes I've made on
> other computers. I've read all the post you have posted here.
> I have a problem, when I build the build-installation-window, I have
this:
> build-installation-windows:
> [propertyfile] Creating new property file:
>
C:\eclipse\Workspace\sip-communicator\release\windows\versionupdate.properties
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp\jre
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [izpack] Warning:
>
C:\eclipse\Workspace\sip-communicator/release/windows/tmp/tmp-installer-windows.xml:75:
> Panel jar file not found: \Program
Files\IzPack\bin\panels\HelloPanel2.jar
> [izpack] Building installer jar:
>
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\sip-communicator-windows.jar
> [izpack] Copying 62 files into installer
> [izpack] Merging 7 jars into installer
> [izpack] Writing 5 Packs into installer
> [zip] Building zip:
>
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN-windows.zip
> [exec] Execute failed: java.io.IOException: Cannot run program "7z"
(in
> directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
> CreateProcess error=2, The system cannot find the file specified
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [concat] Binary concatenation of 2 resources to
>
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN.exe
> [delete] Deleting directory
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
>
> I have installed 7z C:\Program Files\7z.... I don´t know what can be the
> problem... any idea???
> Thanks in advanced!!
>
> Marta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hi everybody!!
Any idea?? Because I don't know what is happening...
Thanks in advance!!
Regards,
Marta

···

2009/3/12 Marta Luna Serrano <martalun@gmail.com>

Thanks Lubo!!
I have put 7z.exe in my path, but I still have the same error...
[exec] Execute failed: java.io.IOException: Cannot run program "7z" (in
directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
CreateProcess error=2, The system cannot find the file specified.
Regards,
Marta

2009/3/12 Lubomir Marinov <lubomir.marinov@gmail.com>

I think you have to put 7z.exe in your path because

resources\install\build.xml looks for it there. For example, I have
7z.exe installed in C:\Program Files\7-Zip so I execute the following
in Command Prompt prior to running resources\install\build.xml (in the
same Command Prompt):

set PATH=C:\PROGRA~1\7-Zip;%PATH%

I hope it helps.

Regards,
Lubo

On Thu, Mar 12, 2009 at 1:53 PM, Marta Luna Serrano <martalun@gmail.com> >> wrote:
> Hi everybody!!
> I would like to create an SC installer to probe the changes I've made
on
> other computers. I've read all the post you have posted here.
> I have a problem, when I build the build-installation-window, I have
this:
> build-installation-windows:
> [propertyfile] Creating new property file:
>
C:\eclipse\Workspace\sip-communicator\release\windows\versionupdate.properties
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp\jre
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [izpack] Warning:
>
C:\eclipse\Workspace\sip-communicator/release/windows/tmp/tmp-installer-windows.xml:75:
> Panel jar file not found: \Program
Files\IzPack\bin\panels\HelloPanel2.jar
> [izpack] Building installer jar:
>
C:\eclipse\Workspace\sip-communicator\release\windows\tmp\sip-communicator-windows.jar
> [izpack] Copying 62 files into installer
> [izpack] Merging 7 jars into installer
> [izpack] Writing 5 Packs into installer
> [zip] Building zip:
>
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN-windows.zip
> [exec] Execute failed: java.io.IOException: Cannot run program "7z"
(in
> directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
> CreateProcess error=2, The system cannot find the file specified
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [concat] Binary concatenation of 2 resources to
>
C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN.exe
> [delete] Deleting directory
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
>
> I have installed 7z C:\Program Files\7z.... I don´t know what can be the
> problem... any idea???
> Thanks in advanced!!
>
> Marta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi,

Could you try to start 7z from command line (cmd) being in any
directory? I suppose you have still something wrong in the PATH.

Cheers,
Vladimir

···

On Thu, Mar 12, 2009 at 8:21 PM, Marta Luna Serrano <martalun@gmail.com> wrote:

Hi everybody!!
Any idea?? Because I don't know what is happening...
Thanks in advance!!
Regards,
Marta

2009/3/12 Marta Luna Serrano <martalun@gmail.com>

Thanks Lubo!!
I have put 7z.exe in my path, but I still have the same error...
[exec] Execute failed: java.io.IOException: Cannot run program "7z" (in
directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
CreateProcess error=2, The system cannot find the file specified.
Regards,
Marta

2009/3/12 Lubomir Marinov <lubomir.marinov@gmail.com>

I think you have to put 7z.exe in your path because
resources\install\build.xml looks for it there. For example, I have
7z.exe installed in C:\Program Files\7-Zip so I execute the following
in Command Prompt prior to running resources\install\build.xml (in the
same Command Prompt):

set PATH=C:\PROGRA~1\7-Zip;%PATH%

I hope it helps.

Regards,
Lubo

On Thu, Mar 12, 2009 at 1:53 PM, Marta Luna Serrano <martalun@gmail.com> >>> wrote:
> Hi everybody!!
> I would like to create an SC installer to probe the changes I've made
> on
> other computers. I've read all the post you have posted here.
> I have a problem, when I build the build-installation-window, I have
> this:
> build-installation-windows:
> [propertyfile] Creating new property file:
>
> C:\eclipse\Workspace\sip-communicator\release\windows\versionupdate.properties
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp\jre
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [izpack] Warning:
>
> C:\eclipse\Workspace\sip-communicator/release/windows/tmp/tmp-installer-windows.xml:75:
> Panel jar file not found: \Program
> Files\IzPack\bin\panels\HelloPanel2.jar
> [izpack] Building installer jar:
>
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp\sip-communicator-windows.jar
> [izpack] Copying 62 files into installer
> [izpack] Merging 7 jars into installer
> [izpack] Writing 5 Packs into installer
> [zip] Building zip:
>
> C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN-windows.zip
> [exec] Execute failed: java.io.IOException: Cannot run program
> "7z" (in
> directory "C:\eclipse\Workspace\sip-communicator\release\windows\tmp"):
> CreateProcess error=2, The system cannot find the file specified
> [copy] Copying 1 file to
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
> [concat] Binary concatenation of 2 resources to
>
> C:\eclipse\Workspace\sip-communicator\release\windows\sip-communicator-1.0-alpha3-0.build.by.SVN.exe
> [delete] Deleting directory
> C:\eclipse\Workspace\sip-communicator\release\windows\tmp
>
> I have installed 7z C:\Program Files\7z.... I don´t know what can be
> the
> problem... any idea???
> Thanks in advanced!!
>
> Marta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net