Re: Q about the fix for 1030
Filed as:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1257
-marina
Tom Ware wrote:
> 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
>>
>>
>