1. Go to the p2-profilegen directory and watch for a temp dir that will be
created momentarilly. This dir will be deleted by the P2 profile gen tool
hence you must copy it immediately after it gets created. I used watch as
follows:

watch -n 1 cp -r target/tmp.* ..

2. Now cd to that temp dir which got created in step 1, and cd to the
plugins dir
3. Extract all jar files using this script

for f in *.jar
do
  mkdir $f-extract
  cp $f $f-extract
  cd $f-extract

  jar xvf $f
  cd ..
done


4. Now, grep for null in all MANIFEST.MF files
grep -r null | grep MANIFEST.MF

Step 4 will give you the bundles in error.

-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to