[jbosstools-issues] [JBoss JIRA] (JBIDE-19789) User Defined Modules are not loading in Eclipse

Rob Stryker (JIRA) issues at jboss.org
Tue May 12 12:47:19 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067382#comment-13067382 ] 

Rob Stryker commented on JBIDE-19789:
-------------------------------------

I'm not sure what Max means by "It should show everything found in the server".  This is incorrect.

The classpath list includes a set of pre-defined modules from the server installation by default. Users can update the list by following Daniel Novo's advice in the forum post above:  

Eclipse > preferences > Server > Runtime Environments > Default Classpath Entries
Select "Wildfly 8.x Runtime" and add a module

When you select "Add..." , a list does not come up, but rather an opportunity to type in a module name and a slot. Once you complete this wizard, you will see an immediate change to the preference page, and, after that, you should press Apply or OK. Once the Preference Page goes away, you should see an immediate change to your list of jars on your web / ejb / ear project's build path. In fact, a dialog will even come up and inform you of a rebuild request. 

There should be no restart of a server required in any way, because the build path of a project has no relation to the state of the server. 


> User Defined Modules are not loading in Eclipse 
> ------------------------------------------------
>
>                 Key: JBIDE-19789
>                 URL: https://issues.jboss.org/browse/JBIDE-19789
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server
>         Environment: java 1.8, wildfly 8.1 , Mysql
>            Reporter: Raj Kumar
>
> Hi , i want to load the Application server Libraries in Java Build Path in eclipse,
>  
> i have 5 applications in eclipse which shares common libraries,
> i can't put all the libraries in each project lib folder,
> so i want to add the libraries in Wildfly Application server using modules.
>  
> This is my module.xml file add added the lib at  WILDFLY_HOME/modules/system/layers/base/com/mysql/main/mysql-connector-java-5.1.23-bin.jar
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <module xmlns="urn:jboss:module:1.1" name="com.mysql">
> <resources>
> <resource-root path="mysql-connector-java-5.1.23-bin.jar"/>
> </resources>
> <dependencies>
> <module name="javax.api"/>
> <module name="javax.transaction.api"/>
> </dependencies>
> </module>
>  
> After Restarting the server,this module is not loading in Eclipse Build path.
> Can any one knows what wrong with this modules ?
> In Wildfly i have some predefined modules, those are loading in build path successfully, but user-defined modules are not loading ?
> why ?
> - See more at: https://developer.jboss.org/thread/257825?sr=inbox#sthash.MWLbzbco.dpuf



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list