Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4305590

Please remove src/ from files in src.jar to better reveal the package structure

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: tb29552 Date: 01/19/2000


      Both 1.2.x and 1.3 beta supply a src.jar that is packaged this way.

      I am filing this bug via the web page because I'm currently working
      with the NetBeans team and we don't have SWAN access.

      The file src.jar would be more useful if the directory structure
      within it followed the package conventions. Currently, the top-level
      directory in src.jar is src/ which is then followed by the expected
      java.lang.XXX or other package specifications. By changing src.jar
      to follow package conventions, then src.jar can be used by any tools
      that looks inside jar files and expects a package structure. The
      most obvious of such tools would be debuggers and compilers as IDE
      vendors would benefit the most from this change.

      The following is an email exchange I had with Roger Calnan and
      Dale McDuffie on this topic:

        Subject: Re: src.jar
      Date: Tue, 11 Jan 2000 16:10:44 -0800
        From: Dale McDuffie <###@###.###>
      Organization: Java Software / Sun Microsystems, Inc.
        To: Evan Adams <###@###.###>
      CC: Roger Calnan <###@###.###>
        
      I believe it may be - please submit a bug explaining this. We will
      review it internally and with the licensee's. If there are no
      objectections, then we should do it in the merlin release.

        Category: java
        Subcategory: build

      Thanks!

      Dale

      Evan Adams wrote:
      >
      > > Evan,
      > >
      > > for the moment it makes sense to talk to myself and Dale,
      > >
      > > Roger
      > >
      > > > The NetBeans guys have a question about how src.jar is organized.
      > > > Who is the right person to talk to?
      >
      > Roger and Dale,
      > The netbeans team has asked if the src.jar would be changed
      > to remove the leading src/ directory. This way the jar file
      > would follow package naming conventions. This would make it
      > more immediately usable as it could be used as part of a sourcepath
      > for the compiler or a debugger. They are looking at ways to make
      > it easier to debug the JDK classes and this would be a step in
      > that directory. Is this sort of change possible?
      >
      > Thanks
      > Evan
      (Review ID: 100128)
      ======================================================================

            sseligmasunw Scott Seligman (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: