Morning Antek,
2 things are incorrect or missing I think.
First, only declaring mockobjectdoclet is not enough, you have to enable
the mockobjects sub task as well (look at the plugin jelly script):
maven.xdoclet.mockobjectdoclet.mockobjects.0=true
Second, the mockobjects task only works for abst
Hi,
the relevant XDT file is:
xdoclet-1.2.2\modules\ejb\src\xdoclet\modules\ejb\entity\resources\entity-value.xdt
I don't know the line, but look for the following code:
( valueHolder.() );
and replace it with:
if (valueHolder.HasBeenSet()) {
( valueHolder.());
}
That should do it.
Regards,
Lea
Hi Joachim,
yes, I use XDoclet, Maven 1.0 and JBoss plugin successfully. I use a
self compiled version (because of custom plugins) of the 1.2.2 SNAPSHOT
version of XDoclet and everything works.
The problem either lies in you dependency list or your properties. E.g.
I think it should be
maven.x
Hi David,
I think you have to declare the required XDoclet JAR files as
dependencies in your project.xml file, e.g.
xdoclet
xdoclet-ejb-module
1.2.1
xdoclet
xdoclet-jboss-module
1.2.1
xdoclet
xdoclet-web-module
1.2.1
Hi Timothy,
The available merge files are listed under the Merge file section:
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/apache/struts/StrutsConfigXmlSubTask.html
These files give you the means to include further static information
into generated files, when ever there are not Jav
ockCreator within Maven?
Andreas
M.-Leander Reimer wrote:
Hey Andreas,
nope, never used the XDoclet mock object task myself, just using the
webdoclet and ejbdoclet stuff. My XDoclet book just has an example of
tagging interfaces not classes.
We are using the MockCreator (http://mockcreator.sourc
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
M.-Leander Reimer
Sent: Thursday, August 19, 2004 12:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] maven xdoclet-plugin - MockObject generation
problem - MockObject not generated
Hi Andreas,
I am not sure that your fileset definition
Hi Andreas,
I am not sure that your fileset definition for the mockobjectdoclet is
correct. You might be missing the sourcedir property if the source dir
is different to the directory defined in your POM, like
maven.xdoclet.mockobjectdoclet.fileset.1.sourcedir=${basedir}/src/java
The other thing
Hi Troy again,
saw your mail on the Maven mailing list but better post the answer here
as well :-)
here is are a few examples of my ejbdoclet properties adapted to your
packages:
maven.xdoclet.ejbdoclet.utilobject.0
= true
maven.xdoclet.ejb
Hi Nathan,
we explicitly specify the destDir property for both the ejb deployment
descriptor and the jboss descriptor. Try using
maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir
and
maven.xdoclet.ejbdoclet.jboss.0.destDir
and set them both to ${maven.build.dir}/xdoclet/ejb/META-INF in your
Hi there,
what I am trying to do is to generate the serialVersionUID for some of
our generated class (custom templates with custom plugin). So I started
looking on the net and came across an apparently old XDoclet package
called xdoclet.util.serialveruid.* with some classes that were used in
templa
Hi Stefan,
had the same, but it's just a warning and doesn't stop the plugin from
working. Anyway, to get rid of that message you have to edit the
plugin.jelly file under
${user.home}/.maven/plugins/maven-xdoclet-plugin-1.2.1. You have to
remove the namespace declaration xmlns:m="maven".
That'
12 matches
Mail list logo