[ 
https://issues.apache.org/jira/browse/TUSCANY-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luciano Resende reassigned TUSCANY-3449:
----------------------------------------

    Assignee: Luciano Resende

> Dojo install script fails when running from binary distribution ant script
> --------------------------------------------------------------------------
>
>                 Key: TUSCANY-3449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.6
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>            Priority: Blocker
>             Fix For: Java-SCA-1.6
>
>
> Looks like there are some differences from when using the dojoxxx.zip from 
> maven and directly from dojotoolkit download place.
> This is causing some problems in the 1.6 release, and it also seems that some 
> samples are using different approaches to unzip the archives
> When the dojo-1.3.0.zip is retrieved from a maven repo, it will extract to 
> dojo-1.3.0, thus matchin the pattern we have in the build-dojo.xml
>  <unzip 
> src="${localRepository}/org/dojotoolkit/dojo/${dojo.version}/dojo-${dojo.version}.zip"
>                dest="${basedir}/target/dojo-unpack-temp/"
>                overwrite="false"
>                  encoding="native-encoding">
>             <patternset>
>                 <include name="dojo-${dojo.version}/dojo/**"/>
>                 <exclude name="dojo-${dojo.version}/dojo/tests/**"/>
>                 <exclude name="dojo-${dojo.version}/dijit/**"/>
>                 <exclude name="dojo-${dojo.version}/dojox/**"/>
>                 <exclude name="dojo-${dojo.version}/util/**"/>
>             </patternset>
>         </unzip>
> The following samples are configured for this option : demos-bigbank, 
> helloworld-dojo-webapp and simple-bigbank-spring
> When the dojo-1.3.0.zip is retrieved from a dojotolkit download website 
> (http://download.dojotoolkit.org/release-${dojo.version}/dojo-release-${dojo.version}.zip),
>  it will extract to dojo-release-1.3.0, and then we need something different 
> in the build-dojo.xml
> <unzip 
> src="${localRepository}/org/dojotoolkit/dojo/${dojo.version}/dojo-${dojo.version}.zip"
>                dest="${basedir}/target/dojo-unpack-temp/"
>                overwrite="false"
>                  encoding="native-encoding">
>             <patternset>
>                 <include name="dojo-release-${dojo.version}/dojo/**"/>
>                 <exclude name="dojo-release-${dojo.version}/dojo/tests/**"/>
>                 <exclude name="dojo-release-${dojo.version}/dijit/**"/>
>                 <exclude name="dojo-release-${dojo.version}/dojox/**"/>
>                 <exclude name="dojo-release-${dojo.version}/util/**"/>
>             </patternset>
>         </unzip>
> The following samples are configured this way: alert-aggregator-webapp, 
> bigbank-account

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to