ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Purang <viraj_pur...@spincircuit.com>
Subject RE: Ant + ZeroG Install Anywhere?
Date Tue, 26 Jun 2001 02:57:25 GMT
Hi,
   I got this error when I tried to invoke INstallANywhere from inside Ant
...

--------------------------
build-installer:
     [echo] InstallAnywhere creating client setup
     [java] Forking java -classpath "C:\Program Files\InstallAnywhere 3.5
Enterprise\IAClasses.zip;C:\Program Files\InstallAnywher
e 3.5 Enterprise\resource;C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\swingall.jar;C:\Program Files\InstallAnywhere 3
.5 Enterprise\resource\compiler.zip;C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\support3.zip" InstallAnywhere -b C:/P
rogram Files/InstallAnywhere 3.5 Enterprise/tahoe.iap
     [java] SNMessenger: error(0)
     [java] Java Result: 101

BUILD SUCCESSFUL
-------------------------
Any wise suggetions ...

Regards,
Viraj Purang
-----Original Message-----
From: Steve Donie [mailto:sdonie@zycor.lgc.com]
Sent: Friday, May 04, 2001 9:37 AM
To: 'ant-user@jakarta.apache.org'
Subject: RE: Ant + ZeroG Install Anywhere?


I have been doing this with InstallAnywhere Enterprise. Here is my target:


  <!-- ===================================================================
-->
  <!-- Create Setup program
-->
  <!-- ===================================================================
-->
  <target name="setup" depends="jars" if="do-setup" description="creates
setup programs">
    <!-- client stuff first -->
    <delete dir="${build}/client/bin}" quiet="true"
includeEmptyDirs="true"/>
    <delete dir="${jar}/cachedir" quiet="true" includeEmptyDirs="true"/>

    <!-- these sets of files are overly simplistic! -->
    <mkdir dir="${build}/client/bin" />
    <copy todir="${build}/client/jar">
      <fileset dir="${jar}" />
    </copy>

    <copy todir="${build}/client/bin">
      <fileset dir="${bin}" />
    </copy>

    <!-- run install anywhere -->
    <echo message="InstallAnywhere creating client setup" />
    <!-- This should be failonerror, but need to fix build machine first -->
    <java classname="InstallAnywhere" fork="yes">
     <arg line="-b ${DS_HOME}/${tools}/install/tahoe.iap"/> 
     <classpath>
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\IAClasses.zip" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\swingall.jar" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\compiler.zip" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\support3.zip" />
     </classpath>
    </java>

    <!-- create server -->
    <delete dir="${build}/server/bin}" quiet="true"
includeEmptyDirs="true"/>
    <mkdir dir="${build}/server/bin" />

    <!-- run install anywhere -->
    <echo message="InstallAnywhere creating server setup" />
    <!-- This should be failonerror, but need to fix build machine first -->
    <java classname="InstallAnywhere" fork="yes">
     <arg line="-b ${DS_HOME}/${tools}/install/DSpaceServer.iap"/> 
     <classpath>
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\IAClasses.zip" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\swingall.jar" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\compiler.zip" />
        <pathelement location="C:\Program Files\InstallAnywhere 3.5
Enterprise\resource\support3.zip" />
     </classpath>
    </java>

    <echo file="buildsummary.log" append="true">InstallAnywhere completed
successfully.
    </echo>
    <echo file="SetupOK.log">InstallAnywhere completed successfully.</echo>

  </target>


There are a few things I need to fix with it, but not critical right now,
like paramaterize the location of the installanywhere jars. I also wrote to
the list a while back, and have attached the thread generated.

-----Original Message-----
From: Jon Baer [mailto:jonbaer@digitalanywhere.com]
Sent: Thursday, May 03, 2001 9:34 AM
To: ant-user@jakarta.apache.org
Subject: Ant + ZeroG Install Anywhere?


Has anyone had any success on using Ant to do a final packaging build with
any
installer products like ZeroG's InstallAnywhere NOW! 4.0 stuff?  (or any
installer for that matter).

- Jon


Mime
View raw message