Bug 108544 - Can not add persistence archive (.par) file to build path
Summary: Can not add persistence archive (.par) file to build path
Status: VERIFIED DUPLICATE of bug 104157
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 20:19 EDT by Nathan Vick CLA
Modified: 2008-09-16 07:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Vick CLA 2005-08-31 20:19:25 EDT
Eclipse does not let you add an EJB 3.0 persistence archive (*.par) to the Java
Build Path. Persistence archives are supposed to work in a plain old J2SE
environment. I understand that EJB 3.0 is not yet final, but I would like a way
to force an archive onto the build path, even if I have to hack it into the
.classpath file.

The "Add JARs..." button brings up a window that ignores it. The "Add External
JARs..." button also brings up a window that igores it, but at least you can
type the in filename. However, even if you type in the filename, if it ends with
.par, you get an error: Illegal type of archive for required library. Even if I
hack the entry into the .classpath file, I get the same error: Illegal type of
archive for required library.

Please see:

http://blog.hibernate.org/cgi-bin/blosxom.cgi/2005/08/04#par-archive
http://java.sun.com/products/ejb/docs.html
Comment 1 Olivier Thomann CLA 2006-10-10 11:30:35 EDT
Build path issue.
It is related about adding new extensions to be considered as libraries (jar files).
Comment 2 Olivier Thomann CLA 2006-10-10 11:32:30 EDT

*** This bug has been marked as a duplicate of 104157 ***
Comment 3 David Audel CLA 2008-09-16 07:35:06 EDT
Verified for 3.5M2