[sip-comm-dev] installer creation problem : " tmp-installer-windows.xml:8: <url> requires valid URL "


#1

hi guys,
i am having this really nagging problem. i have added the mysql-jdbc jar file to the lib directory and added the reference to the classpath , which works fine as i can compile and run and talk to the mysql database just fine.
&nbsp;
now i am trying to create the installer which will include the mysql-jdbc jar file . this is the first time i am creating the installer. and i m trying to run
build-installation-windows in the build.xml file in the resources/install lab. but i keep hitting a snag.
&nbsp;
here is the part of the xml file that is creating error:
&nbsp;
&lt;izpack
input="${windows.app.dir}/tmp/tmp-installer-windows.xml"
output="${windows.app.dir}/tmp/sip-communicator-windows.jar"
installerType="standard"
basedir="C:\Documents and Settings\Administrator\workspace\old sicpom\sip-communicator\resources\install\${sc.basedir}"
izPackDir="C:\Program Files\IzPack\lib\"/&gt;
&nbsp;
and the error that keeps coming up is :
&nbsp;
C:\Documents and Settings\Administrator\workspace\old sicpom\sip-communicator\resources\install\build.xml:284: com.izforge.izpack.compiler.CompilerException: ${sc.basedir}/${release}/windows/tmp/tmp-installer-windows.xml:8: &lt;url&gt; requires valid URL
&nbsp;
&nbsp;
does anyone know what is causing this error? i have to come up with the installer and present it to my teachers after the weekend.
&nbsp;
khan
&nbsp;
&nbsp;


#2

Hi,

have you set the properties about windows in the file :
resources/install/installers.properties.
And also make sure you are running the installator from the main
folder of the project (from the main build.xml as it includes the one
for the installators).

Cheers
damencho

···

On Sat, May 31, 2008 at 9:15 PM, HaZArd <gypsydeema2000@yahoo.com> wrote:

hi guys,

i am having this really nagging problem. i have added the mysql-jdbc jar
file to the lib directory and added the reference to the classpath , which
works fine as i can compile and run and talk to the mysql database just
fine.

now i am trying to create the installer which will include the mysql-jdbc
jar file . this is the first time i am creating the installer. and i m
trying to run

build-installation-windows in the build.xml file in the resources/install
lab. but i keep hitting a snag.

here is the part of the xml file that is creating error:

<izpack

input="${windows.app.dir}/tmp/tmp-installer-windows.xml"

output="${windows.app.dir}/tmp/sip-communicator-windows.jar"

installerType="standard"

basedir="C:\Documents and Settings\Administrator\workspace\old
sicpom\sip-communicator\resources\install\${sc.basedir}"

izPackDir="C:\Program Files\IzPack\lib\"/>

and the error that keeps coming up is :

C:\Documents and Settings\Administrator\workspace\old
sicpom\sip-communicator\resources\install\build.xml:284:
com.izforge.izpack.compiler.CompilerException

: \{sc\.basedir\}/{release}/windows/tmp/tmp-installer-windows.xml:8: <url>
requires valid URL

does anyone know what is causing this error? i have to come up with the
installer and present it to my teachers after the weekend.

khan

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


#3

hi, thankyou. running it from the main build.xml did the trick :smiley:

···

--- On Sun, 6/1/08, Damian Minkov &lt;damencho@damencho.com&gt; wrote:

From: Damian Minkov &lt;damencho@damencho.com&gt;

Subject: Re: [sip-comm-dev] installer creation problem : " tmp-installer-windows.xml:8: &lt;url&gt; requires valid URL "
To: dev@sip-communicator.dev.java.net
Date: Sunday, June 1, 2008, 12:20 PM

Hi,

have you set the properties about windows in the file :
resources/install/installers.properties.
And also make sure you are running the installator from the main
folder of the project (from the main build.xml as it includes the one
for the installators).

Cheers
damencho

On Sat, May 31, 2008 at 9:15 PM, HaZArd &lt;gypsydeema2000@yahoo.com&gt; wrote:
&gt; hi guys,
&gt;
&gt; i am having this really nagging problem. i have added the mysql-jdbc jar
&gt; file to the lib directory and added the reference to the classpath , which
&gt; works fine as i can compile and run and talk to the mysql database just
&gt; fine.
&gt;
&gt;
&gt;
&gt; now i am trying to create the installer which will include the mysql-jdbc
&gt; jar file . this is the first time i am creating the installer. and i m
&gt; trying to run
&gt;
&gt; build-installation-windows in the build.xml file in the resources/install
&gt; lab. but i keep hitting a snag.
&gt;
&gt;
&gt;
&gt; here is the part of the xml file that is creating error:
&gt;
&gt;
&gt;
&gt; &lt;izpack
&gt;
&gt; input="${windows.app.dir}/tmp/tmp-installer-windows.xml"
&gt;
&gt; output="${windows.app.dir}/tmp/sip-communicator-windows.jar"
&gt;
&gt; installerType="standard"
&gt;
&gt; basedir="C:\Documents and
Settings\Administrator\workspace\old
&gt;
sicpom\sip-communicator\resources\install\${sc.basedir}"
&gt;
&gt; izPackDir="C:\Program Files\IzPack\lib\"/&gt;
&gt;
&gt;
&gt;
&gt; and the error that keeps coming up is :
&gt;
&gt;
&gt;
&gt; C:\Documents and Settings\Administrator\workspace\old
&gt; sicpom\sip-communicator\resources\install\build.xml:284:
&gt; com.izforge.izpack.compiler.CompilerException
&gt;
&gt; : ${sc.basedir}/${release}/windows/tmp/tmp-installer-windows.xml:8:
&lt;url&gt;
&gt; requires valid URL
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; does anyone know what is causing this error? i have to come up with the
&gt; installer and present it to my teachers after the weekend.
&gt;
&gt;
&gt;
&gt; khan
&gt;
&gt;
&gt;
&gt;
&gt;

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