[SOLVED] using the text extension as an dependency

RaedMarji
RaedMarji New Altair Community Member
edited November 5 in Community Q&A
Dear All,

Im tryiing to implement a new operator that relies on the Text Processing extension Classes like Document and Token, so I was wondering what is the appropriate way to do this? I would prefer if you can explain this in regards of both the build.xml file and my build path.

Thanks In Advance. ;)

Answers

  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    your build.dependentExtensions tag should look like this

    <fileset id="build.dependentExtensions" dir="..">
    <include name="RapidMiner_Plugin_TextProcessing_Unuk/build.xml" />
    </fileset>
    Furthermore you should add the extension dependency:

    <property name="extension.dependencies" value="rmx_text[5.3]" />
    And for your project configuration you should add the dependency to the
    text processing extension of course :-)

    Best regards,
    Nils



  • RaedMarji
    RaedMarji New Altair Community Member
    thanks Nils, that helped but regarding my scnd question I think it wasnt clear, for now I havent been able to to this without adding the text ext jar so is it the right way?
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    regarding your build path it really does not matter much, you can either add the .jar or checkout the project sources via SourceForge and add the whole project as a dependency.

    Regards,
    Marco