3 Replies Latest reply on Oct 23, 2008 3:06 PM by maxandersen

    Java Build Path - Link Source

    mmdevalia

      After having created a web project, I have linked various source directories in the Java Build Path section of the properties. As soon as I have add a linked resource say link-xxx, the IDE automatically duplicates the entry but calls it 'src'. If I add another link say link-zzz, the IDE duplicates this resource and calls it src-1. Linking another resource will produce src-3.
      No problem as such, but searches produce duplicates. I have tried to delete the 'src' entries but they are recreated automatically. Slight nuisance.

        • 1. Re: Java Build Path - Link Source
          maxandersen

          i dont see this on a plain project. could you give the more exact steps ?

          • 2. Re: Java Build Path - Link Source
            mmdevalia

            Used File, Import, Struts Project wizard to import an existing web project.
            Right click on the project and go into properties. Select Java Build Path. Select Source Tab. Press Link Source Button. Enter Linked folder location in first box. Give it a name in the second box. Press finish. This will create an entry in the Source Tab. Press OK and the automated build will start. The linked folder will appear in the Navigation view. Aftera little while an entry called src will appear in the pane. If you right click and check the properties , it will point to the same java source as the link entry ie duplicate enties. I did send you a screen shot privately.

            • 3. Re: Java Build Path - Link Source
              maxandersen

              Private emails asking for support goes to trash after I point the senders to here or jira ;)

              Could you report it in jira and provide a testcase does not require an existing web project ? Or provide a web project we can use to verify with ?

              Jira can also attach screenshots.