kohsuke / com4j

Type-safe Java/COM binding
http://com4j.kohsuke.org/
BSD 2-Clause "Simplified" License
146 stars 78 forks source link

error in namespace generation with maven plugin #61

Open altair2010 opened 7 years ago

altair2010 commented 7 years ago

this command line java -jar "tlbimp-2.1.jar" -o "target\generated-sources\com4j\java" -p "my.test" "C:\Program Files (x86)\Microsoft Office\Office14\MSWORD.OLB"

generate java files in folder target\generated-sources\com4j\java\my\test\events using a right package definition package my.test.events;

but the maven plugin

org.jvnet.com4j maven-com4j-plugin 2.1 Word 2010 (OFFICE14/MSWORD.OLB) gen C:\Program Files (x86)\Microsoft Office\Office14\MSWORD.OLB my.test

generate some files in folder target\generated-sources\com4j\java\events with an invalid package package .events; like for _CommandBarButtonEvents class