This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 178108
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +16 lines)
Lines 10-11 Link Here
10
<project name="YourProject" default="default" basedir=".">
10
<project name="YourProject" default="default" basedir="." xmlns:webproject2="http://www.netbeans.org/ns/web-project/2">
11
--
Line 13 Link Here
13
14
    <target name="-pre-compile" depends="-copy-persistence-xml">
15
        <property name="jpa.metamodel" location="${build.generated.sources.dir}/jpa-metamodel"/>
16
        <mkdir dir="${jpa.metamodel}"/>
17
        <copy todir="${jpa.metamodel}/META-INF">
18
            <fileset dir="${persistence.xml.dir}" includes="persistence.xml"/>
19
        </copy>
20
        <webproject2:javac destdir="${jpa.metamodel}" gensrcdir="${build.generated.sources.dir}">
21
            <customize>
22
                <compilerarg line="-processor org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor -proc:only"/>
23
            </customize>
24
        </webproject2:javac>
25
        <delete dir="${jpa.metamodel}/META-INF"/>
26
    </target>
27

Return to bug 178108