Hello,

our project consists of multiple subprojects. One subproject
implements a code generator, that takes an xml and generates
java.
Another subproject is called examples and consists of several
subprojects (basically just the xml-files for the generator).
How should I invoke the generator? How should the example
poms look like? In which subdirectories should they sit?
The code has to be generated and compiled.

I tried the maven exec plugin but I failed.

   <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <configuration>
     <mainClass>
      foo.Generator
     </mainClass>
     <keepAlive>true</keepAlive>
     <arguments>
      <argument>-c</argument>
      <argument>pathto\spec.xml</argument>
     </arguments>
    </configuration>
   </plugin>

I guess it failed because of a classpath problem. How can I track this?


Best regards,

Steffen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to