Community
Participate
Working Groups
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.
Frederic - is this a bug or a feature request ?
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?
Strongly looks like a duplicate of bug 70417... *** This bug has been marked as a duplicate of bug 70417 ***
(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