you are right Charles.
thanks for the tip. everything works well now!
cheers
Patria

Charlie Collins wrote:
> Three things.
>
> 1. Looks to me like everything worked fine there, the shell is NOT
> SUPPOSED to start until you connect the debugger, go back and read the
> article you said you are following (it states exactly how to do
> that).
>
> 2. If you don't want the debugger to pause and wait for you to connect
> set the "debugSuspend" property to false (it is true by default -
> http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/debug-mojo.html#debugSuspend).
>
> 3. You DON"T need to add the debugger options in "extraJvmArgs" - that
> is redundant. The gwt:debug goal does that for you automatically.
> (The article was intended to show everyone how to use JPDA - whether
> with GWT-Maven or not - so it was showing what the plugin does, you
> don't need to manually do that if you are also using the plugin.)
>
> phlukman wrote:
>   
>> hi there
>>
>> I'm trying to debug my gwt application using the plugin and I've read
>> the article http://www.screaming-penguin.com/node/7353 with no succes.
>>
>> Here is my configuration
>> OS:Mac OS X Leopard
>> Eclipse Ganymede 3.4.1
>> Gwt 1.5.3
>> Maven 2.0.9
>> Version of gwt-maven plugin: beta 26.
>>
>> This is a piece of the configuration:
>>
>>  <plugin>
>>                              <groupId>com.totsp.gwt</groupId>
>>                              
>> <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
>>                              <version>2.0-beta26</version>
>>                              <configuration>
>>                                      <compileTargets>
>>                                              
>> <value>com.gpa.ui.gwt.Application</value>
>>                                      </compileTargets>
>>                                      
>> <runTarget>com.gpa.ui.gwt.Application/Application.html</
>> runTarget>
>>                                      <logLevel>INFO</logLevel>
>>                                      <style>DETAILED</style>
>>                                      <noServer>false</noServer>
>>                                      <!-- 
>> <extraJvmArgs>-Xmx512m</extraJvmArgs> -->
>>                                      <extraJvmArgs>-XstartOnFirstThread 
>> -Xmx512m  -Xdebug -Xnoagent -
>> agentlib:jdwp=transport=dt_socket,server=y,address=8013,suspend=y</
>> extraJvmArgs>
>>                                      <gwtVersion>${gwtVersion}</gwtVersion>
>>                                      <i18nConstantsNames>
>>                        <value>com.gpa.ui.gwt.client.GPAConstants</
>> value>
>>                        <value>com.gpa.ui.gwt.client.GPAConstants_es</
>> value>
>>                     </i18nConstantsNames>
>>                     <i18nMessagesNames>
>>                        <value>com.gpa.ui.gwt.client.GPAMessages</
>> value>
>>                     </i18nMessagesNames>
>>
>>                              </configuration>
>>                              <executions>
>>                                      <execution>
>>                                              <goals>
>>                                                      <!-- 
>> <goal>mergewebxml</goal>-->
>>                                                  <goal>i18n</goal>
>>                                                  <goal>debug</goal>
>>                                                      <goal>compile</goal>
>>                             <goal>test</goal>
>>                                              </goals>
>>                                      </execution>
>>                              </executions>
>>                      </plugin>
>>
>> and what happens is that when I run the goal debug, it shows the
>> following output but the gwtshell does not starts up.....
>>
>> INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building gwt-maven-archetype-project
>> [INFO]    task-segment: [com.totsp.gwt:maven-googlewebtoolkit2-plugin:
>> 2.0-beta26:debug]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Preparing gwt:debug
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [gwt:i18n {execution: default}]
>> [INFO] establishing classpath list (buildClaspathList - scope =
>> COMPILE)
>> [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM
>> for GWT dependencies
>> Listening for transport dt_socket at address: 8013
>>
>>
>> I'd really appreciate any help you can give !
>> thanks!
>> Patria
>>     
> >
>
>   


-- 
Patria H.Lukman (Mr.) | Sun Certified Professional

Luk-Zen Technologies Inc | "Being Agile with Java" | www.lukzen.com

Cell: (+) 1.514.705.5593 | Fax: (+) 1.514.227.5201


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to