Ignore:
Timestamp:
2012-10-14T15:25:54+02:00 (12 years ago)
Author:
stoecker
Message:

build script cleanups, i18n update

File:
1 edited

Legend:

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

    r28400 r28807  
    1919    <!-- this is the directory where the plugin jar is copied to -->
    2020    <property name="plugin.dist.dir"        value="../../dist"/>
    21     <property name="ant.build.javac.target" value="1.5"/>
     21    <property name="ant.build.javac.target" value="1.6"/>
     22    <property name="ant.build.javac.source" value="1.6"/>
    2223    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    2324
     
    3738    <target name="compile" depends="init">
    3839        <echo message="compiling sources for ${plugin.jar} ..."/>
    39         <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
     40        <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
    4041            <compilerarg value="-Xlint:deprecation"/>
    4142            <compilerarg value="-Xlint:unchecked"/>
     
    5758        </exec>
    5859        <xmlproperty prefix="version" keepRoot="false" collapseAttributes="true">
    59           <propertyresource name="svn.revision.output"/>
    60         </xmlproperty>
     60            <propertyresource name="svn.revision.output"/>
     61        </xmlproperty>
    6162    </target>
    6263    <!--
     
    176177        </fail>
    177178    </target>
     179
    178180    <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist">
     181    </target>
     182
     183    <target name="runjosm" depends="install">
     184        <java jar="${josm}" fork="true">
     185        </java>
     186    </target>
     187
     188    <target name="profilejosm" depends="install">
     189        <nbprofiledirect>
     190        </nbprofiledirect>
     191        <java jar="${josm}" fork="true">
     192            <jvmarg value="${profiler.info.jvmargs.agent}"/>
     193        </java>
    179194    </target>
    180195</project>
Note: See TracChangeset for help on using the changeset viewer.