Friday, August 27, 2010

0.6.6 allows composing plans from multiple files

It's fairly common to have information needed for a plan that you would like to reuse across multiple plans. For instance, if you are diff'ng DB sources, it would be nice to isolate the DB connection information to one file that could be reused across different comparisons.

0.6.6 now allows this via the -planfiles argument. -planfiles can take as a value either a single file name or multiple comma separated file names. It then composites the files to create a single plan. Here's an example:

 joe$ java -jar diffkit-app.jar -planfiles test3.plan.xml,sources.xml  

file: test3.plan.xml
      <bean id="plan" class="org.diffkit.diff.conf.DKPassthroughPlan">  
           <property name="lhsSource" ref="lhs.source" />  
           <property name="rhsSource" ref="rhs.source" />  
           <property name="sink" ref="sink" />  
           <property name="tableComparison" ref="table.comparison" />  

file: sources.xml
      <bean id="rhs.source" class="org.diffkit.diff.sns.DKFileSource">  
           <constructor-arg index="0"  
                value="./test3.rhs.csv" />  
           <constructor-arg index="1" ref="lhs.table.model" />  
           <constructor-arg index="2">  
                <null />  
              <constructor-arg index="3">  
                <null />  
              <constructor-arg index="4" value="\," />  
              <constructor-arg index="5" value="true" />  
              <constructor-arg index="6" value="true" />  

Note that the bean id="rhs.source" is nowhere defined in the file test3.plan.xml. It's only defined in the file sources.xml


  1. شركة نقل عفش من الدمام الى الرياض شركة نقل عفش من الدمام الى الرياض
    ارخص شركة نقل عفش بمكة ارخص شركة نقل عفش بمكة
    شركة نقل عفش من جدة الى الاردن شركة نقل عفش من جدة الى الاردن
    شركة نقل عفش من الرياض الى مصر شركة نقل عفش من الرياض الى مصر
    شركة نقل عفش بالدمام شركة نقل عفش بالدمام
    شركة نقل عفش بالاحساء شركة نقل عفش بالاحساء
    نقل عفش داخل مكة نقل عفش داخل مكة

  2. Infycle Technologies, one of the topmost software training institutes in Chennai offers excellent AWS Training in Chennai | Infycle Technologies ​for freshers and students, and Tech Professionals of any field. Other demanding courses such as Digital Marketing, Java, Python, Hadoop, Selenium, Big Data, AWS, Android, and iOS Development will also be trained with complete hands-on training. After the completion of training, the students will be sent for placement interviews in the core MNC's. Dial 7504633633 to get more info and a free demo

  3. It's genuinely normal to have data required for an arrangement that you might want to reuse across different plans. For example, assuming Write My Assignments you are diff'ng DB sources, it would be great to segregate the DB association data to one document that could be reused across various correlations.

  4. buy views for youtube As an SEO geek, I've dabbled a lot with back-linking procedures for getting to the top of Google. But I've recently realized what I'd been doing for the past year can be magnified ten fold by using an easy linking strategy that includes YouTube Exposure. I've outlined specific strategies to use here, especially for the YouTube newbie, because we all aren't "born actors" with an automatic knack for YouTube. So here's your strategy for getting to the top of Google...

  5. Good evening guys! Our website features a section of reviews from students we have helped in the past. These are all genuine reviews that show that our essay writing service is recommended for students, by students.