Lines 129-136
Link Here
|
129 |
for x in $* ; do |
129 |
for x in $* ; do |
130 |
if [ -d "$x" ] && [ -f $x/feature.xml ] ; then |
130 |
if [ -d "$x" ] && [ -f $x/feature.xml ] ; then |
131 |
cp -a $x ${D}/${eclipse_ext_basedir}/features |
131 |
cp -a $x ${D}/${eclipse_ext_basedir}/features |
|
|
132 |
elif [ -f "$x" ] && [ `echo $x | grep jar` ]; then |
133 |
cp -a $x ${D}/${eclipse_ext_basedir}/features |
132 |
else |
134 |
else |
133 |
eerror "$x not a feature directory!" |
135 |
eerror "$x neither a feature jarfile nor a feature directory!" |
134 |
fi |
136 |
fi |
135 |
done |
137 |
done |
136 |
} |
138 |
} |
Lines 159-166
Link Here
|
159 |
for x in $* ; do |
161 |
for x in $* ; do |
160 |
if [ -d "$x" ] && ( [ -f "$x/plugin.xml" ] || [ -f "$x/fragment.xml" ] ) ; then |
162 |
if [ -d "$x" ] && ( [ -f "$x/plugin.xml" ] || [ -f "$x/fragment.xml" ] ) ; then |
161 |
cp -a $x ${D}/${eclipse_ext_basedir}/plugins |
163 |
cp -a $x ${D}/${eclipse_ext_basedir}/plugins |
|
|
164 |
elif [ -f "$x" ] && [ `echo $x | grep jar` ]; then |
165 |
cp -a $x ${D}/${eclipse_ext_basedir}/plugins |
162 |
else |
166 |
else |
163 |
eerror "$x not a plugin directory!" |
167 |
eerror "$x neither a plugin jarfile nor a plugin directory!" |
164 |
fi |
168 |
fi |
165 |
done |
169 |
done |
166 |
} |
170 |
} |