Bug 185256 - [build path][user libraries]file: *.userlibraries can not use path like ./*/*/*.jar
Summary: [build path][user libraries]file: *.userlibraries can not use path like ./*/*...
Status: RESOLVED DUPLICATE of bug 70417
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-05-02 18:56 EDT by sinosaga CLA
Modified: 2007-06-22 02:34 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sinosaga CLA 2007-05-02 18:56:13 EDT
Build ID: 3.2.2

Steps To Reproduce:
1.    if i edit the userlibraries file -- *.userlibraries from javadoc="jar:file:/F:/Workspace/repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3-javadoc.zip!/
to javadoc="jar:file:/./repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3-javadoc.zip!/
it can find the file
2.  if i edit the userlibraries file -- *.userlibraries from source="F:/Workspace/repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3-javadoc.zip"
to source="jar:file:/./repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3-src.zip!/"
it will report error.
3.if i edit the userlibraries file -- *.userlibraries from path="F:/Workspace/repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.jar"
to path="jar:file:/./repository/org/springframework/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.jar!/"
it will report error.


More information:
this bug will avoid me to share a userlibraries file in team.
Comment 1 Philipe Mulet CLA 2007-05-03 07:32:36 EDT
Frederic - is this a bug or a feature request ?
Comment 2 Frederic Fusier CLA 2007-05-11 10:01:24 EDT
What is the userlibraries file you're talking about? User Libraries definition are stored in JDT/Core workspace preferences file you can find in the .metadata, is it this one you modified by hand? If so, this is not the right thing to do...

I'm asking this question because, you cannot set manually the path of a User Library using the preference page Java > Build Path > User Libraries but you have to use a file dialog instead to select the corresponding jar file and it does not allow you to set '.' in the path...

So, my assumption is that your bug is in fact a requirement to let the user include relative path for user libraries path and source as it is tolerated for javadoc path, is it correct?
Comment 3 Frederic Fusier CLA 2007-06-21 07:02:16 EDT
Strongly looks like a duplicate of bug 70417...

*** This bug has been marked as a duplicate of bug 70417 ***
Comment 4 sinosaga CLA 2007-06-22 02:34:06 EDT
(In reply to comment #2)
> What is the userlibraries file you're talking about? User Libraries definition
> are stored in JDT/Core workspace preferences file you can find in the
> .metadata, is it this one you modified by hand? If so, this is not the right
> thing to do...
> 
> I'm asking this question because, you cannot set manually the path of a User
> Library using the preference page Java > Build Path > User Libraries but you
> have to use a file dialog instead to select the corresponding jar file and it
> does not allow you to set '.' in the path...
> 
> So, my assumption is that your bug is in fact a requirement to let the user
> include relative path for user libraries path and source as it is tolerated for
> javadoc path, is it correct?
> 
i do mean that