persistence@glassfish.java.net

Re: Q about the fix for 1030

From: Tom Ware <tom.ware_at_oracle.com>
Date: Thu, 05 Oct 2006 07:57:27 -0400

Hi Marina,

  Feel free to add another issue.

-Tom

Marina Vatkina wrote:

>Hi Tom,
>
>Your fix removes the "generated" Version.java during the build
>time, so there is no easy way to verify what had been generated.
>
><target name="compile" ...
> ...
> <delete file="${component.classes.dir}/oracle/toplink/essentials/Version.java"/>
> ...
></target>
>
>To avoid this, the generation should happen into the special location:
>build/src or build/gensrc directory (same is true for .java files
>generated from .g - didn't we have an issue for that?), as e.g. we do it
>in cmp (see e.g. cmp/support/ejb/build.xml). This allows to easily exclude
>those generated files from packaging into the resulting jar.
>
>Should I open another issue for that, or reopen 1030?
>
>thanks,
>-marina
>
>

-- 
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com