Hi,
I checked this and it works as it should so that there is only "Name:
org/apache/avalon/cornerstone/blocks/packet/DefaultPacketManager.class" in
manifest. But this wasn't a problem. When you have something like
<target name="xdoclet" description="Generates the XML descriptors">
<!-- The classpath for the task should contain the jars that contain
the task -->
<taskdef name="phoenix-blocks"
classname="org.apache.avalon.phoenix.tools.xdoclet.PhoenixXDoclet"
classpathref="project.class.path"/>
<!-- The classpathref for this task should be the classpath that has
the compiled
copy of your sourcecode. -->
<phoenix-blocks
destdir="${gen.dir}"
classpathref="project.class.path">
<fileset dir="${java.dir}">
<!--include name="**/*.java" /-->
<include name="**/packet/*.java" />
</fileset>
<blockinfo/>
<manifest manifestFile="manifest.mf" />
</phoenix-blocks>
<phoenix-blocks
destdir="${gen.dir}"
classpathref="project.class.path">
<fileset dir="${java.dir}">
<include name="**/*.java" />
<exclude name="**/packet/*.java" />
</fileset>
<blockinfo/>
<manifest manifestFile="manifest-one.mf" />
</phoenix-blocks>
</target>
then manifest-one.mf will contain also info about "**/packet/*.java" While
it shouldn't.
Andrei
----- Original Message -----
From: "Peter Donald" <[EMAIL PROTECTED]>
To: "Avalon-Phoenix Developers List" <[email protected]>
Sent: Wednesday, July 10, 2002 2:37 PM
Subject: Re: Re: PhoenixXDoclet manifest creation problem
hi,
On Wed, 10 Jul 2002 21:20, Andrei Ivanov wrote:
> this is exactly what I am using so far. But still manifest will contain
> information about all blocks inside ${gen.dir} while I need the only entry
> about MySpecialBlock.java.
thats wierd. Could you download the cornerstone CVS, change the build.xml so
that the xdoclet task looks like
<phoenix-blocks
destdir="${gen.dir}"
classpathref="project.class.path">
<fileset dir="${java.dir}">
<include name="**/packet/*.java" />
</fileset>
<blockinfo/>
<manifest manifestFile="manifest.mf" />
</phoenix-blocks>
(Note only includes packet directory). Then do a
ant distclean
ant xdoclet
and see if the manifest only contains a single block or not. It seems to
work
here but I may have changed something else.
--
Cheers,
Peter Donald
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>