[csw-devel] SF.net SVN: gar:[20928] csw/mgar/pkg/cassandra/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed May 1 21:07:10 CEST 2013


Revision: 20928
          http://gar.svn.sourceforge.net/gar/?rev=20928&view=rev
Author:   wahwah
Date:     2013-05-01 19:07:10 +0000 (Wed, 01 May 2013)
Log Message:
-----------
cassandra/trunk: It wouldn't accept any proxy settings

Modified Paths:
--------------
    csw/mgar/pkg/cassandra/trunk/Makefile

Modified: csw/mgar/pkg/cassandra/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cassandra/trunk/Makefile	2013-05-01 18:46:47 UTC (rev 20927)
+++ csw/mgar/pkg/cassandra/trunk/Makefile	2013-05-01 19:07:10 UTC (rev 20928)
@@ -1,6 +1,8 @@
 # $Id$
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
+# Current problem: ant is unable to download dependencies. I tried to give it
+# proxy setting in various ways, but nothing seems to work.
 NAME = apache-cassandra
 VERSION = 1.2.4
 GARTYPE = v2
@@ -16,17 +18,24 @@
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = foo
 
-JAVA_HOME = /usr/j2se
+# http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
+proxy_host=web.bo.opencsw.org
+proxy_host=proxy
+
+JAVA_HOME = /usr/jdk1.6.0_20
 ANT_HOME = /opt/csw
+ANT_OPTS = -Dhttp.proxyHost=$(proxy_host) -Dhttp.proxyPort=3128
+ANT_OPTS += -Dhttps.proxyHost=$(proxy_host) -Dhttps.proxyPort=3128
 
-EXTRA_BUILD_EXPORTS = JAVA_HOME ANT_HOME
+EXTRA_BUILD_EXPORTS = JAVA_HOME ANT_HOME ANT_OPTS http_proxy
 
+
 include gar/category.mk
 
 build-custom:
 	(cd $(WORKSRC); \
 		$(BUILD_ENV) \
-		/opt/csw/share/java/ant/bin/ant -autoproxy)
+		/opt/csw/share/java/ant/bin/ant --execdebug -autoproxy)
 	false
 
 PATH := $(ANT_HOME)/bin:$(PATH)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list