[jboss-user] [Beginner's Corner] New message: "Question about adding a folder with classes to the CLASSPATH"

null null do-not-reply at jboss.com
Mon Feb 1 17:31:26 EST 2010


User development,

A new message was posted in the thread "Question about adding a folder with classes to the CLASSPATH":

http://community.jboss.org/message/523488#523488

Author  : null null
Profile : http://community.jboss.org/people/ranjix

Message:
--------------------------------------------------------------
Hey guys, quick description (hopefully) and a question - 
 
basically I have a couple of j2ee apps which share a common piece of code ("core"). The folders are pretty much:
 
- core
     - classes
          - com
               - blabla
                    - someclasses.class
- app1
     - structure of an EAR
- app2
 
What I want is to have the apps run from app1 and app2 folder (by adding the apps "roots" in server/conf/bootstrap/profiles.xml), and, in the same time, the apps to find the classes in core/classes folder. With other container is possible using the CLASSPATH env var (in Weblogic for example), or using "Shared Libraries" (in WebSphere, libraries.xml would have a classpath pointing to the core/classes). 
 
Any idea how could I achieve this in JBoss? 
 
Appreciate any answer, 
 
Ranjix

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523488#523488




More information about the jboss-user mailing list