maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barrett Nuzum" <Barrett.Nu...@Valtech.com>
Subject RE: exec-maven-plugin: Swing app disappears immediately?
Date Fri, 23 Mar 2007 15:08:21 GMT
Jason:
 
I haven't tried this, but from reading
http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html <http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html>

I believe that
cleanupDaemonThreads <https://webmail.valtech.com/exchange/Barrett.Nuzum/Drafts/RE:%20exec-maven-plugin:%20Swing%20app%20disappears%20immediately_x003F_.EML/1_text.htm#cleanupDaemonThreads>
 = false 
is what you want.
 
Give it a shot. 
 
Barrett
 
::   
Barrett Nuzum
Consultant, Skill Development
Direct: 918.640.4414
Fax: 972.789.1340 

Valtech Technologies, Inc.
5080 Spectrum Drive
Suite 700 West
Addison, Texas 75001
www.valtech.com <http://www.valtech.com/>   
making IT business friendly


________________________________

From: jason r tibbetts [mailto:tibbettj@verdi.iisd.sra.com]
Sent: Fri 3/23/2007 9:52 AM
To: users@maven.apache.org
Subject: exec-maven-plugin: Swing app disappears immediately?



I've configured the exec plugin to launch a simple Swing app using the
'java' goal, not 'exec'. The app appears, but then immediately
disappears. I understand that the app is running within Maven's VM, but
I don't understand whether or how the various options can be used to
keep the app alive so that I can use it.

This is a multi-module project.
(parent)/
  - common/
  - client/
    - src/main/java/FooTool

I've configured the exec-maven-plugin in the client's pom.xml:

<build>
   <plugins>
     <plugin>org.codehaus.mojo</plugin>
       <artifactId>exec-maven-plugin</artifactId>
       <executions>
         <execution>
           <goal>java</goal>
         </execution>
       </executions>
       <configuration>
         <mainClass>FooTool</mainClass>
       </configuration>
     </plugin>
   </plugins>
</build>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message