-
1. Re: EJB3 embeddable class folders
bill.burke Jul 11, 2006 8:22 AM (in response to ruel.loehr)Yes. They are used for the E-EJB3 distribution. FOr testing, these must be built to test the standalone distribution! Please don't remove. Or, move the creation of these to be a dependency of the 'standalone-tests' target.
Thanks -
2. Re: EJB3 embeddable class folders
wolfc Jul 11, 2006 10:07 AM (in response to ruel.loehr)"bill.burke@jboss.com" wrote:
Yes. They are used for the E-EJB3 distribution. FOr testing, these must be built to test the standalone distribution! Please don't remove. Or, move the creation of these to be a dependency of the 'standalone-tests' target.
Thanks
What if we jar the jars and create a jar jars class loader?
Then we don't have to unjar any artifacts produced by other projects. -
3. Re: EJB3 embeddable class folders
bill.burke Jul 12, 2006 8:38 AM (in response to ruel.loehr)THe idea of merging the jars was for E-EJB3 users that run off of the Java classpath. They don't want 50 jars to add to their classpath, neither do they want a special classloader they have to use.
-
4. Re: EJB3 embeddable class folders
wolfc Jul 13, 2006 10:26 AM (in response to ruel.loehr)You are right, they don't want a special class loader (IDE & compiler problems etc...).
But I still think that 'modifying' artifacts is bad practice (it doesn't way up to the above however).
How about an e-ejb3.jar with a Class-Path in the manifest that contains all the artifacts (which should be in the same directory)?
That should satisfy both IDEs and applications. -
5. Re: EJB3 embeddable class folders
bill.burke Jul 13, 2006 11:32 AM (in response to ruel.loehr)are you sure SE even recognizes Class-Path in the manifest? I thought this was a J2EE construct?
-
6. Re: EJB3 embeddable class folders
starksm64 Jul 13, 2006 11:42 AM (in response to ruel.loehr)Its standard JavaSE jar specification stuff:
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html
http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html -
7. Re: EJB3 embeddable class folders
wolfc Jul 14, 2006 4:35 AM (in response to ruel.loehr)We could create the same three jars, but then with Class-Path manifest instead of all the classes.
Shall I give it a shot? -
8. Re: EJB3 embeddable class folders
bill.burke Jul 14, 2006 9:03 AM (in response to ruel.loehr)Ok, demo it next week. Never used class-path.