Search |
||
Updates on com4jPosted by kohsuke on January 8, 2008 at 10:08 AM PST
Maven-com4j-pluginThis work is contributed by Jason Thrasher, but apparently neither of us released it until now — he probably thought I'd do it, and I assumed he would do it. So my apologies, Jason. But in any case, the plugin is finally released to the java.net maven2 repository, and you can see the documentation from the com4j website. The plugin allows you to invoke tlbimp from Maven, so you can use Maven to build Java modules to interface with COM type library. com4j type library collectionsYou can generate necessary Java wrappers from COM type libraries as a part of your build, but because type libraries rarely change (especially those from 3rd parties like Microsoft or Apple), it makes more sense to pre-compile them into Java and just reuse them as binaries. This is particularly true for those huge type libraries (think Microsoft Office.) So by using maven-com4j-plugin, I started assembling interop jar files for popular type libraries. It's still small, but the list can grow, and your feedback and contributions would be welcomed. With the maven plugin, all I need to do is to write a single pom.xml. I still need to create a web page for this. New version of com4jI also posted a new version of com4j with several improvements.
com4j in maven repositorycom4j is now placed in the java.net maven2 repository, and can be accessed like this:
»
Related Topics >>
Java Tools Comments
Comments are listed in date ascending order (oldest first)
Submitted by dickdick on Tue, 2008-03-04 02:27.
Excuse me. I encounter a problem that the app server stated exception thrown when unload com4j.dll after i restart the application from app server. Do u know how can I do?
Submitted by fullung on Fri, 2008-01-18 06:54.
After reading this post I looked at com4j after trying JACOB. com4j looks great, but the absence of replies from developers on the project mailing list disappoints.
Submitted by kohsuke on Fri, 2008-01-18 12:49.
fullung — I know what you mean, but I can't provide responsive free support for all my hobby projects. I'm really looking for people who could join the project and help user support.
In the mean time, at least the source code is out there, so when you are stuck you can always read the code...
Submitted by keeskuip on Tue, 2008-01-08 13:34.
Does the extraction of the ddl also work when the application is deployed with javawebstart?
|
||
|
|