Hi all,
I switched my project from xdoclet 1.1.2 to latest CVS version (checked
out a couple of days ago) due to a relationship problem now fixed: a
problem arose with package substituion.
My EJBs are located in package it.eudaimon.benessere.ejb and I use the
following packageSubstitution tag in ant build file (directly in the
ejbdoclet task, not any subtask):
<packageSubstitution packages="ejb" substituteWith="ejb.interfaces"/>
to change the generated interface files package. Now, everything works
ok except for the generated interfaces containing the fully
qualified name of other referenced interfaces but with the
non-substituted (and so wrong) package. I also tried
substituteWith="interfaces" as in the samples but had problem anyway.
Next you can see the two files generated with the old and new version of
xdoclet (in the old one the referenced interfaces are not qualified so
everything is ok thanks to the import statement). Look at the
getDbProvince method.
Any clue about what I could do wrong ?
Thank you in advance (as always),
Marco
----------------------------------------
Generated with 1.1.2
----------------------------------------
*
* Generated file - Do not edit!
*/
package it.eudaimon.benessere.ejb.interfaces;
import java.lang.*;
import it.eudaimon.benessere.ejb.interfaces.*;
import java.rmi.*;
import javax.ejb.*;
import javax.naming.*;
import javax.rmi.*;
/**
* Local interface for Company.
* @author XDOCLET 1.1.2 * @xdoclet-generated at Jun 19, 2002 3:11:27 PM
*/
public interface CompanyLocal
extends javax.ejb.EJBLocalObject
{
public java.lang.Integer getCdAzie( ) ;
public ProvinceLocal getDbProvince( ) ;
public java.lang.String getDeRags( ) ;
public java.lang.String getMnAzie( ) ;
public ProvinceLocal getProvince( ) ;
public void setDeRags( java.lang.String deRags ) ;
public void setMnAzie( java.lang.String mnAzie ) ;
public void setProvince( ProvinceLocal prov ) ;
}
----------------------------------------
Generated with latest CVS version
----------------------------------------
/*
* Generated file - Do not edit!
*/
package it.eudaimon.benessere.ejb.interfaces;
import it.eudaimon.benessere.ejb.interfaces.*;
import java.rmi.*;
import java.util.*;
import javax.ejb.*;
import javax.naming.*;
import javax.rmi.*;
/**
* Local interface for Company.
*/
public interface CompanyLocal
extends javax.ejb.EJBLocalObject
{
public java.lang.Integer getCdAzie( ) ;
public it.eudaimon.benessere.ejb.ProvinceLocal getDbProvince( ) ;
public java.lang.String getDeRags( ) ;
public java.lang.String getMnAzie( ) ;
public it.eudaimon.benessere.ejb.ProvinceLocal getProvince( ) ;
public void setDeRags( java.lang.String deRags ) ;
public void setMnAzie( java.lang.String mnAzie ) ;
public void setProvince( it.eudaimon.benessere.ejb.ProvinceLocal prov ) ;
}
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user