<p>We use jboss modules that provides osgi like features, which is the reason why /lib isn't working. We need a feature added to modules in order to support the extra use case. Actually its already requested to be able to create module that accepts all resources in a directory as a pattern.</p>
<p>Working on that.</p>
<p>--<br>
Lincoln Baxter's Droid<br>
<a href="http://ocpsoft.com">http://ocpsoft.com</a><br>
"Keep it Simple"</p>
<div class="gmail_quote">On Oct 4, 2011 11:39 AM, "Jethro Bakker" <<a href="mailto:jethrobakker@gmail.com">jethrobakker@gmail.com</a>> wrote:<br type="attribution">> Hello Lincoln,<br>> <br>> My first thought was OSGi, it does exactly what Forge need. But it is not a simple solution. Spring Roo for example uses this kind of mechanism to dynamically load JAR files.<br>
> <br>> Since version 1.0 beta1 users don't have to put their dependencies in $FORGE_HOME/lib, what was the mechanism you used in the past and why isn't it working anymore?<br>> <br>> It is also possible to you use/write you own classloader to dynamically load the JAR files, but this is not quite simple.<br>
> <br>> Regards, Jethro<br>> <br>> <br>> <br>> <br>> Op 29 sep. 2011, om 06:52 heeft Lincoln Baxter, III het volgende geschreven:<br>> <br>>> Yep, we just discovered this one.<br>>> <br>
>> <a href="https://issues.jboss.org/browse/SEAMFORGE-336">https://issues.jboss.org/browse/SEAMFORGE-336</a><br>>> <br>>> Ideas welcome.<br>>> <br>>> Sorry for the late reply.<br>>> ~Lincoln<br>
>> <br>>> On Wed, Sep 21, 2011 at 4:30 AM, Jethro Bakker <<a href="mailto:jethrobakker@gmail.com">jethrobakker@gmail.com</a>> wrote:<br>>> Hello,<br>>> <br>>> When trying to generate entities from an existing database I get the following error:<br>
>> <br>>> generate-entities --url jdbc:mysql:localhost:3306/vis --driver com.mysql.jdbc.Driver --dialect org.hibernate.dialect.MySQL5Dialect<br>>> ? In which package you'd like to create this @Entity, or enter for default: nl.flusso.model<br>
>> ***ERROR*** [generate-entities] Could not initialize class org.hibernate.cfg.JDBCMetaDataConfiguration<br>>> <br>>> <br>>> <br>>> Regards, Jethro Bakker<br>>> <br>>> Mob: +31 6 1002 94 92<br>
>> Email: <a href="mailto:j.bakker@flusso.nl">j.bakker@flusso.nl</a><br>>> <br>>> Flusso BV<br>>> Hamersveldsweg 126a<br>>> 3833 GV Leusden<br>>> Web: <a href="http://www.flusso.nl">www.flusso.nl</a><br>
>> <br>>> <br>>> <br>>> <br>>> _______________________________________________<br>>> forge-users mailing list<br>>> <a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/forge-users">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>>> <br>>> <br>>> <br>>> <br>>> -- <br>>> Lincoln Baxter, III<br>
>> <a href="http://ocpsoft.com">http://ocpsoft.com</a><br>>> <a href="http://scrumshark.com">http://scrumshark.com</a><br>>> "Keep it Simple"<br>> <br>> Mob: +31 6 1002 94 92<br>> Email: <a href="mailto:j.bakker@flusso.nl">j.bakker@flusso.nl</a><br>
> <br>> Flusso BV<br>> Hamersveldsweg 126a<br>> 3833 GV Leusden<br>> Web: <a href="http://www.flusso.nl">www.flusso.nl</a><br>> <br>> <br>> <br></div>