Customer Portal

Issue with parameterized metadata file

Comments 8

  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    this should work. Which version of GUI and engine are you using? Are you sure that the metadata file is valid? The comment for the metadata parameter ("/* ... */) is not in the graph XML file, I suppose? You could post the graph and the metadata file here.

    Jaro
  • Avatar
    maxani
    0
    Comment actions Permalink
    The graph file is the same as with the problem of slowdown with CloverETL Engine 2.2 :-)

    ----> http://maxani.homeip.net

    I use the last version of CloverGUI : 1.7

    Thanks.
  • Avatar
    jurban
    0
    Comment actions Permalink
    post the metadata file too, please. thanks...
  • Avatar
    maxani
    0
    Comment actions Permalink
    I don't understand. My metadata file is dynamic. I think that it's just that CloverGUI generates an error while parsing a graph file within the fileURL property of metadata node is not a real path but à property like "${xxxx}".
  • Avatar
    avackova
    0
    Comment actions Permalink
    Pls, check if you set correctly path name ( "c:\table\customer.fmt" is interpreted as "c: able\customer.fmt", for "c:\table\customer.fmt" you should have "c:\\table\customer.fmt).
  • Avatar
    maxani
    0
    Comment actions Permalink
    I may add something about this problem :

    The problem only appears while opening a graph file in the java or other perspective under Eclipse.

    Of course under CloverGUI perspective there are no issue.

    Try to make a graph and then edit with a text editor the metadata node as below :

    <Metadata fileURL="${file_url}" id="Metadata0"/>

    Then you'll have an error in the problem view of Eclipse :
    ENGINE: Error during graph initialization (Can't parse metadata: Metadata0).

    There will be also a "white cross over red background" icon over the graph file in the package view of java perspective.

    See you.
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    I can't recreate this issue. Pls check what is written as reason (on the end of log should be something like that:
    Caused by: java.io.IOException: Can't read metadata definition file: metadata\delimited\employeeDB.fmt (No such file or directory)
    at org.jetel.metadata.MetadataFactory.fromFile(MetadataFactory.java:62)
    at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateMetadata(TransformationGraphXMLReaderWriter.java:312)
    )
  • Avatar
    maxani
    0
    Comment actions Permalink
    I think that nobody understand me. My issue is not while I execute a process.
    It's just a display issue under Eclipse.

    Below is a picture of what I have under Eclipse :

    http://maxani.homeip.net/cloverGUI.jpg

    When I execute a graph it works great. The ${metadata} can be any path.
    I repeat it's just a display issue under Eclipse in other perspective than Clover.ETL one.

    It may help everyboby.

    Thanks.

Please sign in to leave a comment.