How to include JBoss module dependency in the project classpath of JBDS ?

Solution Unverified - Updated -

Issue

  • jboss-deployment-structure.xml allows me to utilize the hibernate classes when I deploy the ear to a JBoss server. But while using eclipse kepler to develop these applications, then how to add the dependency on the JBoss EAP 6.2.0 server runtime library to import all of the jar files that my classes depend on from JBoss.

  • When adding the module dependency to the EAR's jboss-deployment-structure.xml file, then it was expected that JBoss tools would understand that the application EAR had a dependency on those classes and import them as part of the project classpath. This does not seems to be the case. Is it possible to have the JBoss server runtime library include jars that are added to project as a dependency?

  • What is the easy way to include more than one jars in project's build path ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)

    • 6.x
  • Red Hat JBoss Developer Studio (JBDS)

    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content