You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "DK (JIRA)" <ji...@apache.org> on 2009/02/22 17:03:01 UTC

[jira] Created: (IVYDE-166) Sources attach but Javadocs don't

Sources attach but Javadocs don't
---------------------------------

                 Key: IVYDE-166
                 URL: https://issues.apache.org/jira/browse/IVYDE-166
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container
    Affects Versions: 2.0.0.beta1
         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
            Reporter: DK


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-166) Sources attach but Javadocs don't

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679134#action_12679134 ] 

Nicolas Lalevée commented on IVYDE-166:
---------------------------------------

Mistake of mine, I wasn't using IvyDE 2.0.0.beta1 but the trunk version. So it seems the bug is half resolved in trunk, I will look into the refresh vs. resolve issue.

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>             Fix For: 2.0.0.final
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVYDE-166) Sources attach but Javadocs don't

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-166.
-----------------------------------

    Resolution: Fixed

I have found the bug and fixed it in trunk.

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVYDE-166) Sources attach but Javadocs don't

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVYDE-166:
----------------------------------

    Fix Version/s: 2.0.0.final

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-166) Sources attach but Javadocs don't

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678044#action_12678044 ] 

Nicolas Lalevée commented on IVYDE-166:
---------------------------------------

I have been able to dig a little bit in this issue. As far as I could test, it seems that Ivy is not attaching the javadoc on the "refresh" job, but does it properly on the "resolve" job. Could you confirm that ?

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-166) Sources attach but Javadocs don't

Posted by "DK (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679043#action_12679043 ] 

DK commented on IVYDE-166:
--------------------------

Nicolas, for me it never works. The steps above (1-4) reproduce the problem from scratch - on the initial resolve.
I just tried to do it in a completely different environment - Mac OS X, pure Eclipse 3.4.1, a new project and reproduced the problem right away.

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (IVYDE-166) Sources attach but Javadocs don't

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée reassigned IVYDE-166:
-------------------------------------

    Assignee: Nicolas Lalevée

> Sources attach but Javadocs don't
> ---------------------------------
>
>                 Key: IVYDE-166
>                 URL: https://issues.apache.org/jira/browse/IVYDE-166
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>         Environment: Windows, Eclipse 3.4 platform (IBM RAD 7.5.1 distribution)
>            Reporter: DK
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.