vmassol     2004/06/12 06:12:44

  Modified:    abbot/src/plugin-resources jnlp.jsl
               abbot/xdocs properties.xml
               abbot    plugin.properties
  Log:
  Adding new debug property (maven.abbot.debug) to debug webstart tests. It's 
unfinished as I'm unable for now to turn on webstart file logging (users have to open 
webstart and configure it to output logs to a file for now).
  
  Revision  Changes    Path
  1.4       +10 -0     maven-plugins-sandbox/abbot/src/plugin-resources/jnlp.jsl
  
  Index: jnlp.jsl
  ===================================================================
  RCS file: /home/cvs/maven-plugins-sandbox/abbot/src/plugin-resources/jnlp.jsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jnlp.jsl  11 Jun 2004 12:37:16 -0000      1.3
  +++ jnlp.jsl  12 Jun 2004 13:12:44 -0000      1.4
  @@ -113,6 +113,16 @@
           </x:element>
         </j:if>
   
  +      <!-- Add debug properties if debug mode is turned on -->
  +      <j:if test="${maven.abbot.debug}">
  +        <!-- Note: For some unknown reason, adding the "+TraceSecurity" option
  +             hangs Java Web Start (at least on 1.4.2_01) -->
  +        <property name="javaws.debug.0" value="+TraceCache"/>    
  +        <property name="javaws.debug.1" value="+TraceDiskCache"/>    
  +        <property name="javaws.debug.2" value="+TraceDownload"/>    
  +        <property name="javaws.debug.3" value="+TraceXMLParsing"/> 
  +      </j:if>
  +
       </resources>
   
     </jsl:template>
  
  
  
  1.3       +3 -0      maven-plugins-sandbox/abbot/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins-sandbox/abbot/xdocs/properties.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- properties.xml    10 Jun 2004 06:28:10 -0000      1.2
  +++ properties.xml    12 Jun 2004 13:12:44 -0000      1.3
  @@ -44,6 +44,9 @@
   # reports will overwrite each other.
   #maven.abbot.suite.name = MyTestSuite
   
  +# Decide whether to turn on webstart debugging.
  +maven.abbot.debug = false
  +
   # -------------------------------------------------------------------
   # Properties required only for the abbot:test goal
   # -------------------------------------------------------------------
  
  
  
  1.3       +3 -0      maven-plugins-sandbox/abbot/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins-sandbox/abbot/plugin.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.properties 10 Jun 2004 06:28:10 -0000      1.2
  +++ plugin.properties 12 Jun 2004 13:12:44 -0000      1.3
  @@ -50,6 +50,9 @@
   # reports will overwrite each other.
   #maven.abbot.suite.name = MyTestSuite
   
  +# Decide whether to turn on webstart debugging.
  +maven.abbot.debug = false
  +
   # -------------------------------------------------------------------
   # Properties required only for the abbot:test goal
   # -------------------------------------------------------------------
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to