Changeset bf50695


Ignore:
Timestamp:
Apr 7, 2009 7:18:51 PM (11 years ago)
Author:
mathiasdm <mathiasdm@…>
Branches:
master
Children:
85e5013
Parents:
0764e19
Message:

Patching build.xml so it's possible to build an installer and updater with desktopgui.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r0764e19 rbf50695  
    488488        <echo message="Findbugs output stored in findbugs.xml" />
    489489    </target>
     490    <target name="buildWithDesktopgui" depends="buildrouter">
     491        <ant dir="apps/desktopgui" target="jar" />
     492    </target>
     493    <target name="preppkgWithDesktopgui" depends="buildWithDesktopgui,preppkg">
     494        <copy file="apps/desktopgui/dist/desktopgui.jar" todir="pkg-temp/lib/" />
     495        <copy file="apps/desktopgui/lib/swing-worker.jar" todir="pkg-temp/lib/" />
     496        <copy file="apps/desktopgui/lib/appframework.jar" todir="pkg-temp/lib/" />
     497        <mkdir dir="pkg-temp/desktopgui/resources/" />
     498        <copy todir="pkg-temp/desktopgui/resources/">
     499            <fileset dir="apps/desktopgui/desktopgui/resources/" />
     500        </copy>
     501    </target>
     502    <target name="installerWithDesktopgui" depends="preppkgWithDesktopgui,installer" />
     503    <target name="prepupdateWithDesktopgui" depends="buildWithDesktopgui,prepupdate">
     504        <copy file="apps/desktopgui/dist/desktopgui.jar" todir="pkg-temp/lib/" />
     505        <copy file="apps/desktopgui/lib/swing-worker.jar" todir="pkg-temp/lib/" />
     506        <copy file="apps/desktopgui/lib/appframework.jar" todir="pkg-temp/lib/" />
     507        <mkdir dir="pkg-temp/desktopgui/resources/" />
     508        <copy todir="pkg-temp/desktopgui/resources/">
     509            <fileset dir="apps/desktopgui/desktopgui/resources/" />
     510        </copy>
     511    </target>
     512    <target name="updaterWithDesktopgui" depends="prepupdateWithDesktopgui,updater" />
     513    <target name="distcleanWithDesktopgui" depends="distclean">
     514        <ant dir="apps/desktopgui" target="clean" />
     515    </target>
    490516</project>
Note: See TracChangeset for help on using the changeset viewer.