Marc, Thanks for the inputs.
Sreedhar
Marc Prud'hommeaux wrote:
>
> Sreedhar-
>
> Can you clarify what you mean by "other class instead of openJPA
> enhancer"? Unlike JDO, JPA has no standard enhancement contract, so
> it is unlikely that there will be another bytecode enhancer tool
> available that does the same thing that the OpenJPA enhancer does.
>
>
>
> On Jul 9, 2007, at 5:03 AM, [EMAIL PROTECTED] wrote:
>
>> Hi All,
>>
>> While building the project I'm using the following script in
>> build.xml to Enhance the classes. I've a requirement to use
>> enhancer but not openJPA enhancer Is there any way I can use other
>> class instead of openJPA enhancer? If yes, can anyone provide the
>> details.
>>
>> <target name="enhance">
>> <!-- define the openjpac task; this can be done at the
>> top of the -->
>> <!-- build.xml file, so it will be available for all
>> targets org.apache.openjpa.ant.PCEnhancerTask-->
>> <taskdef name="openjpac" classpathref="enh.classpath"
>> classname="org.apache.openjpa.ant.PCEnhancerTask"/>
>> <!-- invoke enhancer on all .java files below the model
>> directory -->
>> <openjpac>
>> <config propertiesFile="./dd/openjpa/
>> persistence.xml"/>
>> <!-- <classpath><pathelement location="$
>> {build.dir}" /></classpath> -->
>> <classpath refid="enh.classpath" />
>> <fileset dir=".">
>> <include name="src/com/vormetric/server/dao/user/
>> *DTO.java" />
>> </fileset>
>> <fileset dir="${build.dir}">
>> <include name="PrivilegeDTO.class" />
>> <include name="LoggerConfigDTO.class" />
>> </fileset>
>> </openjpac>
>> </target>
>>
>> Regards,
>> Sreedhar
>
>
>
--
View this message in context:
http://www.nabble.com/What-all-Enhancers-can-I-use---tf4049482.html#a11575486
Sent from the OpenJPA Users mailing list archive at Nabble.com.