A Mojo for running the application could be useful
--------------------------------------------------

                 Key: MWEBSTART-24
                 URL: http://jira.codehaus.org/browse/MWEBSTART-24
             Project: Maven 2.x Webstart Plugin
          Issue Type: New Feature
    Affects Versions: 1.0-alpha-2
            Reporter: Havard Bjastad


If one could execute, e.g.
   mvn webstart:run
to test the application locally (before deploying it), that would be very 
useful.

We currently use the following antrun configuration to execute the application:

        <profiles>
                <profile>
                        <id>run</id>
                        <build>
                                <plugins>
                                        <plugin>
                                                
<groupId>org.apache.maven.plugins</groupId>
                                                
<artifactId>maven-antrun-plugin</artifactId>
                                                <executions>
                                                        <execution>
                                                                
<phase>install</phase>
                                                                <goals>
                                                                        
<goal>run</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
                                                                                
<java classname="${appMainClass}" failonerror="true" fork="true">
                                                                                
        <sysproperty key="swing.aatext" value="true"/>
                                                                                
        <classpath>
                                                                                
                <path refid="maven.runtime.classpath"/>
                                                                                
        </classpath>
                                                                                
</java>
                                                                        </tasks>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>
        </profiles>


-- 
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