svn commit: rev 21388 - avalon/trunk/central/system/build

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
Author: farra
Date: Thu Jun 17 11:56:27 2004
New Revision: 21388

Modified:
   avalon/trunk/central/system/build/reactor.xml
Log:
fixed bug with no proxy

Modified: avalon/trunk/central/system/build/reactor.xml
==============================================================================
--- avalon/trunk/central/system/build/reactor.xml	(original)
+++ avalon/trunk/central/system/build/reactor.xml	Thu Jun 17 11:56:27 2004
@@ -3,18 +3,14 @@
 
   <x:home/>
 
-  <target name="init">
-   <!--
-     this wasn't being called.  why?
+  <target name="init" depends="init-proxy">
+   <!--       
+ 
+    currently not used.  (why?)
+
     <x:home/>
     <x:reactor target="init"/>
    -->
-
-    <setproxy proxyhost="${project.proxy.host}"
-              proxyport="${project.proxy.port}"
-	      proxyuser="${project.proxy.user}"
-	      proxypassword="${project.proxy.password}"/>
-
   </target>
 
   <target name="clean">
@@ -55,6 +51,13 @@
   <target name="dist">
     <x:home/>
     <x:reactor target="dist"/>
+  </target>
+
+  <target name="init-proxy" if="${project.proxy.host}">
+    <setproxy proxyhost="${project.proxy.host}"
+              proxyport="${project.proxy.port}"
+	      proxyuser="${project.proxy.user}"
+	      proxypassword="${project.proxy.password}"/>
   </target>
 
 </project>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.