Changeset 30821 in osm for applications


Ignore:
Timestamp:
2014-11-29T15:40:09+01:00 (10 years ago)
Author:
donvip
Message:

[josm_videomapping] make plugin rely on JNA plugin

Location:
applications/editors/josm/plugins/videomapping
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/.classpath

    r30816 r30821  
    55        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
    66        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
     7        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-jna"/>
    78        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-log4j"/>
    8         <classpathentry kind="lib" path="lib/jna-3.5.2.jar"/>
    9         <classpathentry kind="lib" path="lib/platform-3.5.2.jar"/>
    109        <classpathentry kind="lib" path="lib/vlcj-3.1.0.jar" sourcepath="lib/vlcj-3.1.0-sources.jar">
    1110                <attributes>
  • applications/editors/josm/plugins/videomapping/.settings/org.eclipse.jdt.core.prefs

    r30736 r30821  
    77org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    88org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
     9org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
    910org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
    1011org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
  • applications/editors/josm/plugins/videomapping/build.xml

    r30816 r30821  
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    77    <property name="plugin.main.version" value="7001"/>
     8    <property name="plugin.author" value="Matthias Meißer"/>
     9    <property name="plugin.class" value="org.openstreetmap.josm.plugins.videomapping.VideoPlugin"/>
     10    <property name="plugin.description" value="(This Plugin is currently work in progress!!!) Links and syncs a georeferenced video against a GPS track, to use it for identify visible objects."/>
     11    <property name="plugin.icon" value="images/videomapping.png"/>
     12    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/VideoMapping"/>
     13    <property name="plugin.requires" value="jna;log4j"/>
    814
    915    <!--
     
    1420    <import file="../build-common.xml"/>
    1521
    16     <property name="vlcj" value="${plugin.lib.dir}/vlcj-3.1.0.jar"/>
    17     <property name="jna" value="${plugin.lib.dir}/jna-3.5.2.jar"/>
    18     <property name="platform" value="${plugin.lib.dir}/platform-3.5.2.jar"/>
    19     <!-- classpath -->
    20     <path id="classpath">
    21         <pathelement path="${josm}"/>
    22         <pathelement location="${vlcj}"/>
    23         <!--Add extra libraries -->
    24         <pathelement location="${jna}"/>
    25         <pathelement location="${platform}"/>
    26         <fileset dir="../log4j/lib">
    27             <include name="**/*.jar"/>
    28         </fileset>
    29     </path>
    30     <!--
    31     **********************************************************
    32     ** compile - complies the source tree
    33     ** Overrides the target from build-common.xml
    34     **********************************************************
    35     -->
    36     <target name="compile" depends="init">
    37         <echo message="compiling sources for ${plugin.jar} ..."/>
    38         <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" encoding="UTF-8" includeantruntime="false">
    39             <compilerarg value="-Xlint:deprecation"/>
    40             <compilerarg value="-Xlint:unchecked"/>
    41         </javac>
    42     </target>
    43 
    44     <!--
    45     **********************************************************
    46     ** dist - creates the plugin jar
    47     **********************************************************
    48     -->
    49     <target name="dist" depends="compile,revision">
    50         <echo message="creating ${ant.project.name}.jar ... "/>
    51         <copy todir="${plugin.build.dir}/resources">
    52             <fileset dir="resources"/>
    53         </copy>
    54         <copy todir="${plugin.build.dir}/images">
    55             <fileset dir="images"/>
    56         </copy>
    57         <copy todir="${plugin.build.dir}/data">
    58             <fileset dir="data"/>
    59         </copy>
    60         <copy todir="${plugin.build.dir}">
    61             <fileset dir=".">
    62                 <include name="README"/>
    63                 <include name="LICENSE"/>
    64             </fileset>
    65         </copy>
    66         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    67         <!--
    68         ************************************************
    69         ** configure these properties. Most of them will be copied to the plugins
    70         ** manifest file. Property values will also show up in the list available
    71         ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
    72         **
    73         ************************************************
    74         -->
    75             <manifest>
    76                 <attribute name="Author" value="Matthias Meißer"/>
    77                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.videomapping.VideoPlugin"/>
    78                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    79                 <attribute name="Plugin-Description" value="(This Plugin is currently work in progress!!!) Links and syncs a georeferenced video against a GPS track, to use it for identify visible objects."/>
    80                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/VideoMapping"/>
    81                 <attribute name="Plugin-Icon" value="images/videomapping.png"/>
    82                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    83                 <attribute name="Plugin-Requires" value="log4j"/>
    84                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    85             </manifest>
    86             <!--added to bundle libs-->
    87             <zipfileset src="${jna}"/>
    88             <zipfileset src="${platform}"/>
    89             <zipfileset src="${vlcj}"/>
    90         </jar>
    91     </target>
     22    <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
     23        <include name="jna.jar"/>
     24        <include name="log4j.jar"/>
     25    </fileset>
     26       
    9227</project>
  • applications/editors/josm/plugins/videomapping/nbproject/project.xml

    r30817 r30821  
    6060            <compilation-unit>
    6161                <package-root>src</package-root>
    62                 <classpath mode="compile">../../core/src;lib/jna-3.5.2.jar;lib/platform-3.5.2.jar;lib/vlcj-3.1.0-javadoc.jar;lib/vlcj-3.1.0-sources.jar;lib/vlcj-3.1.0.jar</classpath>
     62                <classpath mode="compile">../../core/src;../../dist/jna.jar;lib/vlcj-3.1.0-javadoc.jar;lib/vlcj-3.1.0-sources.jar;lib/vlcj-3.1.0.jar</classpath>
    6363                <source-level>1.7</source-level>
    6464            </compilation-unit>
Note: See TracChangeset for help on using the changeset viewer.