12 Replies Latest reply on Feb 26, 2014 8:01 PM by kwintesencja

    Re: [forge-dev] Add module dependency

    kwintesencja

      Hi guys,

       

      i've managed to add module dependencies to a plugin looking at forge.xml,

      what do you think?  this is a valid approach?

       

      basically i declare module dependencies i want to add to my plugin module

      xml, here is my forge.xml:

       

      :

       

      I see, no problerm. I'll take a look at PluginManager and if got any

      progress i ping you back.

       

      2014-02-11 20:39 GMT-02:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

       

      >> Due to the feature freeze, this feature will need to go into Forge 2.0.

      >>

      >>

      >> On Tue, Feb 11, 2014 at 5:35 PM, George Gastaldi  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

      >>>>>>>>>> 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)]

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

      >>>>>>>>>>

      >>>>>>>>>>

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

      >>>>>>>>>>         at

      >>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

      >>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>> Method)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

      >>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>> Method)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

      >>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>> Method)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>         at

      >>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

      >>>>>>>>>>         at

      >>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

      >>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

      >>>>>>>>>>

      >>>>>>>>>>

      >>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false" to

      >>>>>>>>>>> disable stack traces)

      >>>>>>>>>>> java.lang.ClassCastException:

      >>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

      >>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

      >>>>>>>>>>>         at

      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>>> Method)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>>> Method)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

      >>>>>>>>>>> Method)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      >>>>>>>>>>>         at

      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

      >>>>>>>>>>>         at

      >>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

      >>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

      >>>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>> --

      >>>>>>>>>>>>>  <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

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>   _______________________________________________

      >>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>>

      >>>>>>>>>>>>> _______________________________________________

      >>>>>>>>>>>>> forge-dev mailing list

      >>>>>>>>>>>>> forge-dev@lists.jboss.org

      >>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>>>>>

      >>>>>>>>>>>>

      >>>>>>>>>>>>

      >>>>>>>>>>>>

      >>>>>>>>>>>> --

      >>>>>>>>>>>>  <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

      >>>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>> --

      >>>>>>>>>>>  <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

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>> _______________________________________________

      >>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>>

      >>>>>>>>>>> _______________________________________________

      >>>>>>>>>>> forge-dev mailing list

      >>>>>>>>>>> forge-dev@lists.jboss.org

      >>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>>>

      >>>>>>>>>>

      >>>>>>>>>>

      >>>>>>>>>>

      >>>>>>>>>> --

      >>>>>>>>>>  <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

      >>>>>>>>>>

      >>>>>>>>>

      >>>>>>>>>

      >>>>>>>>>

      >>>>>>>>> --

      >>>>>>>>>  <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

      >>>>>>>>>

      >>>>>>>>>

      >>>>>>>>> _______________________________________________

      >>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>

      >>>>>>>>>

      >>>>>>>>>

      >>>>>>>>> _______________________________________________

      >>>>>>>>> forge-dev mailing list

      >>>>>>>>> forge-dev@lists.jboss.org

      >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>>

      >>>>>>>>

      >>>>>>>>

      >>>>>>>>

      >>>>>>>> --

      >>>>>>>>  <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

      >>>>>>>>

      >>>>>>>> _______________________________________________

      >>>>>>>> forge-dev mailing list

      >>>>>>>> forge-dev@lists.jboss.org

      >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>>

      >>>>>>>

      >>>>>>>

      >>>>>>> _______________________________________________

      >>>>>>> forge-dev mailing list

      >>>>>>> forge-dev@lists.jboss.org

      >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>>

      >>>>>>

      >>>>>>

      >>>>>>

      >>>>>>  --

      >>>>>>  <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

      >>>>>>

      >>>>>>

      >>>>>> _______________________________________________

      >>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>

      >>>>>>

      >>>>>>

      >>>>>> _______________________________________________

      >>>>>> forge-dev mailing list

      >>>>>> forge-dev@lists.jboss.org

      >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>>

      >>>>>

      >>>>>

      >>>>>

      >>>>>  --

      >>>>>  <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

      >>>>>

      >>>>>

      >>>>> _______________________________________________

      >>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>

      >>>>>

      >>>>>

      >>>>>

      >>>>> _______________________________________________

      >>>>> forge-dev mailing list

      >>>>> forge-dev@lists.jboss.org

      >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>>

      >>>>

      >>>>

      >>>>

      >>>>  --

      >>>>  <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

      >>>>

      >>>>  _______________________________________________

      >>>> forge-dev mailing list

      >>>> forge-dev@lists.jboss.org

      >>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>

      >>>>

      >>>> _______________________________________________

      >>>> forge-dev mailing list

      >>>> forge-dev@lists.jboss.org

      >>>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>>

      >>>

      >>>

      >>>

      >>>  --

      >>>  <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

      >>>

      >>>

      >>> _______________________________________________

      >>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

      >>>

      >>>

      >>>

      >>> _______________________________________________

      >>> forge-dev mailing list

      >>> forge-dev@lists.jboss.org

      >>> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>>

      >>

      >>

      >>

      >> --

      >> Lincoln Baxter, III

      >> http://ocpsoft.org

      >> "Simpler is better."

      >>

      >> _______________________________________________

      >> forge-dev mailing list

      >> forge-dev@lists.jboss.org

      >> https://lists.jboss.org/mailman/listinfo/forge-dev

      >>

      >

      >

      --

      <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

       

       

       

       

      --

      <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

       

        • 1. Re: [forge-dev] Add module dependency
          lincolnthree

          Hey Rafael,

           

          Thanks for your hard work.

           

          Just so you know, it looks like you are working on the Forge 1.x branch,

          and these changes won't be able to be merged into the project. Not least of

          which because we don't want to introduce more possible defects by changing

          the module structure, which is very complex and (as you have seen)

          difficult to maintain.

           

          This is why I recommend that you try to move over to the Forge 2 code going

          forward. This should be much easier to implement there. We will be able to

          assist you more readily.

           

          Check out Forge 2: http://github.com/forge/core (master branch)

           

          ~Lincoln

           

           

          On Thu, Feb 13, 2014 at 10:57 AM, Rafael Pestano <rmpestano@gmail.com>wrote:

           

          Hi guys,

           

          i've managed to add module dependencies to a plugin looking at forge.xml,

          what do you think?  this is a valid approach?

           

          basically i declare module dependencies i want to add to my plugin module

          xml, here is my forge.xml:

           

          <forge>

               <dependencies>

                   <module name="org.eclipse.javaparser" />

                </dependencies>

          </forge>

           

          >

          and at PluginManager#createModule i add it.

           

          I've failled to create a test cause i receive a null runtime

          version(InstalledPluginRegistry.getRuntimeAPIVersion()) when invoking

          source-plugin command in my test:

          java.lang.NullPointerException

              at java.util.regex.Matcher.getTextLength(Matcher.java:1234)

              at java.util.regex.Matcher.reset(Matcher.java:308)

              at java.util.regex.Matcher.<init>(Matcher.java:228)

              at java.util.regex.Pattern.matcher(Pattern.java:1088)

              at

          org.jboss.forge.shell.InstalledPluginRegistry.isApiCompatible(InstalledPluginRegistry.java:318)

              at

          org.jboss.forge.shell.plugins.PluginManager.registerPlugin(PluginManager.java:560)

              at

          org.jboss.forge.shell.plugins.PluginManager.createModule(PluginManager.java:382)

           

          Here is the diff:

          https://github.com/rmpestano/core/commit/abf43ac5c4dcf508c59e3c16cf673f995be49cca

           

          >

          With this approach i can now declare org.eclipse.jdt.core maven dependency

          as provided cause its exported by the module "org.eclipse.javaparser" and

          now i have have conflicts with JDT.

           

          WDYT?

           

          >

           

          2014-02-12 9:02 GMT-02:00 Rafael Pestano <rmpestano@gmail.com>:

           

          >> I see, no problerm. I'll take a look at PluginManager and if got any

          >> progress i ping you back.

          >>

          >> 2014-02-11 20:39 GMT-02:00 Lincoln Baxter, III  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

          >>>>>>>>>>> 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)]

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

          >>>>>>>>>>>

          >>>>>>>>>>>

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

          >>>>>>>>>>>         at

          >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

          >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>> Method)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

          >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>> Method)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

          >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>> Method)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>         at

          >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

          >>>>>>>>>>>         at

          >>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

          >>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

          >>>>>>>>>>>

          >>>>>>>>>>>

          >>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false" to

          >>>>>>>>>>>> disable stack traces)

          >>>>>>>>>>>> java.lang.ClassCastException:

          >>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

          >>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

          >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>>> Method)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

          >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>>> Method)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

          >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

          >>>>>>>>>>>> Method)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

          >>>>>>>>>>>>         at

          >>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

          >>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

          >>>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>> --

          >>>>>>>>>>>>>>  <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

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>   _______________________________________________

          >>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>> _______________________________________________

          >>>>>>>>>>>>>> forge-dev mailing list

          >>>>>>>>>>>>>> forge-dev@lists.jboss.org

          >>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>>>>>

          >>>>>>>>>>>>>

          >>>>>>>>>>>>>

          >>>>>>>>>>>>>

          >>>>>>>>>>>>> --

          >>>>>>>>>>>>>  <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

          >>>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>> --

          >>>>>>>>>>>>  <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

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>> _______________________________________________

          >>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>>

          >>>>>>>>>>>> _______________________________________________

          >>>>>>>>>>>> forge-dev mailing list

          >>>>>>>>>>>> forge-dev@lists.jboss.org

          >>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>>>

          >>>>>>>>>>>

          >>>>>>>>>>>

          >>>>>>>>>>>

          >>>>>>>>>>> --

          >>>>>>>>>>>  <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

          >>>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>> --

          >>>>>>>>>>  <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

          >>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>> _______________________________________________

          >>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>>

          >>>>>>>>>> _______________________________________________

          >>>>>>>>>> forge-dev mailing list

          >>>>>>>>>> forge-dev@lists.jboss.org

          >>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>>

          >>>>>>>>>

          >>>>>>>>>

          >>>>>>>>>

          >>>>>>>>> --

          >>>>>>>>>  <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

          >>>>>>>>>

          >>>>>>>>> _______________________________________________

          >>>>>>>>> forge-dev mailing list

          >>>>>>>>> forge-dev@lists.jboss.org

          >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>>

          >>>>>>>>

          >>>>>>>>

          >>>>>>>> _______________________________________________

          >>>>>>>> forge-dev mailing list

          >>>>>>>> forge-dev@lists.jboss.org

          >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>>

          >>>>>>>

          >>>>>>>

          >>>>>>>

          >>>>>>>  --

          >>>>>>>  <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

          >>>>>>>

          >>>>>>>

          >>>>>>> _______________________________________________

          >>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>

          >>>>>>>

          >>>>>>>

          >>>>>>> _______________________________________________

          >>>>>>> forge-dev mailing list

          >>>>>>> forge-dev@lists.jboss.org

          >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>>

          >>>>>>

          >>>>>>

          >>>>>>

          >>>>>>  --

          >>>>>>  <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

          >>>>>>

          >>>>>>

          >>>>>> _______________________________________________

          >>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>

          >>>>>>

          >>>>>>

          >>>>>>

          >>>>>> _______________________________________________

          >>>>>> forge-dev mailing list

          >>>>>> forge-dev@lists.jboss.org

          >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>>

          >>>>>

          >>>>>

          >>>>>

          >>>>>  --

          >>>>>  <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

          >>>>>

          >>>>>  _______________________________________________

          >>>>> forge-dev mailing list

          >>>>> forge-dev@lists.jboss.org

          >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>

          >>>>>

          >>>>> _______________________________________________

          >>>>> forge-dev mailing list

          >>>>> forge-dev@lists.jboss.org

          >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>>

          >>>>

          >>>>

          >>>>

          >>>>  --

          >>>>  <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

          >>>>

          >>>>

          >>>> _______________________________________________

          >>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>

          >>>>

          >>>>

          >>>> _______________________________________________

          >>>> forge-dev mailing list

          >>>> forge-dev@lists.jboss.org

          >>>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>>

          >>>

          >>>

          >>>

          >>> --

          >>> Lincoln Baxter, III

          >>> http://ocpsoft.org

          >>> "Simpler is better."

          >>>

          >>> _______________________________________________

          >>> forge-dev mailing list

          >>> forge-dev@lists.jboss.org

          >>> https://lists.jboss.org/mailman/listinfo/forge-dev

          >>>

          >>

          >>

          >>

          >> --

          >> <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

          >>

          >

          >

          --

          <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

           

          _______________________________________________

          forge-dev mailing list

          forge-dev@lists.jboss.org

          https://lists.jboss.org/mailman/listinfo/forge-dev

           

           

           

           

          --

          Lincoln Baxter, III

          http://ocpsoft.org

          "Simpler is better."

           

          • 2. Re: [forge-dev] Add module dependency
            lincolnthree

            I should also note that Forge 2 no longer has the module.xml system that

            you are working on updating. This is why it's important that you take a

            look at Forge 2 now

             

             

            On Thu, Feb 13, 2014 at 1:54 PM, Lincoln Baxter, III <

            lincolnbaxter@gmail.com> wrote:

             

            Hey Rafael,

             

            Thanks for your hard work.

             

            Just so you know, it looks like you are working on the Forge 1.x branch,

            and these changes won't be able to be merged into the project. Not least of

            which because we don't want to introduce more possible defects by changing

            the module structure, which is very complex and (as you have seen)

            difficult to maintain.

             

            This is why I recommend that you try to move over to the Forge 2 code

            going forward. This should be much easier to implement there. We will be

            able to assist you more readily.

             

            Check out Forge 2: http://github.com/forge/core (master branch)

             

            ~Lincoln

             

            >

            On Thu, Feb 13, 2014 at 10:57 AM, Rafael Pestano <rmpestano@gmail.com>wrote:

             

            >> Hi guys,

            >>

            >> i've managed to add module dependencies to a plugin looking at forge.xml,

            >> what do you think?  this is a valid approach?

            >>

            >> basically i declare module dependencies i want to add to my plugin module

            >> xml, here is my forge.xml:

            >>

            >>  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

            >>>>>>>>>>>> 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)]

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

            >>>>>>>>>>>>

            >>>>>>>>>>>>

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

            >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>> Method)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

            >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>> Method)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

            >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>> Method)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

            >>>>>>>>>>>>         at

            >>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

            >>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

            >>>>>>>>>>>>

            >>>>>>>>>>>>

            >>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

            >>>>>>>>>>>>> to disable stack traces)

            >>>>>>>>>>>>> java.lang.ClassCastException:

            >>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

            >>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

            >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>>> Method)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

            >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>>> Method)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

            >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

            >>>>>>>>>>>>> Method)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

            >>>>>>>>>>>>>         at

            >>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

            >>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

            >>>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>> --

            >>>>>>>>>>>>>>>  <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

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>   _______________________________________________

            >>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>> _______________________________________________

            >>>>>>>>>>>>>>> forge-dev mailing list

            >>>>>>>>>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>>>>>

            >>>>>>>>>>>>>>

            >>>>>>>>>>>>>>

            >>>>>>>>>>>>>>

            >>>>>>>>>>>>>> --

            >>>>>>>>>>>>>>  <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

            >>>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>> --

            >>>>>>>>>>>>>  <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

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>> _______________________________________________

            >>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>>

            >>>>>>>>>>>>> _______________________________________________

            >>>>>>>>>>>>> forge-dev mailing list

            >>>>>>>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>>>

            >>>>>>>>>>>>

            >>>>>>>>>>>>

            >>>>>>>>>>>>

            >>>>>>>>>>>> --

            >>>>>>>>>>>>  <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

            >>>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>> --

            >>>>>>>>>>>  <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

            >>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>> _______________________________________________

            >>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>>

            >>>>>>>>>>> _______________________________________________

            >>>>>>>>>>> forge-dev mailing list

            >>>>>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>>

            >>>>>>>>>>

            >>>>>>>>>>

            >>>>>>>>>>

            >>>>>>>>>> --

            >>>>>>>>>>  <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

            >>>>>>>>>>

            >>>>>>>>>> _______________________________________________

            >>>>>>>>>> forge-dev mailing list

            >>>>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>>

            >>>>>>>>>

            >>>>>>>>>

            >>>>>>>>> _______________________________________________

            >>>>>>>>> forge-dev mailing list

            >>>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>>

            >>>>>>>>

            >>>>>>>>

            >>>>>>>>

            >>>>>>>>  --

            >>>>>>>>  <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

            >>>>>>>>

            >>>>>>>>

            >>>>>>>> _______________________________________________

            >>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>

            >>>>>>>>

            >>>>>>>>

            >>>>>>>> _______________________________________________

            >>>>>>>> forge-dev mailing list

            >>>>>>>> forge-dev@lists.jboss.org

            >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>>

            >>>>>>>

            >>>>>>>

            >>>>>>>

            >>>>>>>  --

            >>>>>>>  <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

            >>>>>>>

            >>>>>>>

            >>>>>>> _______________________________________________

            >>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>

            >>>>>>>

            >>>>>>>

            >>>>>>>

            >>>>>>> _______________________________________________

            >>>>>>> forge-dev mailing list

            >>>>>>> forge-dev@lists.jboss.org

            >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>>

            >>>>>>

            >>>>>>

            >>>>>>

            >>>>>>  --

            >>>>>>  <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

            >>>>>>

            >>>>>>  _______________________________________________

            >>>>>> forge-dev mailing list

            >>>>>> forge-dev@lists.jboss.org

            >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>

            >>>>>>

            >>>>>> _______________________________________________

            >>>>>> forge-dev mailing list

            >>>>>> forge-dev@lists.jboss.org

            >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>>

            >>>>>

            >>>>>

            >>>>>

            >>>>>  --

            >>>>>  <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

            >>>>>

            >>>>>

            >>>>> _______________________________________________

            >>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>

            >>>>>

            >>>>>

            >>>>> _______________________________________________

            >>>>> forge-dev mailing list

            >>>>> forge-dev@lists.jboss.org

            >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>>

            >>>>

            >>>>

            >>>>

            >>>> --

            >>>> Lincoln Baxter, III

            >>>> http://ocpsoft.org

            >>>> "Simpler is better."

            >>>>

            >>>> _______________________________________________

            >>>> forge-dev mailing list

            >>>> forge-dev@lists.jboss.org

            >>>> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>>>

            >>>

            >>>

            >>>

            >>> --

            >>> <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

            >>>

            >>

            >>

            >>

            >> --

            >> <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

            >>

            >> _______________________________________________

            >> forge-dev mailing list

            >> forge-dev@lists.jboss.org

            >> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>

            >

            >

            --

            Lincoln Baxter, III

            http://ocpsoft.org

            "Simpler is better."

             

             

             

             

            --

            Lincoln Baxter, III

            http://ocpsoft.org

            "Simpler is better."

             

            • 3. Re: [forge-dev] Add module dependency
              ivan_stefanov

              Hey Rafael,

               

              If you want you may come to the Forge Hack Night next Monday at 2:30 PM

              EST. Just join the #forge channel at webchat.freenode.com. You will get

              enough support from the Forge core developers to migrate your plugin to

              Forge 2 addon.

               

              Cheers,

              Ivan

               

               

              On Thu, Feb 13, 2014 at 8:56 PM, Lincoln Baxter, III <

              lincolnbaxter@gmail.com> wrote:

               

              I should also note that Forge 2 no longer has the module.xml system that

              you are working on updating. This is why it's important that you take a

              look at Forge 2 now

               

              >

              On Thu, Feb 13, 2014 at 1:54 PM, Lincoln Baxter, III <

              lincolnbaxter@gmail.com> wrote:

               

              >> Hey Rafael,

              >>

              >> Thanks for your hard work.

              >>

              >> Just so you know, it looks like you are working on the Forge 1.x branch,

              >> and these changes won't be able to be merged into the project. Not least of

              >> which because we don't want to introduce more possible defects by changing

              >> the module structure, which is very complex and (as you have seen)

              >> difficult to maintain.

              >>

              >> This is why I recommend that you try to move over to the Forge 2 code

              >> going forward. This should be much easier to implement there. We will be

              >> able to assist you more readily.

              >>

              >> Check out Forge 2: http://github.com/forge/core (master branch)

              >>

              >> ~Lincoln

              >>

              >>

              >> On Thu, Feb 13, 2014 at 10:57 AM, Rafael Pestano  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

              >>>>>>>>>>>>> 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)]

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

              >>>>>>>>>>>>>

              >>>>>>>>>>>>>

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

              >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

              >>>>>>>>>>>>> Method)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

              >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

              >>>>>>>>>>>>> Method)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

              >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

              >>>>>>>>>>>>> Method)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

              >>>>>>>>>>>>>         at

              >>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

              >>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

              >>>>>>>>>>>>>

              >>>>>>>>>>>>>

              >>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

              >>>>>>>>>>>>>> to disable stack traces)

              >>>>>>>>>>>>>> java.lang.ClassCastException:

              >>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

              >>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

              >>>>>>>>>>>>>>         at

              >>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

              >>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

              >>>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>> --

              >>>>>>>>>>>>>>>>  <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

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>   _______________________________________________

              >>>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>> _______________________________________________

              >>>>>>>>>>>>>>>> forge-dev mailing list

              >>>>>>>>>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>> --

              >>>>>>>>>>>>>>>  <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

              >>>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>> --

              >>>>>>>>>>>>>>  <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

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>> _______________________________________________

              >>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>> _______________________________________________

              >>>>>>>>>>>>>> forge-dev mailing list

              >>>>>>>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>>>

              >>>>>>>>>>>>>

              >>>>>>>>>>>>>

              >>>>>>>>>>>>>

              >>>>>>>>>>>>> --

              >>>>>>>>>>>>>  <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

              >>>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>> --

              >>>>>>>>>>>>  <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

              >>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>> _______________________________________________

              >>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>>

              >>>>>>>>>>>> _______________________________________________

              >>>>>>>>>>>> forge-dev mailing list

              >>>>>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>>

              >>>>>>>>>>>

              >>>>>>>>>>>

              >>>>>>>>>>>

              >>>>>>>>>>> --

              >>>>>>>>>>>  <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

              >>>>>>>>>>>

              >>>>>>>>>>> _______________________________________________

              >>>>>>>>>>> forge-dev mailing list

              >>>>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>>

              >>>>>>>>>>

              >>>>>>>>>>

              >>>>>>>>>> _______________________________________________

              >>>>>>>>>> forge-dev mailing list

              >>>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>>

              >>>>>>>>>

              >>>>>>>>>

              >>>>>>>>>

              >>>>>>>>>  --

              >>>>>>>>>  <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

              >>>>>>>>>

              >>>>>>>>>

              >>>>>>>>> _______________________________________________

              >>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>

              >>>>>>>>>

              >>>>>>>>>

              >>>>>>>>> _______________________________________________

              >>>>>>>>> forge-dev mailing list

              >>>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>>

              >>>>>>>>

              >>>>>>>>

              >>>>>>>>

              >>>>>>>>  --

              >>>>>>>>  <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

              >>>>>>>>

              >>>>>>>>

              >>>>>>>> _______________________________________________

              >>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>

              >>>>>>>>

              >>>>>>>>

              >>>>>>>>

              >>>>>>>> _______________________________________________

              >>>>>>>> forge-dev mailing list

              >>>>>>>> forge-dev@lists.jboss.org

              >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>>

              >>>>>>>

              >>>>>>>

              >>>>>>>

              >>>>>>>  --

              >>>>>>>  <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

              >>>>>>>

              >>>>>>>  _______________________________________________

              >>>>>>> forge-dev mailing list

              >>>>>>> forge-dev@lists.jboss.org

              >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>

              >>>>>>>

              >>>>>>> _______________________________________________

              >>>>>>> forge-dev mailing list

              >>>>>>> forge-dev@lists.jboss.org

              >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>>

              >>>>>>

              >>>>>>

              >>>>>>

              >>>>>>  --

              >>>>>>  <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

              >>>>>>

              >>>>>>

              >>>>>> _______________________________________________

              >>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>

              >>>>>>

              >>>>>>

              >>>>>> _______________________________________________

              >>>>>> forge-dev mailing list

              >>>>>> forge-dev@lists.jboss.org

              >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>>

              >>>>>

              >>>>>

              >>>>>

              >>>>> --

              >>>>> Lincoln Baxter, III

              >>>>> http://ocpsoft.org

              >>>>> "Simpler is better."

              >>>>>

              >>>>> _______________________________________________

              >>>>> forge-dev mailing list

              >>>>> forge-dev@lists.jboss.org

              >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>>>

              >>>>

              >>>>

              >>>>

              >>>> --

              >>>> <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

              >>>>

              >>>

              >>>

              >>>

              >>> --

              >>> <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

              >>>

              >>> _______________________________________________

              >>> forge-dev mailing list

              >>> forge-dev@lists.jboss.org

              >>> https://lists.jboss.org/mailman/listinfo/forge-dev

              >>>

              >>

              >>

              >>

              >> --

              >> Lincoln Baxter, III

              >> http://ocpsoft.org

              >> "Simpler is better."

              >>

              >

              >

              --

              Lincoln Baxter, III

              http://ocpsoft.org

              "Simpler is better."

               

              _______________________________________________

              forge-dev mailing list

              forge-dev@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-dev

               

               

              • 4. Re: [forge-dev] Add module dependency
                lincolnthree

                That's a great idea Do you think you could make it?

                 

                 

                On Thu, Feb 13, 2014 at 3:06 PM, Ivan St. Ivanov

                <ivan.st.ivanov@gmail.com>wrote:

                 

                Hey Rafael,

                 

                If you want you may come to the Forge Hack Night next Monday at 2:30 PM

                EST. Just join the #forge channel at webchat.freenode.com. You will get

                enough support from the Forge core developers to migrate your plugin to

                Forge 2 addon.

                 

                Cheers,

                Ivan

                 

                >

                On Thu, Feb 13, 2014 at 8:56 PM, Lincoln Baxter, III <

                lincolnbaxter@gmail.com> wrote:

                 

                >> I should also note that Forge 2 no longer has the module.xml system that

                >> you are working on updating. This is why it's important that you take a

                >> look at Forge 2 now

                >>

                >>

                >> On Thu, Feb 13, 2014 at 1:54 PM, Lincoln Baxter, III  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                >>>>>>>>>>>>>> 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)]

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                >>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                >>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

                >>>>>>>>>>>>>>> to disable stack traces)

                >>>>>>>>>>>>>>> java.lang.ClassCastException:

                >>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                >>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                >>>>>>>>>>>>>>>         at

                >>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                >>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                >>>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>> --

                >>>>>>>>>>>>>>>>>  <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

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>   _______________________________________________

                >>>>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>>>>>>> forge-dev mailing list

                >>>>>>>>>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>> --

                >>>>>>>>>>>>>>>>  <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

                >>>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>> --

                >>>>>>>>>>>>>>>  <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

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>>>>> forge-dev mailing list

                >>>>>>>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>>>

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>> --

                >>>>>>>>>>>>>>  <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

                >>>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>> --

                >>>>>>>>>>>>>  <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

                >>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>>

                >>>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>>> forge-dev mailing list

                >>>>>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>>

                >>>>>>>>>>>>

                >>>>>>>>>>>>

                >>>>>>>>>>>>

                >>>>>>>>>>>> --

                >>>>>>>>>>>>  <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

                >>>>>>>>>>>>

                >>>>>>>>>>>> _______________________________________________

                >>>>>>>>>>>> forge-dev mailing list

                >>>>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>>

                >>>>>>>>>>>

                >>>>>>>>>>>

                >>>>>>>>>>> _______________________________________________

                >>>>>>>>>>> forge-dev mailing list

                >>>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>>  --

                >>>>>>>>>>  <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

                >>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>> _______________________________________________

                >>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>>

                >>>>>>>>>> _______________________________________________

                >>>>>>>>>> forge-dev mailing list

                >>>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>>

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>>  --

                >>>>>>>>>  <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

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>> _______________________________________________

                >>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>>

                >>>>>>>>> _______________________________________________

                >>>>>>>>> forge-dev mailing list

                >>>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>>

                >>>>>>>>

                >>>>>>>>

                >>>>>>>>

                >>>>>>>>  --

                >>>>>>>>  <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

                >>>>>>>>

                >>>>>>>>  _______________________________________________

                >>>>>>>> forge-dev mailing list

                >>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>

                >>>>>>>>

                >>>>>>>> _______________________________________________

                >>>>>>>> forge-dev mailing list

                >>>>>>>> forge-dev@lists.jboss.org

                >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>>

                >>>>>>>

                >>>>>>>

                >>>>>>>

                >>>>>>>  --

                >>>>>>>  <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

                >>>>>>>

                >>>>>>>

                >>>>>>> _______________________________________________

                >>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>

                >>>>>>>

                >>>>>>>

                >>>>>>> _______________________________________________

                >>>>>>> forge-dev mailing list

                >>>>>>> forge-dev@lists.jboss.org

                >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>>

                >>>>>>

                >>>>>>

                >>>>>>

                >>>>>> --

                >>>>>> Lincoln Baxter, III

                >>>>>> http://ocpsoft.org

                >>>>>> "Simpler is better."

                >>>>>>

                >>>>>> _______________________________________________

                >>>>>> forge-dev mailing list

                >>>>>> forge-dev@lists.jboss.org

                >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>>>

                >>>>>

                >>>>>

                >>>>>

                >>>>> --

                >>>>> <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

                >>>>>

                >>>>

                >>>>

                >>>>

                >>>> --

                >>>> <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

                >>>>

                >>>> _______________________________________________

                >>>> forge-dev mailing list

                >>>> forge-dev@lists.jboss.org

                >>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>>>

                >>>

                >>>

                >>>

                >>> --

                >>> Lincoln Baxter, III

                >>> http://ocpsoft.org

                >>> "Simpler is better."

                >>>

                >>

                >>

                >>

                >> --

                >> Lincoln Baxter, III

                >> http://ocpsoft.org

                >> "Simpler is better."

                >>

                >> _______________________________________________

                >> forge-dev mailing list

                >> forge-dev@lists.jboss.org

                >> https://lists.jboss.org/mailman/listinfo/forge-dev

                >>

                >

                 

                _______________________________________________

                forge-dev mailing list

                forge-dev@lists.jboss.org

                https://lists.jboss.org/mailman/listinfo/forge-dev

                 

                 

                 

                 

                --

                Lincoln Baxter, III

                http://ocpsoft.org

                "Simpler is better."

                 

                • 5. Re: [forge-dev] Add module dependency
                  kwintesencja

                  sure that would be great! i already have a forge 2.x branch for my plugin

                  but didn't work on it yet.

                   

                  How do you access irc chat? right now i cannot access

                  http://webchat.freenode.com/(server not found)

                   

                   

                   

                   

                  2014-02-13 18:12 GMT-02:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

                   

                  That's a great idea Do you think you could make it?

                   

                  >

                  On Thu, Feb 13, 2014 at 3:06 PM, Ivan St. Ivanov <ivan.st.ivanov@gmail.com

                  wrote:

                  >> Hey Rafael,

                  >>

                  >> If you want you may come to the Forge Hack Night next Monday at 2:30 PM

                  >> EST. Just join the #forge channel at webchat.freenode.com. You will get

                  >> enough support from the Forge core developers to migrate your plugin to

                  >> Forge 2 addon.

                  >>

                  >> Cheers,

                  >> Ivan

                  >>

                  >>

                  >> On Thu, Feb 13, 2014 at 8:56 PM, Lincoln Baxter, III <

                  >> lincolnbaxter@gmail.com> wrote:

                  >>

                  >>> I should also note that Forge 2 no longer has the module.xml system that

                  >>> you are working on updating. This is why it's important that you take a

                  >>> look at Forge 2 now

                  >>>

                  >>>

                  >>> On Thu, Feb 13, 2014 at 1:54 PM, Lincoln Baxter, III  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                  >>>>>>>>>>>>>>> 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)]

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                  >>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                  >>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE

                  >>>>>>>>>>>>>>>> false" to disable stack traces)

                  >>>>>>>>>>>>>>>> java.lang.ClassCastException:

                  >>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                  >>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                  >>>>>>>>>>>>>>>>         at

                  >>>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                  >>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                  >>>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>> --

                  >>>>>>>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>   _______________________________________________

                  >>>>>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>> --

                  >>>>>>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>> --

                  >>>>>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>> --

                  >>>>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>> --

                  >>>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>>

                  >>>>>>>>>>>>>

                  >>>>>>>>>>>>>

                  >>>>>>>>>>>>>

                  >>>>>>>>>>>>> --

                  >>>>>>>>>>>>>  <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

                  >>>>>>>>>>>>>

                  >>>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>>

                  >>>>>>>>>>>>

                  >>>>>>>>>>>>

                  >>>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>>  --

                  >>>>>>>>>>>  <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

                  >>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>>

                  >>>>>>>>>>> _______________________________________________

                  >>>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>>  --

                  >>>>>>>>>>  <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

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>> _______________________________________________

                  >>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>>

                  >>>>>>>>>> _______________________________________________

                  >>>>>>>>>> forge-dev mailing list

                  >>>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>>

                  >>>>>>>>>

                  >>>>>>>>>

                  >>>>>>>>>

                  >>>>>>>>>  --

                  >>>>>>>>>  <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

                  >>>>>>>>>

                  >>>>>>>>>  _______________________________________________

                  >>>>>>>>> forge-dev mailing list

                  >>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>

                  >>>>>>>>>

                  >>>>>>>>> _______________________________________________

                  >>>>>>>>> forge-dev mailing list

                  >>>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>>

                  >>>>>>>>

                  >>>>>>>>

                  >>>>>>>>

                  >>>>>>>>  --

                  >>>>>>>>  <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

                  >>>>>>>>

                  >>>>>>>>

                  >>>>>>>> _______________________________________________

                  >>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>

                  >>>>>>>>

                  >>>>>>>>

                  >>>>>>>> _______________________________________________

                  >>>>>>>> forge-dev mailing list

                  >>>>>>>> forge-dev@lists.jboss.org

                  >>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>>

                  >>>>>>>

                  >>>>>>>

                  >>>>>>>

                  >>>>>>> --

                  >>>>>>> Lincoln Baxter, III

                  >>>>>>> http://ocpsoft.org

                  >>>>>>> "Simpler is better."

                  >>>>>>>

                  >>>>>>> _______________________________________________

                  >>>>>>> forge-dev mailing list

                  >>>>>>> forge-dev@lists.jboss.org

                  >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>>>

                  >>>>>>

                  >>>>>>

                  >>>>>>

                  >>>>>> --

                  >>>>>> <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

                  >>>>>>

                  >>>>>

                  >>>>>

                  >>>>>

                  >>>>> --

                  >>>>> <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

                  >>>>>

                  >>>>> _______________________________________________

                  >>>>> forge-dev mailing list

                  >>>>> forge-dev@lists.jboss.org

                  >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>>>

                  >>>>

                  >>>>

                  >>>>

                  >>>> --

                  >>>> Lincoln Baxter, III

                  >>>> http://ocpsoft.org

                  >>>> "Simpler is better."

                  >>>>

                  >>>

                  >>>

                  >>>

                  >>> --

                  >>> Lincoln Baxter, III

                  >>> http://ocpsoft.org

                  >>> "Simpler is better."

                  >>>

                  >>> _______________________________________________

                  >>> forge-dev mailing list

                  >>> forge-dev@lists.jboss.org

                  >>> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>>

                  >>

                  >>

                  >> _______________________________________________

                  >> forge-dev mailing list

                  >> forge-dev@lists.jboss.org

                  >> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>

                  >

                  >

                  --

                  Lincoln Baxter, III

                  http://ocpsoft.org

                  "Simpler is better."

                   

                  _______________________________________________

                  forge-dev mailing list

                  forge-dev@lists.jboss.org

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                   

                  --

                  <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

                   

                  • 6. Re: [forge-dev] Add module dependency
                    gastaldi

                    Hi Rafael,

                    The correct url is http://webchat.freenode.net

                     

                    Best regards,

                     

                    George

                    _______________________________________________

                    forge-dev mailing list

                    forge-dev@lists.jboss.org

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                    • 7. Re: [forge-dev] Add module dependency
                      kwintesencja

                      Hi guys,

                       

                      i dont want to be annoying or repetitive, i will post it here (again) for

                      historic reasons but i've facet the "cannot use an API already used  by

                      forge", this time it was the JGit api which is available at

                      org.jboss.forge.git module. GitPlugin only expose as few methods and i need

                      more information from git projects.

                      using

                       

                      :

                       

                      Hi guys,

                       

                      i've managed to add module dependencies to a plugin looking at forge.xml,

                      what do you think?  this is a valid approach?

                       

                      basically i declare module dependencies i want to add to my plugin module

                      xml, here is my forge.xml:

                       

                      <forge>

                           <dependencies>

                               <module name="org.eclipse.javaparser" />

                            </dependencies>

                      </forge>

                       

                      >

                      and at PluginManager#createModule i add it.

                       

                      I've failled to create a test cause i receive a null runtime

                      version(InstalledPluginRegistry.getRuntimeAPIVersion()) when invoking

                      source-plugin command in my test:

                      java.lang.NullPointerException

                          at java.util.regex.Matcher.getTextLength(Matcher.java:1234)

                          at java.util.regex.Matcher.reset(Matcher.java:308)

                          at java.util.regex.Matcher.<init>(Matcher.java:228)

                          at java.util.regex.Pattern.matcher(Pattern.java:1088)

                          at

                      org.jboss.forge.shell.InstalledPluginRegistry.isApiCompatible(InstalledPluginRegistry.java:318)

                          at

                      org.jboss.forge.shell.plugins.PluginManager.registerPlugin(PluginManager.java:560)

                          at

                      org.jboss.forge.shell.plugins.PluginManager.createModule(PluginManager.java:382)

                       

                      Here is the diff:

                      https://github.com/rmpestano/core/commit/abf43ac5c4dcf508c59e3c16cf673f995be49cca

                       

                      >

                      With this approach i can now declare org.eclipse.jdt.core maven dependency

                      as provided cause its exported by the module "org.eclipse.javaparser" and

                      now i have have conflicts with JDT.

                       

                      WDYT?

                       

                      >

                       

                      2014-02-12 9:02 GMT-02:00 Rafael Pestano <rmpestano@gmail.com>:

                       

                      I see, no problerm. I'll take a look at PluginManager and if got any

                      >> progress i ping you back.

                      >>

                      >> 2014-02-11 20:39 GMT-02:00 Lincoln Baxter, III  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                      >>>>>>>>>>> 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)]

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                      >>>>>>>>>>>

                      >>>>>>>>>>>

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>> Method)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>> Method)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                      >>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>> Method)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                      >>>>>>>>>>>         at

                      >>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                      >>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                      >>>>>>>>>>>

                      >>>>>>>>>>>

                      >>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false" to

                      >>>>>>>>>>>> disable stack traces)

                      >>>>>>>>>>>> java.lang.ClassCastException:

                      >>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                      >>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                      >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>>> Method)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                      >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>>> Method)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                      >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                      >>>>>>>>>>>> Method)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                      >>>>>>>>>>>>         at

                      >>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                      >>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                      >>>>>>>>>>>>

                      >>>>>>>>>>>>

                      >>>>>>>>>>>>

                      >>>>>>>>>>>>

                      >>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                      >>>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>> --

                      >>>>>>>>>>>>>>  <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

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>   _______________________________________________

                      >>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>>

                      >>>>>>>>>>>>>> _______________________________________________

                      >>>>>>>>>>>>>> forge-dev mailing list

                      >>>>>>>>>>>>>>  <forge-dev@lists.jboss.org>

                      >>>>>>>>>>>>>

                      >>>>>>>>>>>>>  ...

                       

                       

                       

                       

                       

                      --

                      <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

                       

                      • 8. Re: [forge-dev] Add module dependency
                        lincolnthree

                        Thanks for posting this workaround, Rafael The other alternative is to

                        include the dependency at compile scope; this should also work as far as I

                        know.

                         

                         

                        On Tue, Feb 25, 2014 at 8:42 PM, Rafael Pestano <rmpestano@gmail.com> wrote:

                         

                        Hi guys,

                         

                        i dont want to be annoying or repetitive, i will post it here (again) for

                        historic reasons but i've facet the "cannot use an API already used  by

                        forge", this time it was the JGit api which is available at

                        org.jboss.forge.git module. GitPlugin only expose as few methods and i need

                        more information from git projects.

                        using

                         

                        <dependency>

                              <groupId>org.eclipse.jgit</groupId>

                              <artifactId>org.eclipse.jgit</artifactId>

                              <version>3.2.0.201312181205-r</version>

                              <scope>provided</scope>

                            </dependency>

                         

                        gives me noclassdef found and using it as compile gives me

                        classnotfound(classpath hell)

                         

                        the solution is the same as i did with JDT API, added  <module

                        name="org.jboss.forge.git" /> to forge.xml in my modified

                        forge-distribution.

                         

                        Note that not everyone has the time and/or expertise to migrate their

                        forge 1.x plugin to forge 2.x so they may use this topic as reference to

                        such issue.

                         

                        >

                        >

                        2014-02-13 13:57 GMT-02:00 Rafael Pestano <rmpestano@gmail.com>:

                         

                        >> Hi guys,

                        >>

                        >> i've managed to add module dependencies to a plugin looking at forge.xml,

                        >> what do you think?  this is a valid approach?

                        >>

                        >> basically i declare module dependencies i want to add to my plugin module

                        >> xml, here is my forge.xml:

                        >>

                        >>  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                        >>>>>>>>>>>> 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)]

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                        >>>>>>>>>>>>

                        >>>>>>>>>>>>

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                        >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>> Method)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                        >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>> Method)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                        >>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>> Method)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                        >>>>>>>>>>>>         at

                        >>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                        >>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                        >>>>>>>>>>>>

                        >>>>>>>>>>>>

                        >>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

                        >>>>>>>>>>>>> to disable stack traces)

                        >>>>>>>>>>>>> java.lang.ClassCastException:

                        >>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                        >>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                        >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>>> Method)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                        >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>>> Method)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                        >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                        >>>>>>>>>>>>> Method)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                        >>>>>>>>>>>>>         at

                        >>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                        >>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                        >>>>>>>>>>>>>

                        >>>>>>>>>>>>>

                        >>>>>>>>>>>>>

                        >>>>>>>>>>>>>

                        >>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                        >>>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>> --

                        >>>>>>>>>>>>>>>  <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

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>   _______________________________________________

                        >>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>> _______________________________________________

                        >>>>>>>>>>>>>>> forge-dev mailing list

                        >>>>>>>>>>>>>>>  <forge-dev@lists.jboss.org>

                        >>>>>>>>>>>>>>

                        >>>>>>>>>>>>>>  ...

                        >>

                        >>

                        >

                        >

                        --

                        <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

                         

                        _______________________________________________

                        forge-dev mailing list

                        forge-dev@lists.jboss.org

                        https://lists.jboss.org/mailman/listinfo/forge-dev

                         

                         

                         

                         

                        --

                        Lincoln Baxter, III

                        http://ocpsoft.org

                        "Simpler is better."

                         

                        • 9. Re: [forge-dev] Add module dependency
                          kwintesencja

                          Thanks for the reply Lincoln,

                           

                          i doesn't work for me regardless the scope , maybe its my environment, i'll

                          create a clean project and try again

                           

                           

                           

                          2014-02-25 23:22 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

                           

                          Thanks for posting this workaround, Rafael The other alternative is to

                          include the dependency at compile scope; this should also work as far as I

                          know.

                           

                          >

                          On Tue, Feb 25, 2014 at 8:42 PM, Rafael Pestano <rmpestano@gmail.com>wrote:

                           

                          >> Hi guys,

                          >>

                          >> i dont want to be annoying or repetitive, i will post it here (again) for

                          >> historic reasons but i've facet the "cannot use an API already used  by

                          >> forge", this time it was the JGit api which is available at

                          >> org.jboss.forge.git module. GitPlugin only expose as few methods and i need

                          >> more information from git projects.

                          >> using

                          >>

                          >>  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                          >>>>>>>>>>>>> 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)]

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                          >>>>>>>>>>>>>

                          >>>>>>>>>>>>>

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                          >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                          >>>>>>>>>>>>> Method)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                          >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                          >>>>>>>>>>>>> Method)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                          >>>>>>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

                          >>>>>>>>>>>>> Method)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                          >>>>>>>>>>>>>         at

                          >>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                          >>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                          >>>>>>>>>>>>>

                          >>>>>>>>>>>>>

                          >>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

                          >>>>>>>>>>>>>> to disable stack traces)

                          >>>>>>>>>>>>>> java.lang.ClassCastException:

                          >>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                          >>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                          >>>>>>>>>>>>>>         at

                          >>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                          >>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                          >>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>

                          >>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                          >>>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>> --

                          >>>>>>>>>>>>>>>>  <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

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>   _______________________________________________

                          >>>>>>>>>>>>>>>> forge-dev mailing listforge-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-dev

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>> _______________________________________________

                          >>>>>>>>>>>>>>>> forge-dev mailing list

                          >>>>>>>>>>>>>>>>  <forge-dev@lists.jboss.org>

                          >>>>>>>>>>>>>>>

                          >>>>>>>>>>>>>>>  ...

                          >>>

                          >>>

                          >>

                          >>

                          >>

                          >>

                          >> --

                          >> <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

                          >>

                          >> _______________________________________________

                          >> forge-dev mailing list

                          >> forge-dev@lists.jboss.org

                          >> https://lists.jboss.org/mailman/listinfo/forge-dev

                          >>

                          >

                          >

                          --

                          Lincoln Baxter, III

                          http://ocpsoft.org

                          "Simpler is better."

                           

                          _______________________________________________

                          forge-dev mailing list

                          forge-dev@lists.jboss.org

                          https://lists.jboss.org/mailman/listinfo/forge-dev

                           

                           

                           

                           

                          --

                          <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

                           

                          • 10. Re: [forge-dev] Add module dependency
                            kwintesencja

                            Hi again,

                             

                            just created a small forge 1.x project trying to use jgit and eclipse jtd,

                            but im getting the errors i've talked at this topic

                             

                            can you take a look? maybe i'm doing something wrong

                             

                            https://github.com/rmpestano/forge-issue/

                             

                             

                             

                             

                            2014-02-26 6:40 GMT-03:00 Rafael Pestano <rmpestano@gmail.com>:

                             

                            Thanks for the reply Lincoln,

                             

                            i doesn't work for me regardless the scope , maybe its my environment,

                            i'll create a clean project and try again

                             

                            >

                             

                            2014-02-25 23:22 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

                             

                            Thanks for posting this workaround, Rafael The other alternative is

                            >> to include the dependency at compile scope; this should also work as far as

                            >> I know.

                            >>

                            >>

                            >> On Tue, Feb 25, 2014 at 8:42 PM, Rafael Pestano  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                            >>>>>>>>>>>>>> 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)]

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                            >>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                            >>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                            >>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                            >>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>

                            >>>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE false"

                            >>>>>>>>>>>>>>> to disable stack traces)

                            >>>>>>>>>>>>>>> java.lang.ClassCastException:

                            >>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                            >>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                            >>>>>>>>>>>>>>>         at

                            >>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                            >>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                            >>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                            >>>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>> --

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

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>> Rafael M. Pestano

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>> Desenvolvedor Java Cia. de

                            >>>>>>>>>>>>>>>>>

                            >>>>>>>>>>>>>>>>>  ...

                             

                             

                             

                             

                             

                            --

                            <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

                             

                            • 11. Re: [forge-dev] Add module dependency
                              lincolnthree

                              But you did get it working via the module? Don't worry about my suggestion.

                              I was probably wrong

                               

                               

                              On Wed, Feb 26, 2014 at 8:49 AM, Rafael Pestano <rmpestano@gmail.com> wrote:

                               

                              Hi again,

                               

                              just created a small forge 1.x project trying to use jgit and eclipse jtd,

                              but im getting the errors i've talked at this topic

                               

                              can you take a look? maybe i'm doing something wrong

                               

                              https://github.com/rmpestano/forge-issue/

                               

                              >

                              >

                              2014-02-26 6:40 GMT-03:00 Rafael Pestano <rmpestano@gmail.com>:

                               

                              >> Thanks for the reply Lincoln,

                              >>

                              >> i doesn't work for me regardless the scope , maybe its my environment,

                              >> i'll create a clean project and try again

                              >>

                              >>

                              >>

                              >> 2014-02-25 23:22 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

                              >>

                              >>  Thanks for posting this workaround, Rafael The other alternative is

                              >>> to include the dependency at compile scope; this should also work as far as

                              >>> I know.

                              >>>

                              >>>

                              >>> On Tue, Feb 25, 2014 at 8:42 PM, Rafael Pestano  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                              >>>>>>>>>>>>>>> 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)]

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                              >>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                              >>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                              >>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                              >>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE

                              >>>>>>>>>>>>>>>> false" to disable stack traces)

                              >>>>>>>>>>>>>>>> java.lang.ClassCastException:

                              >>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                              >>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                              >>>>>>>>>>>>>>>>         at

                              >>>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                              >>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                              >>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                              >>>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>> --

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

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>> Rafael M. Pestano

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>> Desenvolvedor Java Cia. de

                              >>>>>>>>>>>>>>>>>>

                              >>>>>>>>>>>>>>>>>>  ...

                              >>

                              >>

                              >

                              >

                              --

                              <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

                               

                              _______________________________________________

                              forge-dev mailing list

                              forge-dev@lists.jboss.org

                              https://lists.jboss.org/mailman/listinfo/forge-dev

                               

                               

                               

                               

                              --

                              Lincoln Baxter, III

                              http://ocpsoft.org

                              "Simpler is better."

                               

                              • 12. Re: [forge-dev] Add module dependency
                                kwintesencja

                                yeap.

                                 

                                you are always wrong Lincoln, i'd like to be wrong as you've been ;P

                                 

                                 

                                2014-02-26 11:49 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

                                 

                                But you did get it working via the module? Don't worry about my

                                suggestion. I was probably wrong

                                 

                                >

                                On Wed, Feb 26, 2014 at 8:49 AM, Rafael Pestano <rmpestano@gmail.com>wrote:

                                 

                                >> Hi again,

                                >>

                                >> just created a small forge 1.x project trying to use jgit and eclipse

                                >> jtd, but im getting the errors i've talked at this topic

                                >>

                                >>  can you take a look? maybe i'm doing something wrong

                                >>

                                >> https://github.com/rmpestano/forge-issue/

                                >>

                                >>

                                >>

                                >>

                                >> 2014-02-26 6:40 GMT-03:00 Rafael Pestano <rmpestano@gmail.com>:

                                >>

                                >>> Thanks for the reply Lincoln,

                                >>>

                                >>> i doesn't work for me regardless the scope , maybe its my environment,

                                >>> i'll create a clean project and try again

                                >>>

                                >>>

                                >>>

                                >>> 2014-02-25 23:22 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>

                                >>> :

                                >>>

                                >>>  Thanks for posting this workaround, Rafael The other alternative is

                                >>>> to include the dependency at compile scope; this should also work as far as

                                >>>> I know.

                                >>>>

                                >>>>

                                >>>> On Tue, Feb 25, 2014 at 8:42 PM, Rafael Pestano  **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-3734196a-d501-400f-b6ec-bfcd0ce08b99"

                                >>>>>>>>>>>>>>>> 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)]

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                                >>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                                >>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                                >>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                                >>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>> 2014-02-10 14:48 GMT-02:00 George Gastaldi  **ERROR** Exception encountered: (type "set VERBOSE

                                >>>>>>>>>>>>>>>>> false" to disable stack traces)

                                >>>>>>>>>>>>>>>>> java.lang.ClassCastException:

                                >>>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit cannot be cast to

                                >>>>>>>>>>>>>>>>> org.eclipse.jdt.core.dom.CompilationUnit

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.verifyStaleReference(OSGiModuleImpl.java:368)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:359)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.searchStaleReferences(OSGiModuleImpl.java:354)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.findStaleReferences(OSGiModuleImpl.java:346)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.model.OSGiModuleImpl.getStaleReferences(OSGiModuleImpl.java:461)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> br.ufrgs.rmpestano.intrabundle.plugin.BundlePlugin.staleReferences(BundlePlugin.java:107)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                >>>>>>>>>>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                                >>>>>>>>>>>>>>>>>         at

                                >>>>>>>>>>>>>>>>> org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

                                >>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:744)

                                >>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>> 2014-02-10 14:16 GMT-02:00 Rafael Pestano   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

                                >>>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>> --

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

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>> Rafael M. Pestano

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>> Desenvolvedor Java Cia. de

                                >>>>>>>>>>>>>>>>>>>

                                >>>>>>>>>>>>>>>>>>>    ...

                                >>>

                                >>>

                                >>

                                >>

                                >>

                                >>

                                >> --

                                >> <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

                                >>

                                >> _______________________________________________

                                >> forge-dev mailing list

                                >> forge-dev@lists.jboss.org

                                >> https://lists.jboss.org/mailman/listinfo/forge-dev

                                >>

                                >

                                >

                                --

                                Lincoln Baxter, III

                                http://ocpsoft.org

                                "Simpler is better."

                                 

                                _______________________________________________

                                forge-dev mailing list

                                forge-dev@lists.jboss.org

                                https://lists.jboss.org/mailman/listinfo/forge-dev

                                 

                                 

                                 

                                 

                                --

                                <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