Hello, glad to be helpful :) i have additional question though to raise to xdoclet list regarding ejb generation etc. I have noticed, for some reason, that if i omit hte xdoclet-jmx dependency, my ejbdoclet task get screwed up, complaining that the deploymentDescriptor directory that i have set in my project.properties does not exist. if i include the jmx dependency, the directory gets automatically created if it doesnot exist has anyone noticed similar things?
thanx and regards marco On 8/17/05, Daniel Reghin <[EMAIL PROTECTED]> wrote: > Hello, > > It worked !!!! > I used theses dependencies. > > <dependency> > <groupId>jboss</groupId> > <artifactId>jboss-j2ee</artifactId> > <version>3.2.3</version> > </dependency> > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-web-module</artifactId> > <version>1.2.3</version> > </dependency> > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-jboss-module</artifactId> > <version>1.2.3</version> > </dependency> > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-jmx-module</artifactId> > <version>1.2.3</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-ejb-module</artifactId> > <version>1.2.3</version> > </dependency> > > Thanks a lot for your help. > > > -----Mensagem original----- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Marco Mistroni > Enviada em: quarta-feira, 17 de agosto de 2005 12:22 > Para: [email protected] > Assunto: Re: RES: [Xdoclet-user] Maven Jboss.xml problem > > Hello, > works fine for me. > Please check your project.properties as well as dependencies > below is what works for me. i am using jboss 2.4 because i am using > openejb at same time... and openejb does not support ejb 2.1 > > *************** PROJECT PROPERTIES ************************** > > maven.xdoclet.ejbdoclet.ejbSpec=1.1 > maven.xdoclet.ejbdoclet.fileset.0=true > maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java > > maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true > maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/classes/META-INF > > maven.xdoclet.ejbdoclet.openejb.0=true > maven.xdoclet.ejbdoclet.castormapping.0=true > maven.xdoclet.ejbdoclet.jboss.0=true > maven.xdoclet.ejbdoclet.jboss.0.Version=2.4 > ***************************************************************** > > ************************ dependencies, mayb more than you need **** > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet</artifactId> > <version>1.2.3</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-apache-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-java-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-exolab-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> > > > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-jdo-module</artifactId> > <version>1.2.3</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-jboss-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> > > <!-- <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-openejb-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> --> > > <dependency> > <id>xdoclet+openejb-module</id> > <version>1.2.2</version> > </dependency> > > > > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-jmx-module</artifactId> > <version>1.2.3</version> > </dependency> > > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-hibernate-module</artifactId> > <version>1.2.3</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-web-module</artifactId> > <version>1.2.3</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-xdoclet-module</artifactId> > <version>1.2.2-SNAPSHOT</version> > </dependency> > > <dependency> > <groupId>xjavadoc</groupId> > <artifactId>xjavadoc</artifactId> > <version>1.1</version> > </dependency> > > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-ejb-module</artifactId> > <version>1.2.3</version> > </dependency> > > HTH > > > > > > On 8/17/05, Daniel Reghin <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thanks for your help but it didn't work. > > I put all the dependencies that you suggested but my build just didn't > > worked. > > > > I ran maven with a -X and notice that the build stops in the middle of the > > execution write after defining the src path. I notice that the problem is > > the xdoclet-jboss-module. If I take out this dependency the build execute. > > > > Defining xdoclet-jboss-module in POM (Maven Log) > > > > [ejbdoclet] [DEBUG] fileset: Setup scanner in dir > > C:\maven\EJBAdministrativoMaven\ejb\target\checkout\src with patternSet{ > > includes: [**/*Bean.java] excludes: [] } > > [ejbdoclet] [DEBUG] Class org.apache.tools.ant.DirectoryScanner loaded > > from parent loader > > [ejbdoclet] [DEBUG] Finding class xjavadoc.filesystem.AbstractFile > > [ejbdoclet] [DEBUG] Class xjavadoc.filesystem.AbstractFile loaded from > > ant loader > > [ejbdoclet] [DEBUG] Finding class xdoclet.XDocletMain > > [ejbdoclet] [DEBUG] Class xdoclet.XDocletMain loaded from ant loader > > [DEBUG] Adding reference: ejbdoclet.java.compile.src.set -> > > attaining goal build:end > > > > Without defining xdoclet-jboss-module in POM > > [ejbdoclet] [DEBUG] fileset: Setup scanner in dir > > C:\maven\EJBAdministrativoMaven\ejb\target\checkout\src with patternSet{ > > includes: [**/*Bean.java] excludes: [] } > > [ejbdoclet] [DEBUG] Class org.apache.tools.ant.DirectoryScanner loaded > > from parent loader > > [ejbdoclet] [DEBUG] Finding class xjavadoc.filesystem.AbstractFile > > [ejbdoclet] [DEBUG] Class xjavadoc.filesystem.AbstractFile loaded from > > ant loader > > [ejbdoclet] [DEBUG] Finding class xdoclet.XDocletMain > > [ejbdoclet] [DEBUG] Class xdoclet.XDocletMain loaded from ant loader > > [ejbdoclet] [DEBUG] Finding class > > xdoclet.modules.ejb.home.HomeTagsHandler > > [ejbdoclet] [DEBUG] Finding class xdoclet.modules.ejb.EjbTagsHandler > > [ejbdoclet] [DEBUG] Finding class xdoclet.XDocletTagSupport > > [ejbdoclet] [DEBUG] Class xdoclet.XDocletTagSupport loaded from ant > > loader > > > > It seems strange to me. I can´t figure it out why. > > > > Thanks in advance. > > > > > > -----Mensagem original----- > > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Joachim Bader > > Enviada em: quarta-feira, 17 de agosto de 2005 10:17 > > Para: [email protected] > > Assunto: Re: [Xdoclet-user] Maven Jboss.xml problem > > > > Hi, > > > > On Wednesday 17 August 2005 14:32, Daniel Reghin wrote: > > > I can't generate the jboss.xml from the maven xdoclet plug-in. (Maven > > > 1.0.2 and maven-xdoclet-plugin-1.2.3.jar) > > > > > > I have already searched for this problem on the mailing list but had no > > > success. > > > > > > I put the jboss dependency on project.xml > > > > try this dependencies: > > <dependency> > > <groupId>xdoclet</groupId> > > <artifactId>xdoclet-ejb-module</artifactId> > > <version>1.2.3</version> > > </dependency> > > <dependency> > > <groupId>xdoclet</groupId> > > <artifactId>xdoclet-web-module</artifactId> > > <version>1.2.3</version> > > </dependency> > > <dependency> > > <groupId>xdoclet</groupId> > > <artifactId>maven-xdoclet-plugin</artifactId> > > <version>1.2.3</version> > > <type>plugin</type> > > </dependency> > > <dependency> > > <groupId>xdoclet</groupId> > > <artifactId>xdoclet-jboss-module</artifactId> > > <version>1.2.3</version> > > </dependency> > > > > the jboss module depends on the xdoclet-web-module, I think > > > > regards, > > Joachim > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > xdoclet-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > -------------------------------------------------------------------------------------------- > > Esta mensagem e seus anexos podem conter informações confidenciais ou > > privilegiadas. Se você não é o destinatário dos mesmos você não está > > autorizado a utilizar o material para qualquer fim. > > Solicitamos que você apague a mensagem e avise imediatamente ao remetente. > > O conteúdo desta mensagem e seus anexos não representam necessariamente a > > opinião e a intenção da empresa, não implicando em qualquer obrigação ou > > responsabilidade da parte da mesma. > > > > This message may contain confidential and/or privileged information. If you > > are not the addressee or authorized to receive this for the addressee, you > > must not use, copy, disclose or take any action based on this message or > > any information herein. > > If you have received this message in error, please advise the sender > > immediately by reply e-mail and delete this message. The contents of this > > message and its attachments do not necessarily express the opinion or the > > intention of the company, and do not implies any legal obligation or > > responsibilities from this company. > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > xdoclet-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > xdoclet-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > -------------------------------------------------------------------------------------------- > Esta mensagem e seus anexos podem conter informações confidenciais ou > privilegiadas. Se você não é o destinatário dos mesmos você não está > autorizado a utilizar o material para qualquer fim. > Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O > conteúdo desta mensagem e seus anexos não representam necessariamente a > opinião e a intenção da empresa, não implicando em qualquer obrigação ou > responsabilidade da parte da mesma. > > This message may contain confidential and/or privileged information. If you > are not the addressee or authorized to receive this for the addressee, you > must not use, copy, disclose or take any action based on this message or any > information herein. > If you have received this message in error, please advise the sender > immediately by reply e-mail and delete this message. The contents of this > message and its attachments do not necessarily express the opinion or the > intention of the company, and do not implies any legal obligation or > responsibilities from this company. > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > xdoclet-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ xdoclet-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
