|
RE: [enhydra] Enhydra 7 - how to add a library to project?: msg#00004java.enhydra.general
Hi Peter, You are right, that feature is not part of Kelp eclipse plugin! Eclipse and Ant builds live different lives and (therefore) Ant build is not aware of new library. In Enhydra 7 we have different project structure. Every layer is deployed (together with its ant builds) in separate directory. To include new jar reference for project ant builds you will have to do some manual intervention in corresponding application layer build. Layer builds are placed in "<app_layer>/build" directory. Every layer contains its separate "build-deploy.xml" with "compile" target defined in it. You should extend classpath definition here (add new jar file reference). If your binary is required during application runtime, you should also include it in output preparation procedure implemented in "application/build/build-deploy.xml". In this file ("init" target) you should copy new jar in "${project.dir}/lib-ext" directory. That's it! HTH! Regards, Slobodan Vujasinovic Enhydra Development Team -----Original Message----- From: Petr Stehlik [mailto:pstehlik@xxxxxxxxxx] Sent: 24 January, 2007 14:49 To: enhydra@xxxxxxxxxxxxx Subject: [enhydra] Enhydra 7 - how to add a library to project? Hi there, once again I am trying to find my way to Enhydra 7. Simple Enhydra demo application works for me - well only after you set up the DOML path manually and also go through the DODS, XMLC and deploy steps. When I add my own library (a jar file) to the project the Eclipse IDE recognizes it and the code is autobuilt correctly. However, neither the Ant Deploy nor Ant Rebuild knows about the library and so they fail. In Enhydra 5 JBuilder was able to keep the build.xml updated. In Enhydra7 it seems that Eclipse lives in a completely different environment than the Ant/Kelp tools in Enhydra Tools menu. I don't know how to add my library properly to the Ant & co. Any suggestion please? How do you add your .jar files to Enhydra 7 project? Thanks a lot. Petr -- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [enhydra] Enhydra 7 - how to add a library to project?, Petr Stehlik |
|---|---|
| Next by Date: | Re: [enhydra] Enhydra 7 - how to add a library to project?, Petr Stehlik |
| Previous by Thread: | [enhydra] Enhydra 7 - how to add a library to project?, Petr Stehlik |
| Next by Thread: | Re: [enhydra] Enhydra 7 - how to add a library to project?, Petr Stehlik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |