Hi RMs, Senaka has come up with a quick script to check the version conflicts between the LICENSE.txt and the jars being shipped with each product/service packs.
Please use the following steps and modify LICENSE.txt repeatedly until you get no difference between LICENSE.txt and the list of jars 1. Goto a dir where your product pack(.zip) exist 2. Run the following command. (Make necessary changes based on your product name) mkdir temp; cd temp; unzip ../*wso2bps-2.1.2.zip* > /dev/null; cat*wso2bps-2.1.2 */LICENSE.txt | grep '[.]jar' | mawk '{print $1}' | sort | uniq > l.out;find -name '*.jar' | mawk '{print "unzip -o "$0}' > s.out; sh s.out > /dev/null; rm s.out;find -name '*.jar' | mawk '{gsub("^.*/", "", $0); print $1}' | sort | uniq > f.out;diff l.out f.out cat *wso2bps-2.1.2*/LICENSE.txt | grep '[.]jar' | mawk '{print $1}' | sort | uniq > l.out;diff l.out f.out | grep -v '-ant.jar' 3. You will get a diff output which gives you a hint of jars to be changed. 4. Run 1,2,3 steps repeatedly until there's no diff output (generated from step 3). -- Thanks, Denis ---------------------------------------------------------- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis <http://goog_277208233/>** [AT] wso2.com* <http://wso2.com/>* * *site: **https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/> *blog: **http://ddweerasiri.blogspot.com* <http://ddweerasiri.blogspot.com/> * twitter: **http://twitter.com/ddweerasiri* <http://twitter.com/ddweerasiri>* linked-in: **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev