not sure I follow you Jerome, could you write a sample mvn exec:exec
..... command line that would do that? I'm having trouble doing the
equivalent of
the following pom section on the command line only:

<configuration>
         <executable>java</executable>
         <arguments>
           <argument>-Dmyproperty=myvalue</argument>
           <argument>-classpath</argument>
           <!-- automatically creates the classpath using all project
dependencies,
                also adding the project build directory -->
           <classpath/>
           <argument>com.example.Main</argument>
           ...
         </arguments>
       </configuration>

Milos

On 3/9/07, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
On 3/9/07, Milos Kleint <[EMAIL PROTECTED]> wrote:
> exec:java is fine for running a class however fails for debugging as
> one needs to spawn a new jvm for debugging. however I think it's not
> possible to include the classpath as a parameter on the command line
> for exec:exec

What about using --classpath argument ??

J

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to