Gael,

for me - it's attaching sources, but not Javadocs. Weird.

I think that we've confirmed at least the issue with Javadocs. Shall I reopen IVYDE-55?

Marziou, Gael wrote:
Hi Dmitriy,

I tried your way of doing and IvyDE (trunk) downloaded both the source and 
javadoc but it did not change the build path to attach these source and javadoc 
zip files to the commons-logging-1.1.jar build path entry.
So to me, it's not the expected behavior that I had when using alpha1 and 
classifiers.

The only workaround I found is to downgrade to alpha1.

Gael


-----Original Message-----
From: Dmitriy Korobskiy [mailto:dkro...@gmail.com] Sent: Tuesday, February 10, 2009 9:01 PM
To: ivy-u...@ant.apache.org
Subject: Re: IvyDE 2.0.0.beta1 does not download sources nor javadocs

Hi, all

I have a slightly different issue - IvyDE is downloading sources, but Javadocs do not work for the life of me. I had that issue a year and a half ago with IvyDE 1.2, and it seems now as a resurgence of closed IvyDE-55: https://issues.apache.org/jira/browse/IVYDE-55.

I'm using Eclipse 3.4.1 platform (IBM RAD 7.5.1 distribution) and IvyDE 2.0.0.beta1. The difference with your, Gael, configuration from what I understood could be that I declare all artifacts explicitly in ivy.xml.

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/schem
as/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\common
s-logging-1.1-doc.zip
{repository}\apache\commons-logging\commons-logging-1.1\common
s-logging-1.1-src.zip
{repository}\apache\commons-logging\commons-logging-1.1\common
s-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/schem
as/ivy.xsd">
<info organisation="apache" module="commons-logging" revision="1.1" status="release"/>
  <configurations>
    <conf name="default"/>
<conf name="ide" extends="default" description="JavaDoc 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>

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

Marziou, Gael wrote:
I think you are hitting this issue:
https://issues.apache.org/jira/browse/IVYDE-146
Merci Nicolas, the description matches indeed.

But in this case I don't understand why I still have the
issue with trunk build #20 IvyDE-updatesite on Hudson server, this fix is supposed to be included.
Gael


--
DK
AIM: DKroot1, Skype: DKroot



--
DK AIM: DKroot1, Skype: DKroot

Reply via email to