buildframework/helium/tools/preparation/preparation.antlib.xml
author Bob Rosenberg <bob.rosenberg@nokia.com>
Mon, 20 Sep 2010 10:55:43 +0100
changeset 658 cab9da9b71bb
parent 628 7c4a911dc066
permissions -rw-r--r--
Test and fail for badly invalid unit elements when joining
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : preparation.antlib.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<!--* @package preparation -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
<antlib xmlns:hlm="http://www.nokia.com/helium">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
    <!--
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
       This task will copy the content of the its nested fileset in parallel. The todir attribute defines
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
       the output directory. 'threads' defines how many copy you would like in parallel, and verbose
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
       defines if you want the copying to be logged.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
     -->
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    31
    <scriptdef name="parallelCopy" language="beanshell" uri="http://www.nokia.com/helium">
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
        <attribute name="todir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
        <attribute name="threads" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
        <attribute name="verbose" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
        <attribute name="overwrite" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
        <element name="resourceset" type="http://www.nokia.com/helium:resourceSet"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
        <![CDATA[
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
import org.apache.tools.ant.taskdefs.Parallel;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
import org.apache.tools.ant.taskdefs.Copy;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
import org.apache.tools.ant.BuildException;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
import org.apache.tools.ant.taskdefs.Mkdir;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
import java.io.File;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
int threads = 4;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
String verbose = "false";
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
String overwrite = "false";
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
if (attributes.get("todir") == null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
    throw new BuildException("'todir' attribute is not defined.");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
if (attributes.get("threads") != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
    threads = Integer.parseInt(attributes.get("threads"));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
    if (threads < 0) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
        throw new BuildException("Invalid thread number: " + threads);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
    }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
if (attributes.get("verbose") != null) {
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    59
    verbose = attributes.get("verbose");
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
if (attributes.get("overwrite") != null) {
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    62
    overwrite = attributes.get("overwrite");
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
}
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    64
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
// Creating the output dir
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
Mkdir mkdir = new Mkdir();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
mkdir.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
mkdir.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
mkdir.setDir(new File(attributes.get("todir")));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
mkdir.execute();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
Parallel pt = new Parallel();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
pt.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
pt.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
pt.setThreadCount(threads);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
if (elements.get("resourceset") != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
    resourceSets = elements.get("resourceset");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
    for (int rsi = 0 ; rsi < resourceSets.size() ; rsi++) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
        resourceCollections  = resourceSets.get(rsi).getData();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
        for (int i = 0 ; i < resourceCollections.size() ; i++) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
            self.log("Creating copy task...");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
            Copy copy = new Copy();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
            copy.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
            copy.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
            copy.setTodir(new File(attributes.get("todir")));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    86
            copy.add(resourceCollections.get(i));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    87
            copy.setVerbose(new Boolean(verbose).booleanValue());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
            copy.setOverwrite(new Boolean(overwrite).booleanValue());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
            pt.addTask(copy);
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    90
        }
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    91
    }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
self.log("Starting parallel copying...");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
pt.execute();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
self.log("Copying completed.");
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    96
    ]]>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
    </scriptdef>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
    <!--
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   100
        This task will unzip each group (represented as path element) in parallel. But the content of each
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   101
        group will be unzipped sequentially.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   102
     -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   103
    <scriptdef language="beanshell" name="parallelUnzip" uri="http://www.nokia.com/helium">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
        <attribute name="todir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
        <attribute name="threads" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
        <attribute name="failonerror" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
        <attribute name="logdir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
        <element name="resourceset" type="http://www.nokia.com/helium:resourceSet"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
        <![CDATA[
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   110
import org.apache.tools.ant.taskdefs.Sequential;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   111
import org.apache.tools.ant.taskdefs.Parallel;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   112
import org.apache.tools.ant.taskdefs.ExecTask;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   113
import org.apache.tools.ant.BuildException;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   114
import org.apache.tools.ant.taskdefs.Mkdir;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   115
import java.io.File;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   116
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
int threads = 4;
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
String failonerror = "true";
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
String logDir = attributes.get("logdir");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   121
if (attributes.get("todir") == null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
    throw new BuildException("'todir' attribute is not defined.");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   125
if (attributes.get("threads") != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   126
    threads = Integer.parseInt(attributes.get("threads"));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   127
    if (threads < 0) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   128
        throw new BuildException("Invalid thread number: " + threads);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   129
    }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   130
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   131
if (attributes.get("failonerror") != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   132
    failonerror = attributes.get("failonerror");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   133
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   134
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   135
// Creating the output dir
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   136
Mkdir mkdir = new Mkdir();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   137
mkdir.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   138
mkdir.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   139
mkdir.setDir(new File(attributes.get("todir")));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   140
mkdir.execute();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   141
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   142
if (logDir != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   143
    Mkdir mkdir = new Mkdir();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   144
    mkdir.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   145
    mkdir.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   146
    mkdir.setDir(new File(logDir));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   147
    mkdir.execute();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   148
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   149
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   150
// parallel
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   151
Parallel pt = new Parallel();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   152
pt.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   153
pt.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   154
pt.setThreadCount(threads);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   155
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   156
if (elements.get("resourceset") != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   157
    resourceSets = elements.get("resourceset");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   158
    for (int rsi = 0 ; rsi < resourceSets.size() ; rsi++) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   159
        resourceCollections  = resourceSets.get(rsi).getData();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   160
        for (int i = 0 ; i < resourceCollections.size() ; i++) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   161
            Sequential seq = new Sequential();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   162
            seq.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   163
            seq.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   164
            iterator = resourceCollections.get(i).iterator();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   165
            while (iterator.hasNext()) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   166
                resource = iterator.next();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   167
                self.log("Creating 7zip task...");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   168
                ExecTask exec = new ExecTask();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   169
                exec.setProject(project);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   170
                exec.setTaskName(self.getTaskName());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   171
                exec.setExecutable("7za");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   172
                if (logDir != null) {
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   173
                    exec.setOutput(new File(logDir, new File(resource.toString()).getName() + ".log"));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   174
                }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   175
                exec.setDir(new File(attributes.get("todir")));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   176
                exec.setFailonerror(new Boolean(failonerror).booleanValue());
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   177
                exec.createArg().setValue("x");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   178
                exec.createArg().setFile(new File(resource.toString()));
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   179
                exec.createArg().setValue("-y");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   180
                seq.addTask(exec);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   181
            }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   182
            pt.addTask(seq);
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   183
        }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   184
    }
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   185
}
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   186
self.log("Starting parallel unzipping...");
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   187
pt.execute();
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   188
self.log("Unzipping completed.");
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   189
    ]]>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   190
    </scriptdef>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   191
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   192
</antlib>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   193