On 6/26/06, TimHedger <[EMAIL PROTECTED]> wrote:
Dan, I'm on the way to building this. Just one question. The steps in the process are: 1 compile java interface files
This is work of client pom itself to invoke compiler plugin to compile only the selective java interfaces in your source root 2 run java2iiop process to generate more classes This is work of your plugin to work on those generate classes, you will need to place those generated java files inside target directory and add the generated source dir to the maven project source tree dynamically. Do you know how directly invoke visibroker to do this work ( rather going thru the provided executable, which make it not portable among platform)? 3 compille the generated classes with my own code normal compile happens here 3 is obviously the normal compile phase
I would expect 2 to be generates-sources, but that would only leave validate to tie my compile java interface files to. Which seems like a botch job.
Not sure what is the problem here What is the right way to do this? yes And are there any examples you can point me at where other plugins or
configurations do a javac compile before the standard compile? --
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>precompile</id> <phase>generate-sources</phase> <configuration> <includes > <include >x/y/z/interface1.java</include> <include>x/y/z/interface2.java</include> </includes> </configuration> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin>
View this message in context: http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5045134 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]