0 Replies Latest reply on Feb 10, 2014 7:53 AM by Rafael Pestano

    [forge-dev] Add module dependency

    Rafael Pestano Novice

      Hi guys,

       

      how can i add a module dependency to my plugin?(in forge 1.x)

       

      I'm using JavaParser and i need to access

      org.eclipse.jdt.core.dom.CompilationUnit api which is available in

      javaparser module (org.eclipse.jdt.core-3.9.1.jar) which doesnt comes in

      default module dependencies[1].

       

      in my pom.xml i use

       

      but i receive **ERROR** Exception encountered: (type "set VERBOSE false"

      to disable stack traces)

      java.lang.ClassNotFoundException: org.eclipse.jdt.core.dom.CompilationUnit

      from [Module

      "br.ufrgs.rmpestano.intrabundle:0.1-SNAPSHOT-35a537a5-1ab6-4b19-a253-03e3bbfae57d"

      from local module loader @1eac903 (roots:

      /home/rmpestano/projetos/forge/dist/forge-distribution-1.4.3.Final/modules,/home/rmpestano/.forge/plugins,/home/rmpestano/projetos)]

       

      if i add(manually) org.eclipse.javaparser module dependency in my plugin

      module.xml everything works.

       

      How can i tell forge that i need that dependency?

       

      Thanks in advance

       

      http://forge.jboss.org/docs/plugin_development/reference-libraries.html

      --

      <http://www.advancedit.com.br/>Att,

       

      Rafael M. Pestano

       

      Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul

      Graduando em Ciência da Computação UFRGS

      http://conventionsframework.org <http://conventions.github.io/home/>

      http://rpestano.wordpress.com/

      @realpestano