anyone using XDoclet with Maven to generate Mock's with EasyMock?
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
Mick Knutson wrote:
Does anyone have any exapmles of configuring maven to allow xdoclet to
generate websphere specific ejb files?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA
Does anyone have any exapmles of configuring maven to allow xdoclet to
generate websphere specific ejb files?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA
Thivent
Subject: XDoclet in Maven
Pascal
I set my dependencies exactly like you said. It solved
the class not found problem.
So now if I do
preGoal name=java:compile
echoGenerates EJB classes and descriptor
files/echo
attainGoal name=xdoclet:ejbdoclet/
/preGoal
I get:
[echo
progress on
this, as it seemed Eric was going to upload the plugin in a short period
of time, or this wasn't going to happen, in order to go the manual way.
Thanks, best regards
Jose
Pascal Thivent wrote:
Hi,
the maven xdoclet plugin is available in xdoclet distribution.
See
-
From: Poppe, Troy [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 10:23 AM
To: 'Maven Users List'; 'Pascal Thivent'
Subject: RE: XDoclet in Maven
What's the point of a global repository of plugins and libraries if
every project
has their own repository?
So now, I, as a developer
: Thursday, November 18, 2004 10:54 AM
To: Maven Users List
Subject: Re: XDoclet in Maven
Jose,
as you can see at http://xdoclet.sourceforge.net/repository/xdoclet/plugins/,
the
plugin is still not available in xdoclet repository. I guess Eric still has some
write access problems.
So you can't use
: Re: XDoclet in Maven
Jose,
as you can see at
http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, the
plugin is still not available in xdoclet repository. I guess Eric still has
some
write access problems.
So you can't use for now the plugin:download goal (see a previous mail
To: 'Maven Users List'; 'Pascal Thivent'
Subject: RE: XDoclet in Maven
What's the point of a global repository of plugins and libraries
if every project
has their own repository?
So now, I, as a developer/project maintainer, have to make sure
that all my
developers have the right list
The snapshot error is worrisome.. double check that the version of xdoclet
used by the plugin in MAVEN_HOME\cache\maven-xdoclet-plugin\project.xml
isn't marked as SNAPSHOT.
If it is, where did you get this plugin, from the download at
xdoclet.sf.net?
Eric
Eric
In the plugins directory, I have
maven-xdoclet-plugin-1.2.2-SNAPSHOT.jar. I do not know
where I got it. Of course, all the other plugins are
not SNAPSHOT. In
http://xdoclet.sourceforge.net/repository/xdoclet/plugins/
there is only 1.2.1. Is that the right version?
Should I change the file
that is not present: 'doc' in
plugin: 'maven-war-plugin-1.
6.1'
Janos
The snapshot error is worrisome.. double check that
the version of
xdoclet
used by the plugin in
MAVEN_HOME\cache\maven-xdoclet-plugin\project.xml
isn't marked as SNAPSHOT.
If it is, where did you get this plugin, from
Hi,
have you tried the *Maven Plug-in* entry on xdoclet website ?
http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html. On this
page, we can read :
Maven is an increasingly popular build tool, and XDoclet maintains
its own Maven plug-in. This plug-in is located in the same folder
\PlutoApp\modules\everest-module-registration\maven.xm
l
Element... attainGoal
Line.. 8
Column 51
No goal [xdoclet:ejbdoclet]
Install maven xdoclet plugin.
In maven.xml I have:
preGoal name=java:compile
echoGenerates EJB classes and descriptor
files/echo
Hi
I commented out my dependencies, ran Maven, then I put
back the XDoclet dependencies, ran Maven again, and
everything started working. Here they are:
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-ejb-module/artifactId
version1.2.2/version
properties/
/dependency
The JBoss and Hibernate XDoclet modules are still
commented out. I have two questions:
1. Why I see:
Tag library requested that is not present: 'doc' in
plugin: 'maven-ejb-plugin-1.
5'
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
Arnaud,
There is a line on the xdoclet site (although it isnt as obvious and
maybe it should be) but you can add the xdoclet maven repository to
you maven.repo.remote setting and this should take care of downloading
everything you need.
Your build.properties (or similar) may end up something
as obvious and
maybe it should be) but you can add the xdoclet maven repository to
you maven.repo.remote setting and this should take care of downloading
everything you need.
Your build.properties (or similar) may end up something like the following:
maven.repo.remote=http://www.ibiblio.org
Eric
Where is this?
I am still getting:
java:compile:
[echo] Generates EJB classes and descriptor files
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
gin-1.2.1'
xdoclet:ejbdoclet:
Have you tried with the latest and greatest of
xdoclet? 1.2.2 was
released
and descriptor files
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
gin-1.2.1'
xdoclet:ejbdoclet:
However, if I define a taskdef like you said:
ant:taskdef name=ejbdoclet
classname=xdoclet.modules.ejb.EjbDocletTask
classpathref
-Original Message-
From: Janos Mucsi [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:01 PM
To: Maven Users List; Pascal Thivent
Subject: XDoclet in Maven
Pascal
I set my dependencies exactly like you said. It solved
the class not found problem.
So now if I do
preGoal name
Eric
When you are done, please let us know the list of
exact modules and their versions.
Thanks.
J
I am in the process of updating the XDoclet repository
at
http://xdoclet.sf.net/repository. I have everything
bug the newest
plugin
uploaded, I ran into an issue with permissions on the
filesystem
I cleaned out the cache so everything was downloaded
very well, I am still getting the following error:
C:\temp\eclipse\PlutoApp\modules\everest-module-registrationmaven
ejb:install
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v.
with permissions on the filesystem that is
stopping me. Hopefully everything will be online in the next day or so.
Eric
-Original Message-
From: Janos Mucsi [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:01 PM
To: Maven Users List; Pascal Thivent
Subject: XDoclet in Maven
, if people find there are some specific ones they would like added,
hollar on the xdoclet-dev list.
Eric
-Original Message-
From: Pascal Thivent [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 13, 2004 10:19 PM
To: [EMAIL PROTECTED]; Maven Users List
Subject: Re: [OT] Re: XDoclet in Maven
Objet : RE: [OT] Re: XDoclet in Maven
I'm glad you like the new all in one aspect in 1.2.2 ;-).
Note though, I only added the most common dependencies. I thought about
adding all of them, but was worried it would make anyone using the plugin
have to download a massive number of dependencies
: Re: XDoclet in Maven
Hi,
in deed, you made a lot of progress since the first mail. Lets try to
tackle all pending issues.
I'm not using the EjbDocletTask directly but use rather the maven
xdoclet goal. So I have this in my maven.xml :
preGoal name=java:compile
echoGenerates
Hi,
I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
dependencies to version 1.2.2. EJBs classes and hibernate mappings
generation works fine.
Thanks.
On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh [EMAIL PROTECTED] wrote:
Have you tried with the latest and greatest
Actually, the maven xdoclet plugin has all xdoclet required
dependencies in its project.xml so I don't have to manage them
anymore.
Thus, I would recommand more than ever to use the maven-xdoclet-plugin
rather than xdoclet ant tasks directly (for the same reason as
mentionned in a previous mail
] }
[javac] [VERBOSE]
com\mucsillc\ejb\AccountService.java added as
com/mucsillc
/ejb/AccountService.class is outdated.
popping off
[EMAIL PROTECTED] for
org.apache.maven
[EMAIL PROTECTED] in
maven-xdoclet-plugin:maven-xdoclet-plugin
popping off
[EMAIL PROTECTED] for
org.apache.maven
[EMAIL
Hi
I have this in my maven.xml:
project default=foobar-dist xmlns:ant=jelly:ant
xmlns:maven=jelly:maven
goal name=opcert-dist
attainGoal name=ejb:install /
/goal
preGoal name=java:compile
ant:echojava:compile executing/ant:echo
\source\complib\log4j-1.2.8.jar;C:\Documents
and Settin
gs\jmucsi/.maven/repository\xdoclet\jars\xdoclet-1.2.jar;C:\Documents
and Settin
gs\jmucsi/.maven/repository\xdoclet\jars\xdoclet-xdoclet-module-1.2.jar;C:\Docum
ents and
Settings\jmucsi/.maven/repository\xdoclet\jars\xdoclet-ejb-module-1.2.j
ar
Hi,
in deed, you made a lot of progress since the first mail. Lets try to
tackle all pending issues.
I'm not using the EjbDocletTask directly but use rather the maven
xdoclet goal. So I have this in my maven.xml :
preGoal name=java:compile
echoGenerates EJB classes and descriptor
Hello,
I read the reference in the xdoclet maven-plugins, but it still not work.
Is there any project or example use Maven+Xdoclet?
Eric
==
If you know what you are doing,
it is not called RESEARCH
Hi Eric,
can you please describe your problem in more detail.
Have you configured the plugin in your project.properties?
Do you have all dependecies in your project.xml?
What xdoclet goal are you using?
Hello,
I read the reference in the xdoclet maven-plugins, but it
still not work
--- Eric Chow [EMAIL PROTECTED] wrote:
Hello,
I read the reference in the xdoclet maven-plugins,
but it still not work.
Is there any project or example use Maven+Xdoclet?
I can assure you that this works.
Here some small sample:
---% maven.xml ---
preGoal name=java:compile
36 matches
Mail list logo