Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo