Ignore:
Timestamp:
2007-09-02T22:29:12+02:00 (17 years ago)
Author:
ulf
Message:

building the lang plugin doesn't work on windows, as it depends on gettext (which is not available on win)

I've split the build into two targets, one for all platforms and one that builds on unix only (that calls the all target then).
BTW: there's no "clean" target in the lang ant script, so better don't enable it ;-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build.xml

    r3996 r4422  
    2121        </target>
    2222
    23         <target name="build" depends="compile">
     23        <!-- build plugins (where the build process works on all systems) -->
     24        <target name="build-port" depends="compile">
    2425                <ant dir="colorscheme" antfile="build.xml" target="dist"/>
    2526                <!--ant dir="grid" antfile="build.xml" target="build"/-->
    26                 <ant dir="lang" antfile="build.xml" target="install-all"/>
    2727                <ant dir="livegps" antfile="build.xml" target="dist"/>
    2828                <ant dir="mappaint" antfile="build.xml" target="build"/>
     
    4343        </target>
    4444
     45        <!-- build plugins (won't work on windows, use build-port instead) -->
     46        <target name="build" depends="build-port">
     47                <ant dir="lang" antfile="build.xml" target="install-all"/>
     48        </target>
     49
    4550        <target name="clean">
    4651                <ant dir="colorscheme" antfile="build.xml" target="clean"/>
    4752                <!--ant dir="grid" antfile="build.xml" target="clean"/-->
    48                 <ant dir="lang" antfile="build.xml" target="clean"/>
     53                <!--ant dir="lang" antfile="build.xml" target="clean"/-->
    4954                <ant dir="livegps" antfile="build.xml" target="clean"/>
    5055                <ant dir="mappaint" antfile="build.xml" target="clean"/>
Note: See TracChangeset for help on using the changeset viewer.