Ignore:
Timestamp:
2009-01-01T18:55:45+01:00 (16 years ago)
Author:
stoecker
Message:

removed tab stop usage

Location:
applications/editors/josm/plugins/openstreetbugs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/openstreetbugs/LICENSE.txt

    r11157 r12780  
    771. Redistributions of source code must retain the above copyright notice,
    88   this list of conditions and the following disclaimer.
    9 2. Redistributions in binary form must reproduce the above copyright notice, 
    10    this list of conditions and the following disclaimer in the documentation 
     92. Redistributions in binary form must reproduce the above copyright notice,
     10   this list of conditions and the following disclaimer in the documentation
    1111   and/or other materials provided with the distribution.
    12 3. Neither the name of the project nor the names of its 
    13    contributors may be used to endorse or promote products derived from this 
     123. Neither the name of the project nor the names of its
     13   contributors may be used to endorse or promote products derived from this
    1414   software without specific prior written permission.
    1515
  • applications/editors/josm/plugins/openstreetbugs/build.xml

    r12590 r12780  
    11<project name="openstreetbugs" default="dist" basedir=".">
    2 
    3         <!-- the path to JOSM source code (project directory) -->
    4         <property name="josm.base.dir" value="../../core" />
    5 
    6         <property name="josm.dist.dir" value="../../dist" />
    7 
    8         <!--a osm file, which will be loaded, when running the test target -->
    9         <property name="osmfile" value="/tmp/hoe.osm" />
    10 
    11         <!-- compilation properties -->
    12         <property name="josm.build.dir" value="${josm.base.dir}/build" />
    13         <property name="josm.home.dir" value="${user.home}/.josm" />
    14         <property name="josm" location="${josm.base.dir}/dist/josm-custom.jar" />
    15         <property name="lib.dir" value="lib" />
    16         <property name="plugin.build.dir" value="build" />
    17         <property name="plugin.name" value="${ant.project.name}" />
    18         <property name="plugin.jar" value="${plugin.build.dir}/${plugin.name}.jar" />
    19 
    20         <property name="ant.build.javac.target" value="1.5" />
    21 
    22         <target name="init">
    23                 <mkdir dir="${plugin.build.dir}" />
    24         </target>
    25 
    26         <target name="compile" depends="init">
    27                 <echo message="creating ${plugin.jar}" />
    28                 <javac srcdir="src" classpath="${josm}" destdir="${plugin.build.dir}" debug="true">
    29                         <include name="**/*.java" />
    30                 </javac>
    31         </target>
    32 
    33         <target name="dist" depends="clean, compile">
    34 
    35                 <!-- copy images to jar -->
    36                 <copy todir="${plugin.build.dir}/images">
    37                         <fileset dir="images" />
    38                 </copy>
    39 
    40     <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    41       <env key="LANG" value="C"/>
    42       <arg value="info"/>
    43       <arg value="--xml"/>
    44       <arg value="."/>
    45     </exec>
    46     <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    47     <delete file="REVISION"/>
    48                 <!-- create the jar file -->
    49                 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    50                         <manifest>
    51                                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin" />
    52                                 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs" />
    53                                 <attribute name="Plugin-Date" value="${version.entry.commit.date}" />
    54                                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}" />
    55                                 <attribute name="Plugin-Mainversion" value="1180"/>
    56                                 <attribute name="Author" value="Henrik Niehaus" />
    57                         </manifest>
    58                 </jar>
    59 
    60                 <copy todir="${josm.dist.dir}" file="${plugin.jar}" />
    61         </target>
    62 
    63         <!-- clean target -->
    64         <target name="clean">
    65                 <delete dir="build" />
    66         </target>
    67 
    68         <target name="install" depends="dist">
    69                 <condition property="isWindows">
    70                         <os family="windows" />
    71                 </condition>
    72                 <condition property="isUnix">
    73                         <os family="unix" />
    74                 </condition>
    75                 <antcall target="install_win" />
    76                 <antcall target="install_linux" />
    77         </target>
    78 
    79         <target name="install_win" if="isWindows">
    80                 <property environment="env"/>
    81                 <copy file="${plugin.jar}" todir="${env.APPDATA}/JOSM/plugins" />
    82         </target>
    83 
    84         <target name="install_linux" if="isUnix">
    85                 <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins" />
    86         </target>
    87 
    88         <target name="test" depends="install">
    89                 <java jar="${josm}" fork="true">
    90                         <arg value="${osmfile}" />
    91                         <jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" />
    92                 </java>
    93         </target>
    94 
     2<!-- the path to JOSM source code (project directory) -->
     3    <property name="josm.base.dir" value="../../core" />
     4    <property name="josm.dist.dir" value="../../dist" />
     5<!--a osm file, which will be loaded, when running the test target -->
     6    <property name="osmfile" value="/tmp/hoe.osm" />
     7<!-- compilation properties -->
     8    <property name="josm.build.dir" value="${josm.base.dir}/build" />
     9    <property name="josm.home.dir" value="${user.home}/.josm" />
     10    <property name="josm" location="${josm.base.dir}/dist/josm-custom.jar" />
     11    <property name="lib.dir" value="lib" />
     12    <property name="plugin.build.dir" value="build" />
     13    <property name="plugin.name" value="${ant.project.name}" />
     14    <property name="plugin.jar" value="${plugin.build.dir}/${plugin.name}.jar" />
     15    <property name="ant.build.javac.target" value="1.5" />
     16    <target name="init">
     17        <mkdir dir="${plugin.build.dir}" />
     18    </target>
     19    <target name="compile" depends="init">
     20        <echo message="creating ${plugin.jar}" />
     21        <javac srcdir="src" classpath="${josm}" destdir="${plugin.build.dir}" debug="true">
     22            <include name="**/*.java" />
     23        </javac>
     24    </target>
     25    <target name="dist" depends="clean, compile">
     26<!-- copy images to jar -->
     27        <copy todir="${plugin.build.dir}/images">
     28            <fileset dir="images" />
     29        </copy>
     30        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     31            <env key="LANG" value="C"/>
     32            <arg value="info"/>
     33            <arg value="--xml"/>
     34            <arg value="."/>
     35        </exec>
     36        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     37        <delete file="REVISION"/>
     38<!-- create the jar file -->
     39        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
     40            <manifest>
     41                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin" />
     42                <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs" />
     43                <attribute name="Plugin-Date" value="${version.entry.commit.date}" />
     44                <attribute name="Plugin-Version" value="${version.entry.commit.revision}" />
     45                <attribute name="Plugin-Mainversion" value="1180"/>
     46                <attribute name="Author" value="Henrik Niehaus" />
     47            </manifest>
     48        </jar>
     49        <copy todir="${josm.dist.dir}" file="${plugin.jar}" />
     50    </target>
     51<!-- clean target -->
     52    <target name="clean">
     53        <delete dir="build" />
     54    </target>
     55    <target name="install" depends="dist">
     56        <condition property="isWindows">
     57            <os family="windows" />
     58        </condition>
     59        <condition property="isUnix">
     60            <os family="unix" />
     61        </condition>
     62        <antcall target="install_win" />
     63        <antcall target="install_linux" />
     64    </target>
     65    <target name="install_win" if="isWindows">
     66        <property environment="env"/>
     67        <copy file="${plugin.jar}" todir="${env.APPDATA}/JOSM/plugins" />
     68    </target>
     69    <target name="install_linux" if="isUnix">
     70        <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins" />
     71    </target>
     72    <target name="test" depends="install">
     73        <java jar="${josm}" fork="true">
     74            <arg value="${osmfile}" />
     75            <jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" />
     76        </java>
     77    </target>
    9578</project>
Note: See TracChangeset for help on using the changeset viewer.