Open altair2010 opened 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"
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;
target\generated-sources\com4j\java\my\test\events
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
target\generated-sources\com4j\java\events
package .events;
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 definitionpackage my.test.events;
but the maven plugin
generate some files in folder
target\generated-sources\com4j\java\events
with an invalid packagepackage .events;
like for _CommandBarButtonEvents class