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

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

Fixes #139: Write documentation: 5d) Analysis plug-ins
Added another example plugin: ExampleAnalyzer?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 900 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         debug="true"
30         classpathref="classpath">
31      </javac>
32      <jar 
33         jarfile="${plugin.name}.jar" 
34         basedir="bin"
35         manifest="MANIFEST.MF"
36         >
37      </jar>
38    </target>
39</project> 
Note: See TracBrowser for help on using the repository browser.