I had no problem:
Buildfile: build.xml
check-environment:
check-jboss:
wrong-jboss:
check-xdoclet:
wrong-xdoclet:
init:
[echo] build.compiler = ${build.compiler}
[echo] user.home = C:\Documents and
Settings\Administrateur
[echo] java.home = e:\jdk1.4.0\jre
[echo] ant.home = E:\ant-1.4\bin\\..
[echo] jboss.home = E:/jboss-3.0.0_tomcat-4.0.3
[echo] xdoclet.home = E:/xdoclet-1.1.2
[echo] java.class.path =
e:\jdk1.4.0\lib\tools.jar;E:\ant-1.4\bin\\..\lib\jaxp.jar;E:\ant-1.4\bin\\..\lib\jakarta-ant-1.4
-optional.jar;E:\ant-1.4\bin\\..\lib\crimson.jar;E:\ant-1.4\bin\\..\lib\ant.jar;E:\Apache~1.0\common\lib\servlet.jar
[echo]
xdoclet-generate:
[ejbdoclet] Generating Javadoc
[ejbdoclet] Javadoc execution
[ejbdoclet] Loading source file
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java...
[ejbdoclet] Constructing Javadoc information...
[ejbdoclet]
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java:82:
cannot resolve symbol
[ejbdoclet] symbol : class UserEntityData
[ejbdoclet] location: class
com.percipia.auth.entity.UserEntityBean
[ejbdoclet] public void setValueObject(
UserEntityData pUserEntity )
[ejbdoclet] ^
[ejbdoclet]
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java:145:
cannot resolve symbol
[ejbdoclet] symbol : class UserEntityData
[ejbdoclet] location: class
com.percipia.auth.entity.UserEntityBean
[ejbdoclet] public UserEntityData getValueObject()
{
[ejbdoclet] ^
[ejbdoclet]
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java:451:
cannot resolve symbol
[ejbdoclet] symbol : class UserEntityData
[ejbdoclet] location: class
com.percipia.auth.entity.UserEntityBean
[ejbdoclet] public UserEntityPK ejbCreate(
UserEntityData pUserEntity )
[ejbdoclet] ^
[ejbdoclet]
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java:451:
cannot resolve symbol
[ejbdoclet] symbol : class UserEntityPK
[ejbdoclet] location: class
com.percipia.auth.entity.UserEntityBean
[ejbdoclet] public UserEntityPK ejbCreate(
UserEntityData pUserEntity )
[ejbdoclet] ^
[ejbdoclet]
E:\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java:474:
cannot resolve symbol
[ejbdoclet] symbol : class UserEntityData
[ejbdoclet] location: class
com.percipia.auth.entity.UserEntityBean
[ejbdoclet] public void ejbPostCreate(
UserEntityData pUserEntity )
[ejbdoclet] ^
[ejbdoclet] Running <homeInterface/>
[ejbdoclet] Generating Home interface for
'com.percipia.auth.entity.UserEntityBean'.
[ejbdoclet] Running <remoteInterface/>
[ejbdoclet] Generating Remote interface for
'com.percipia.auth.entity.UserEntityBean'.
[ejbdoclet] Running <entitypk/>
[ejbdoclet] Generating PK class for
'com.percipia.auth.entity.UserEntityBean'.
[ejbdoclet] Running <dataobject/>
[ejbdoclet] Generating Data Object class for
'com.percipia.auth.entity.UserEntityBean'.
[ejbdoclet] Running <entitycmp/>
[ejbdoclet] Generating CMP class for
'com.percipia.auth.entity.UserEntityBean'.
[ejbdoclet] Running <deploymentDescriptor/>
[ejbdoclet] Generating EJB deployment descriptor.
[ejbdoclet] Running <jboss/>
[ejbdoclet] Generating jboss.xml.
[ejbdoclet] Generating jaws.xml.
[ejbdoclet] Generating jbosscmp-jdbc.xml.
[ejbdoclet] 5 warnings
compile:
[mkdir] Created dir: E:\group\build\classes
[javac] Compiling 9 source files to
E:\group\build\classes
[javac] Compiling 1 source file to
E:\group\build\classes
jar:
[mkdir] Created dir: E:\group\build\deploy
[mkdir] Created dir: E:\group\build\client
[mkdir] Created dir: E:\group\build\bin
[jar] Building jar:
E:\group\build\deploy\ejb-test.jar
[jar] Building jar:
E:\group\build\client\client-test.jar
compile-web:
war:
deploy-server:
[copy] Copying 1 file to
E:\jboss-3.0.0_tomcat-4.0.3\server\default\deploy
create-client:
[echo] JBoss Home on Unix:
E:/jboss-3.0.0_tomcat-4.0.3
[echo] Java Home on Unix: E:/jdk1.4.0/jre
[copy] Copying 1 file to E:\group\build\bin
[copy] Copying 1 file to E:\group\build\bin
[copy] Copying 1 file to E:\group\build\bin
[copy] Copying 1 file to E:\group\build\bin
main:
BUILD SUCCESSFUL
Total time: 7 seconds
(I made ant clean then ant)
I use XDoclet version 1.1.2 and you?
--- Sundaram Ramasamy <[EMAIL PROTECTED]> a �crit�: >
I am sending the full directory.
>
> Thanks
>
>
> ----- Original Message -----
> From: "wonder sonic" <>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 24, 2002 11:03 AM
> Subject: Re: [JBoss-user] xdoclet creating wrong
> package
>
>
> > Could you send your ant build.xml file and your
> > .ant.properties file?
> >
> > --- Sundaram Ramasamy <[EMAIL PROTECTED]> a �crit
> : >
> > yes, I have those lines in my build.xml file.
> > >
> > > ----- Original Message -----
> > > From: "wonder sonic" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, June 24, 2002 7:50 AM
> > > Subject: Re: [JBoss-user] xdoclet creating wrong
> > > package
> > >
> > >
> > > > Hi,
> > > > I'm not an xdoclet expert but did you put the
> > > line:
> > > >
> > > > <packageSubstitution packages="session,entity"
> > > > substituteWith="interfaces"/>
> > > >
> > > > in the build.xml ant file?
> > > >
> > > > look at the example:
> > > >
> > > > ...
> > > > <target name="xdoclet-generate"
> depends="init">
> > > > <taskdef
> > > > name="ejbdoclet"
> > > > classname="xdoclet.ejb.EjbDocletTask"
> > > > >
> > > > <classpath refid="xdoclet.path"/>
> > > > </taskdef>
> > > >
> > > > <ejbdoclet
> > > > sourcepath="${src.ejb.dir}"
> > > > destdir="${build.generate.dir}"
> > > > classpathref="base.path"
> > > > excludedtags="@version,@author"
> > > > ejbspec="${ejb.version}"
> > > >
> mergedir="${src.resources.dir}/xdoclet"
> > > > force="${xdoclet.force}"
> > > > >
> > > > <fileset dir="${src.ejb.dir}">
> > > > <include name="**/*Bean.java"/>
> > > > </fileset>
> > > >
> > > > <packageSubstitution
> > > > packages="session,entity"
> > > > substituteWith="interfaces"/>
> > > > <dataobject/>
> > > > <remoteinterface/>
> > > > <homeinterface/>
> > > > <entitypk/>
> > > > <entitycmp/>
> > > > <deploymentdescriptor
> > > > destdir="${build.dir}/META-INF"/>
> > > > <!-- AS 4/29/02 Do not validate XML
> files
> > > > because JBoss 3.0 message driven will
> > > > report an wrong error because it
> > > uses
> > > > the wrong jboss.dtd -->
> > > > <jboss version="${jboss.version}"
> > > > xmlencoding="UTF-8"
> > > > typemapping="${type.mapping}"
> > > > datasource="${datasource.name}"
> > > > destdir="${build.dir}/META-INF"
> > > > validateXml="false"
> > > > />
> > > > </ejbdoclet>
> > > > </target>
> > > > ...
> > > >
> > > > Hope it helps...
> > > > Wonder Sonic
> > > >
> > > > --- Sundaram <[EMAIL PROTECTED]> a �crit : >
> Hi,
> > > > >
> > > > > I have modified template example , created
> user
> > > > > entity bean. some how it
> > > > > creating wrong package name.
> > > > >
> > > > > user entity class, it generating wrong
> package
> > > > > name.
> > > > > com.percipia.auth.entity, but it suppose to
> be
> > > > > com.percipia.auth.interfaces.
> > > > >
> > > > > generated line:
> > > > > public
> > > com.percipia.auth.entity.UserEntityData
> > > > > getValueObject( ) throws
> > > > > java.rmi.RemoteException;
> > > > >
> > > > > --------------------------------
> > > > >
> > > > > UserEntityBean.java
> > > > > ---------------
> > > > >
> > > > > package com.percipia.auth.entity;
> > > > >
> > > > > import com.percipia.auth.interfaces.*;
> > > > >
> > > > > import java.sql.Date;
> > > > > import java.rmi.RemoteException;
> > > > > import java.util.Collection;
> > > > > import java.util.Iterator;
> > > > >
> > > > > import javax.ejb.CreateException;
> > > > > import javax.ejb.EJBException;
> > > > > import javax.ejb.EntityBean;
> > > > > import javax.ejb.EntityContext;
> > > > > import javax.ejb.FinderException;
> > > > > import javax.ejb.RemoveException;
> > > > > import javax.naming.Context;
> > > > > import javax.naming.InitialContext;
> > > > > import javax.naming.NamingException;
> > > > > import javax.rmi.PortableRemoteObject;
> > > > >
> > > > > /**
> > > > > * The Entity bean represents a UserEntity
> > > > > *
> > > > > * @author Andreas Schaefer
> > > > > * @version $Revision: 1.1 $
> > > > > *
> > > > > * @ejb:bean name="User/UserEntity"
> > > > > * display-name="UserEntity
> working on
> > > > > projects to support
> > > > > clients"
> > > > > * type="CMP"
> > > > > * jndi-name="ejb/User/UserEntity"
> > > > > *
> > > > > * @ejb:transaction type="Required"
> > > > > *
> > > > > * @ejb:data-object
> > > > >
> > >
> extends="com.percipia.auth.interfaces.AbstractData"
> > > > > * setdata="false"
> > > > > *
> > > > > * @ejb:finder
> signature="java.util.Collection
> > > > > findAll()"
> > > > > *
> > > > > * @ejb:finder
> > > > >
> > >
> signature="com.percipia.auth.interfaces.UserEntity
> > > > > findByName( java.lang.String pSurname,
> > > > > java.lang.String pLastName )"
> > > > > *
> > > > > * @jboss:finder-query name="findByName"
> > > > > * query="First_Name =
> {0}
> > > AND
> > > > > Last_Name = {1}"
> > > > > *
> > > > > * @ejb:finder
> > > > >
> > >
> signature="com.percipia.auth.interfaces.UserEntity
> > > > > findAnotherByName( int pId, java.lang.String
> > > > > pSurname, java.lang.String
> > > > > pLastName )"
> > > > > *
> > > > > * @jboss:finder-query
> name="findAnotherByName"
> > > > > * query="Id != {0} AND
> > > > > First_Name = {1} AND Last_Name =
> > > > > {2}"
> > > > > *
> > > > > * @jboss:table-name table-name="UserEntity"
> > > > > *
> > > > > * @jboss:create-table create="true"
> > > > > *
> > > > > * @jboss:remove-table remove="true"
> > > > > **/
> > > > > public abstract class UserEntityBean
> > > > > implements EntityBean
> > > > > {
>
=== message truncated ===
> ATTACHMENT part 2 application/x-zip-compressed
name=group.zip
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user