have the exec:exec goal set classpath by command-line params.
-------------------------------------------------------------

                 Key: MEXEC-21
                 URL: http://jira.codehaus.org/browse/MEXEC-21
             Project: Mojo Exec Plugin
          Issue Type: New Feature
    Affects Versions: 1.1
            Reporter: Milos Kleint
         Attachments: classpath.patch

the included patch allows to execute the following command in the terminal:

exec:exec -Dexec.executable=java -Dexec.args="-classpath %classpath 
org.milos.App"

the "%classpath" item gets dynamically converted to the project's dependency 
classpath and is equivalent of the <classpath> configuration element.

the issue is important for running/debugging arbitrary classes in project in 
the IDE (mevenide/netbeans) in an ad hoc manner without the need to adjust the 
pom.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to