--- eclipse-ext.eclass.orig 2005-07-06 22:35:35.000000000 +0200 +++ eclipse-ext.eclass 2005-07-08 09:57:39.000000000 +0200 @@ -129,8 +129,10 @@ for x in $* ; do if [ -d "$x" ] && [ -f $x/feature.xml ] ; then cp -a $x ${D}/${eclipse_ext_basedir}/features + elif [ -f "$x" ] && [ `echo $x | grep jar` ]; then + cp -a $x ${D}/${eclipse_ext_basedir}/features else - eerror "$x not a feature directory!" + eerror "$x neither a feature jarfile nor a feature directory!" fi done } @@ -159,8 +161,10 @@ for x in $* ; do if [ -d "$x" ] && ( [ -f "$x/plugin.xml" ] || [ -f "$x/fragment.xml" ] ) ; then cp -a $x ${D}/${eclipse_ext_basedir}/plugins + elif [ -f "$x" ] && [ `echo $x | grep jar` ]; then + cp -a $x ${D}/${eclipse_ext_basedir}/plugins else - eerror "$x not a plugin directory!" + eerror "$x neither a plugin jarfile nor a plugin directory!" fi done }