Ignore:
Timestamp:
2009-06-01T17:24:35+02:00 (17 years ago)
Author:
rcernoch
Message:

New Reasoner has first usable version. The rest of the plugin is TOTALLY broken.

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/czechaddress

    • Property svn:ignore
      •  

        old new  
        11build
         2.log.xsl.swp
  • applications/editors/josm/plugins/czechaddress/build.xml

    r15203 r15461  
    2626        <!-- compile the plugin -->
    2727        <javac srcdir="src"
     28               sourcepath=""
    2829               classpath="${josm.jar}"
    2930               destdir="${plugin.build.dir}"
    30                debug="true"/>
     31               debug="true">
    3132
    32         <!-- create the manifest -->
    33         <manifest file="${plugin.build.dir}/${plugin.basepackage.dir}/MANIFEST.MF">
    34             <attribute name="Author" value="Radomír Černoch"/>
    35             <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/>
    36             <attribute name="Plugin-Mainversion" value="1607"/>
    37             <attribute name="Plugin-Version" value="0.1.1"/>
    38             <attribute name="Plugin-Class" value="${plugin.basepackage}.CzechAddressPlugin"/>
    39         </manifest>
     33            <include name="**/Status*.java"/>
     34            <include name="**/StringUtils.java"/>
     35            <include name="**/NotNull*.java"/>
     36            <include name="**/addressdatabase/*.java"/>
     37            <include name="**/proposal*/*.java"/>
     38            <include name="**/intelligence/Reasoner*.java"/>
     39            <include name="**/intelligence/Match.java"/>
     40        </javac>
    4041
    41         <!-- include the images -->
    42         <copy todir="${plugin.build.dir}/images">
    43             <fileset dir="images"/>
    44         </copy>
    4542    </target>
    4643
    47     <target name="dist"
    48             depends="compile"
    49             description="Create the .jar file for distribution">
    50         <mkdir dir="${plugin.dist.dir}"/>
    51         <jar destfile="${plugin.jar}"
    52              basedir="${plugin.build.dir}"
    53              manifest="${plugin.build.dir}/${plugin.basepackage.dir}/MANIFEST.MF"/>
    54     </target>
    55 
    56     <target name="doc" description="Create Javadoc API documentation">
    57         <ant antfile="build.xml" target="doc" dir="${josm.base}"/>
    58         <mkdir dir="${plugin.javadoc.dir}"/>
    59         <javadoc sourcepath="src"
    60                  packagenames="*"
    61                  destdir="${plugin.javadoc.dir}"
    62                  use="true"
    63                  charset="UTF-8">
    64             <doctitle><![CDATA[Czech Address JOSM plugin]]></doctitle>
    65             <bottom><![CDATA[<i>Licenced under GPLv3. Bugreports should be sent to
    66                     <a href='mailto:radomir.cernoch@gmail.com'>Radomír Černoch</a></i>]]>
    67             </bottom>
    68             <!--<tag name="todo" scope="all" description="To do:"/>-->
    69             <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
    70             <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>
    71             <!--<link href="file://${user.home}/devel/core/doc"/>-->
    72         </javadoc>
    73     </target>
    74 
    75     <target name="install" depends="dist">
    76         <property environment="env"/>
    77         <condition property="josm.plugins.dir"
    78                    value="${env.APPDATA}/JOSM/plugins"
    79                    else="${user.home}/.josm/plugins">
    80             <and><os family="windows"/></and>
    81         </condition>
    82         <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    83     </target>
    8444
    8545    <!-- Before running "run" target, please "ant dist" the JOSM. -->
    8646    <target name="run" depends="compile">
    87         <java classname="JOSM" fork="true">
     47        <java classname="org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner">
    8848            <jvmarg value="-Xmx1024m"/>
    8949            <jvmarg value="-Xdebug"/>
     
    9757                <pathelement path="${java.class.path}"/>
    9858            </classpath>
    99         <!--<arg value="/home/radek/Desktop/Hustopeče.osm"/>-->
    10059        </java>
     60        <exec executable="xsltproc" output="log.html">
     61            <arg value="log.xsl"/>
     62            <arg value="log.xml"/>
     63        </exec>
    10164    </target>
    10265
Note: See TracChangeset for help on using the changeset viewer.