Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] EclipseLink 2: ANT Task Error

Hi,

In a previous e-mail my suggestion was:


"It also works with relative path, like "website/WebContent/META-INF/persistence.xml" considering build.xml is in the D:/Project directory."



Given the fact that your build.xml is in "D:/Project/website/ant" (and not in "D:/Project" as I was supposing) then you have to addapt that path accordingly. The following should work:



<compilerarg value="-Aeclipselink.persistencexml=../WebContent/META-INF/persistence.xml"/>



Regards,

   Constantino.



Back to the top