You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2005/02/22 12:10:32 UTC

[JIRA] Closed: (FOR-445) Proxy Configuration for ant task

Message:

   The following issue has been closed.

   Resolver: Ross Gardler
       Date: Tue, 22 Feb 2005 5:09 AM

Patch applied - thanks. 

Also added properties to fresh-site/forrest.properties and modified instructions to user if a plugin download fails.
---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-445

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-445
    Summary: Proxy Configuration for ant <get> task
       Type: New Feature

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Forrest
 Components: 
             Core operations
   Versions:
             0.7

   Assignee: Ross Gardler
   Reporter: Cyriaque Dupoirieux

    Created: Tue, 22 Feb 2005 4:41 AM
    Updated: Tue, 22 Feb 2005 5:09 AM
Environment: Any

Description:
Ant cannot get plugins nor download skins if you are behind a firewall (or a proxy)...


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [JIRA] Closed: (FOR-445) Proxy Configuration for ant task

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Hi,

    I also add instructions if available-skins task fails.

Index: main/targets/skins.xml
===================================================================
--- main/targets/skins.xml    (revision 154836)
+++ main/targets/skins.xml    (working copy)
@@ -97,6 +97,23 @@
         <get src="@{url}"
            dest="${forrest.skins-dir}/skins-${skin-counter}.xml"
            verbose="true" usetimestamp="true" ignoreerrors="true"/>
+        <if>
+        <not>
+               <available 
file="${forrest.skins-dir}/skins-${skin-counter}.xml"/>
+           </not>
+       <then>
+       <fail>Stopped...
+ERROR
+=====
+      
+Unable to retrieve the skins descriptors at @{url}.
+There may be more information about the reason for this in ouput
+above. The usual cause is that Forrest has been unable to download
+the file. If you are behind a firewall then set the proxy.host
+and proxy.port values in the forrest.properties file.
+       </fail>
+     </then>
+   </if>
         <math result="skin-counter" operand1="${skin-counter}" 
operation="+" operand2="1" datatype="int"/>
       </sequential>
     </for>

Regards,
Cyriaque,



issues@cocoondev.org a écrit :

>Message:
>
>   The following issue has been closed.
>
>   Resolver: Ross Gardler
>       Date: Tue, 22 Feb 2005 5:09 AM
>
>Patch applied - thanks. 
>
>Also added properties to fresh-site/forrest.properties and modified instructions to user if a plugin download fails.
>---------------------------------------------------------------------
>View the issue:
>  http://issues.cocoondev.org//browse/FOR-445
>
>Here is an overview of the issue:
>---------------------------------------------------------------------
>        Key: FOR-445
>    Summary: Proxy Configuration for ant <get> task
>       Type: New Feature
>
>     Status: Closed
>   Priority: Minor
> Resolution: FIXED
>
>    Project: Forrest
> Components: 
>             Core operations
>   Versions:
>             0.7
>
>   Assignee: Ross Gardler
>   Reporter: Cyriaque Dupoirieux
>
>    Created: Tue, 22 Feb 2005 4:41 AM
>    Updated: Tue, 22 Feb 2005 5:09 AM
>Environment: Any
>
>Description:
>Ant cannot get plugins nor download skins if you are behind a firewall (or a proxy)...
>
>
>---------------------------------------------------------------------
>JIRA INFORMATION:
>This message is automatically generated by JIRA.
>
>If you think it was sent incorrectly contact one of the administrators:
>   http://issues.cocoondev.org//secure/Administrators.jspa
>
>If you want more information on JIRA, or have a bug to report see:
>   http://www.atlassian.com/software/jira
>
>
>  
>