ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Donie <sdo...@zycor.lgc.com>
Subject RE: Ant + ZeroG Install Anywhere?
Date Fri, 04 May 2001 16:36:32 GMT
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