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

Odd, did try this?
<compilerarg value="-Aeclipselink.persistencexml=${web.dir}/META-INF/persistence.xml" compiler="javac1.6" />
Cheers,
Guy


On 07/05/2011 6:30 AM, Chuong Pham wrote:
I've tried this too - still got the same error. I think this is a bug with
EclipseLink. Else, it is a bug with java.net.URI#Parser. :-((


Guy Pelletier wrote:
  You need to specify the persistence.xml filename. It is not adding it 
by default.

"D:/Project/website/WebContent/META-INF/persistence.xml"

Cheers,
Guy


    

Back to the top