Discussion:
[Middlegen-user] Build plugins problem
Antaya Roger
2002-08-08 09:33:03 UTC
Permalink
I downloaded the latest files from CVS last night, but I can't get the build
to work.
The Ant output looks like this:

Buildfile: build.xml
init:
pretty:
prepare:
compile:
jar:
plugins:
plugin:
BUILD FAILED
file:C:/P2Development/middlegen1/build.xml:358: sourcePath attribute must be
present.
Total time: 6 seconds

The relevant part of build.xml is unchanged, looks like this:
<mkdir dir="${plugin.classes.dir}/META-INF"/>
<xdoclet destdir="${plugin.classes.dir}/META-INF">
<fileset dir="${plugin.src.dir}">
<include name="*/*Plugin.java" />
</fileset>
<template
templateFile="${basedir}/etc/middlegen-plugin.xdt"
destinationFile="middlegen-plugin.xml"
/>
</xdoclet>
Any idea on why DocletTask (I believe it is) is not getting the sourcePath?

/Roger

Loading...