eclipse-cbi/targetplatform-dsl

Reporting is not optimized

Closed this issue · 0 comments

Since #12, there is now an error reporting. But it is not optimized. For example with the following example (in which everything is OK, except the version of com.google.guava that does not exist):

target "target_with_resolution_pb"

location "http://download.eclipse.org/releases/juno" {
    org.eclipse.pde;version=[3.8.0,3.9.0)
    org.eclipse.platform;version=[4.2.1,4.3.0)
    }

location "http://download.eclipse.org/tools/orbit/downloads/drops/S20130914154012/repository/" {
    com.google.guava;version=[20.0.0,22.0.0)
}

location "http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases" {
    org.eclipse.xtext.sdk.feature.group;version=[2.3.1,2.4.0)
}

The error message will be :

The file 'file:/pathToTarget/resolutionPb.targetplatform' can not be resolved.
    OK
    Error occured during resolution of 'http://download.eclipse.org/tools/orbit/downloads/drops/S20130914154012/repository/'.
        The IU 'com.google.guava' with range constraint '[20.0.0,22.0.0)' can not be found.
    OK

The "OK" lines are not necessary in this message.