[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eclipselink-users] Finding project.xml file in jar using sessions.xml
- From: James Sutherland <jamesssss@xxxxxxxxx>
- Date: Thu, 7 Aug 2008 06:13:41 -0700 (PDT)
- Delivered-to: email@example.com
Just give a relative resource path to project.xml file. As long as it is on
the resource classpath it will be found. i.e. "/META-INF/project.xml".
> The workbench generates file paths like this in the sessions.xml file:
> I want to refer to a file that is in a jar. I noticed this documentation
> mentions something about a <jar> element:
> So my questions are:
> 1. Where do I put this <jar> element?
> 2. If I have the project.xml file in a jar file, do I have to use the
> SessionManager to get the Session as documented? I'm currently using
> Spring-WS integration and the Session auto-magically gets found when I use
> hard-coded paths for the project.xml files. I'd like to keep it that way
> if possible.
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
View this message in context: http://www.nabble.com/Finding-project.xml-file-in-jar-using-sessions.xml-tp18861280p18870152.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.