Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2753

EclipseClasspathTask creates invalid .classpath when javadocPath exists

    Details

    • Workaround Description:
      Hide

      if (new File(javadocPath).exists())
      {
      + eclipsepath += ">\r\n";
      eclipsepath += "\t\t<attributes>\n";
      eclipsepath += "\t\t\t<attribute name=\"javadoc_location\" value=\"" + javadocPath + "!/\"/>\n";
      eclipsepath += "\t\t</attributes>\n";

      Show
      if (new File(javadocPath).exists()) { + eclipsepath += ">\r\n"; eclipsepath += "\t\t<attributes>\n"; eclipsepath += "\t\t\t<attribute name=\"javadoc_location\" value=\"" + javadocPath + "!/\"/>\n"; eclipsepath += "\t\t</attributes>\n";
    • Estimated Difficulty:
      Low

      Description

      The closing ">" on classpathentry is missing:

      <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar" sourcepath="M2_REPO/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga-sources.jar"
      <attributes>
      <attribute value="jar:file:/Q:/libs/maven2/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga-javadoc.jar!/" name="javadoc_location"/>
      </attributes>
      </classpathentry>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                Lundegaard Thomas März
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: