Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-166

Sources attach but Javadocs don't

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0.beta1
    • 2.0.0.final
    • classpath container
    • None
    • Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)

    Description

      It might be a regression of IVYDE-55 in 2.0.0.beta1

      Here are the steps.
      1. ivy.xml
      <?xml version="1.0"?>
      <?xml version="1.0"?>
      <ivy-module version="2.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
      <info organisation="xxx" module="mmm" status="integration" />
      <configurations>
      <conf name="compile" />
      <conf name="war" /> <!-- Artifacts to be included in a WAR -->
      <conf name="ide" extends="compile" description="+ Javadocs and sources" />
      </configurations>
      <dependencies defaultconf="compile,war->default;ide->ide(default)">
      <dependency org="apache" name="commons-logging" rev="1.1"/>
      </dependencies>
      </ivy-module>

      2. Repository files:

      {repository}\apache\commons-logging\commons-logging-1.1\commons-logging-1.1-doc.zip{repository}

      \apache\commons-logging\commons-logging-1.1\commons-logging-1.1-src.zip

      {repository}

      \apache\commons-logging\commons-logging-1.1\commons-logging-1.1.jar

      3. commons-logging-1.1-ivy.xml
      <?xml version="1.0"?>
      <?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
      <ivy-module version="2.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
      <info organisation="apache" module="commons-logging" revision="1.1" status="release"/>
      <configurations>
      <conf name="default"/>
      <conf name="ide" extends="default" description="+ Javadocs and sources"/>
      </configurations>
      <publications>
      <artifact name="commons-logging-1.1" type="jar" conf="default"/>
      <artifact name="commons-logging-1.1-src" type="source" ext="zip" conf="ide"/>
      <artifact name="commons-logging-1.1-doc" type="javadoc" ext="zip" conf="ide"/>
      </publications>
      </ivy-module>

      4. Add IvyDE library with "ide" configuration only

      I get commons-logging-1.1.jar with an attached source, but not Javadocs.

      Attachments

        Activity

          People

            hibou Nicolas Lalevée
            dkroot Dima Korobskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: