Source Lookup Path

View: New views
1 Messages — Rating Filter:   Alert me  

Source Lookup Path

by efe4it :: Rate this Message:

| View Threaded | Show Only this Message

Hi

I set up an Eclipse project dedicated to remote debugging of ant/ivy.
When reaching breaking, Eclipse complains about not finding source, and shows the usual "Edit Source Lookup Path" button.
What I do not understand is that the entries displayed in the launch configuration's "Source" tab all point to the binary jars instead of the source ones.
See below the parent directory of all jar resources loaded from ivyde container is "jars" instead of "sources".



Ivy file of the project is quite simple:
<?xml version="1.0" encoding="iso-8859-15"?>
<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="fr.efe4it" module="fr.efe4it.ant._debug" revision="trunk"/>
    <configurations>
    <conf name="runtime" description="run with remote debugger"/>
     </configurations>
    <dependencies>
        <dependency org="org.apache.ant" name="ant" rev="1.8.+" conf="runtime->master,sources" transitive="false"/>
        <dependency org="org.apache.ant" name="ant-launcher" rev="1.8.+" conf="runtime->master,sources" transitive="false"/>
        <dependency org="org.apache.ant" name="ant-antunit" rev="1.2" conf="runtime->master,sources" transitive="false"/>
        <dependency org="org.apache.ant" name="ivy" rev="2.2.0" conf="runtime->default" transitive="false"/>
    </dependencies>
</ivy-module>

Ivysettings use an UrlResolver which root is actually on localhost.

Resolution-cache for the "runtime" configuration has no error
fr.efe4it-fr.efe4it.ant._debug-runtime.xml

In addition, the "resolve before lauch" property is checked for the project (inherited from workspace preferences)

Using IVY-2.2.0 + IvyDE-2.2.0.beta1-201203282058-RELEASE