source: trunk/src/examples/plugins/build.xml @ 2154

Last change on this file since 2154 was 2154, checked in by Nicklas Nordborg, 16 years ago

Fixes #137: Write documentation 5b) Plug-ins for importing data
Added source code for example plugins
Added ant target: exampleplugins

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 879 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project 
3   name="ExamplePlugins" 
4   default="build.plugin" 
5   basedir="."
6   >
7
8   <!-- variables used -->
9   <property name="plugin.name" value="ExamplePlugins" />
10   <property name="src" value="src" />
11   <property name="bin" value="bin" />
12
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         classpathref="classpath">
30      </javac>
31      <jar 
32         jarfile="${plugin.name}.jar" 
33         basedir="bin"
34         manifest="MANIFEST.MF"
35         >
36      </jar>
37    </target>
38</project> 
Note: See TracBrowser for help on using the repository browser.