Ignore:
Timestamp:
Nov 13, 2007, 1:36:12 PM (16 years ago)
Author:
Nicklas Nordborg
Message:
 
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        55.settings
        66testdata
         7package
         8examples
         9plugins
  • trunk/src/examples/plugins/build.xml

    r3763 r3953  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<project
    3    name="ExamplePlugins"
    4    default="build.plugin"
    5    basedir="."
    6    >
     3  name="ExamplePlugins"
     4  default="build.plugin"
     5  basedir=".">
    76
    8    <!-- variables used -->
    9    <property name="plugin.name" value="ExamplePlugins" />
    10    <property name="src" value="src" />
    11    <property name="bin" value="bin" />
     7  <!-- variables used -->
     8  <property name="plugin.name" value="ExamplePlugins" />
     9  <property name="src" value="src" />
     10  <property name="bin" value="bin" />
    1211
    13    <!-- set up classpath for compiling -->
    14    <path id="classpath">
    15       <fileset dir="lib">
    16          <include name="**/*.jar"/>
    17       </fileset>
    18    </path>
    19    
    20    <!-- main target -->
    21    <target
    22       name="build.plugin"
    23       description="Compiles the plugin and put in jar"
    24       >
    25       <javac
    26          encoding="ISO-8859-1"
    27          srcdir="${src}"
    28          destdir="${bin}"
    29          debug="true"
    30          classpathref="classpath">
    31       </javac>
    32       <jar
    33          jarfile="${plugin.name}.jar"
    34          basedir="bin"
    35          manifest="MANIFEST.MF"
    36          >
    37     <metainf file="./base-plugins.xml"></metainf>
    38         <metainf file="./base-configurations.xml"></metainf>
    39       </jar>
    40     </target>
    41 </project> 
     12  <!-- set up classpath for compiling -->
     13  <path id="classpath">
     14    <fileset dir="lib">
     15      <include name="**/*.jar" />
     16    </fileset>
     17  </path>
     18
     19  <!-- main target -->
     20  <target
     21    name="build.plugin"
     22    description="Compiles the plugin and put in jar"
     23    >
     24    <javac
     25      encoding="ISO-8859-1"
     26      srcdir="${src}"
     27      destdir="${bin}"
     28      debug="true"
     29      classpathref="classpath">
     30    </javac>
     31    <jar
     32      jarfile="${plugin.name}.jar"
     33      basedir="bin"
     34      manifest="META-INF/MANIFEST.MF"
     35      >
     36      <metainf file="META-INF/base-plugins.xml" />
     37      <metainf file="META-INF/base-configurations.xml" />
     38    </jar>
     39  </target>
     40</project>
Note: See TracChangeset for help on using the changeset viewer.