Re: How do I use the sunjdo10 Middlegen task

Eivind Waaler <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hi,

Not sure about the inherit stuff, don't think it's supported but i might
be wrong..

For the suffix, try the properties beansuffix (defaults to "Bean") and
pksuffix (defaults to "PK"):

<sunjdo10
  destination="${build.gen-src.dir}"
  package="${name}.jdo"
  beansuffix="Foo"
  pksuffix="Bar"
/>

The JDO plugin hasen't been modified in a very long time, if you get
middlegen from cvs you can check out the source and do modifications to
it (for example add support for extending classes etc.). It's quite a
small plugin..

Cheers
.eivind

On Thu, 22 Jan 2004, mike long wrote:

> Hello All;
> I looked for the plugin documentation for this Middlegen sunjdo10
> subtask but discovered that it did not exist. I need to be able to
> ensure that each generated JDO inherits from a class of my choosing. I
> also want to append a suffix to each JDO class. Can anyone tell me how
> to do this?
>
> Gratefully,
> Mike Long
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> middlegen-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
>


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.