provide paths to jars in etics mode
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 20 Jan 2009 16:48:10 +0000 (16:48 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 20 Jan 2009 16:48:10 +0000 (16:48 +0000)
org.glite.lb/configure

index ecd2be8..a72805e 100755 (executable)
@@ -450,6 +450,12 @@ sub mode_etics {
                push @copts,$ge{$_} ? "--with-$_=\${stageDir}" : "--with-$_=\${$eext.location}";
        }
 
+       for (@{$need_jars{"$subsys.$module"}}) {
+               my $eext = $etics_externs{$_} ? $etics_externs{$_} : $_;
+
+               push @copts,"--with-$_=\${$_.location}/$_-`echo \${$_.version} | sed 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/'`.jar";
+       }
+
 
        my $conf = "glite-$subsys-${module}_R_${major}_${minor}_${rev}_${age}";
        my $file = $output ? $output : "$conf.ini";
@@ -494,7 +500,7 @@ init = None
 install = make install
 clean = make clean
 test = make check
-configure = cd $confdir && \${moduleName}/configure --module $subsys.$module @copts
+configure = cd $confdir && \${moduleName}/configure --prefix=\${prefix} --module $subsys.$module @copts
 checkstyle = None
 
 [Platform-default:Property]